rlm_redis_ippool_tool

Arran Cudbard-Bell a.cudbardb at freeradius.org
Wed Mar 9 00:50:55 CET 2016


> On 8 Mar 2016, at 17:06, O'Connell, Ryan <ryan.oconnell at 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

-Arran


Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20160308/0661c518/attachment.sig>


More information about the Freeradius-Users mailing list