On 8 Mar 2016, at 18:50, Arran Cudbard-Bell <a.cudbardb@freeradius.org> wrote:
On 8 Mar 2016, at 17:06, O'Connell, Ryan <ryan.oconnell@viasat.com> wrote:
Looking for an example/guidance of using the rim_redis_ippool_tool to add a subnet to a fresh installation (Redis running localhost)? I have the (3.1.0) server up and connected to Redis and can submit a simulated request but there are no IP’s to assign. I have tried following the help (-h) and man pages for the tool without success. Debug output below.
-f is for specifying server connections options, not lease information.
You should use -a to add additional IP addresses to the pool.
rlm_redis_ippool_tool -x -a 192.0.2.0/24 127.0.0.1:6379
Note: With CIDR format the broadcast address will not be added.
You can mask of starting addresses for routers like this
rlm_redis_ippool_tool -x -a 192.0.2.5/24 127.0.0.1:6379
192.168.2.5-192.168.2.254
And manually mask off end addresses with a range e.g.
rlm_redis_ippool_tool -x -a 192.168.2.5-192.168.2.200 127.0.0.1:6379
Also need to add the pol name as the last argument of all those commands Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2