On 8 Mar 2016, at 19:07, O'Connell, Ryan <ryan.oconnell@viasat.com> wrote:
Thanks guys. I was able to get it work like this.
[root@dhcp02 ~]# rlm_redis_ippool_tool -x -a 192.0.1.0/29 127.0.0.1:6379 local rlm_redis_ippool_tool [1] - Opening additional connection (0), 1 of 10 pending slots used Adding 192.0.1.0 to pool "{local}:pool" (13) Adding 192.0.1.1 to pool "{local}:pool" (13) Adding 192.0.1.2 to pool "{local}:pool" (13) Adding 192.0.1.3 to pool "{local}:pool" (13) Adding 192.0.1.4 to pool "{local}:pool" (13) Adding 192.0.1.5 to pool "{local}:pool" (13) Adding 192.0.1.6 to pool "{local}:pool" (13) Added 7 address(es)/prefix(es)
I think I got confused because “man rlm_redis_ippool_tool” says that “-a” is for “print all active entries”.
The tool itself isn't yet complete, and the man pages were copied from ippool_tool. I'll remove them until I get time to complete them. -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2