IP-Assignment with sqlippool based on nas-ip-address

tnt at kalik.net tnt at kalik.net
Tue Jan 27 15:53:02 CET 2009


>We have different Network Access Servers, which are located in different locations. The users, which login to this NAS, will be assigned an ip-address by the sqlippool-module.
>
>I read a lot of the documentation and tried a lot of different things, but i don't know, how to configure the sqlippool-module to assign an ipaddress based on the nas, on the which the users logs in. 
>

You don't. You use sql groups.

Create two groups, group1 and group2; add to radgroupcheck:
Nas-IP-Address == nas1 address and Pool-Name := pool1 for group1 and
Nas-IP-Address == nas2 address and Pool-Name := pool2 for group2. Add
the user to both groups.

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list