server selection

Norbert Wegener norbert.wegener at siemens.com
Thu Jan 8 16:23:45 CET 2009


freeradius 2.1.1, configured to use multiple virtual servers, seems to 
select the server to use  depending on the host sending the request, not 
depending on the   NAS-IP-Address in the request.

When using radtest I get:

norbert at suse:~$ radtest 000000000002 000000000002 psucoll 0 secret dummy 
1.1.1.1
Sending Access-Request of id 227 to 123.25.153.210 port 1812
    User-Name = "000000000002"
    User-Password = "000000000002"
    NAS-IP-Address = 1.1.1.1
    NAS-Port = 0
    Framed-Protocol = PPP
rad_recv: Access-Accept packet from host 123.25.153.210 port 1812, 
id=227, length=20

while radiusd -X shows
.....
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 149.246.185.169 port 54115, 
id=244, length=70
    User-Name = "000000000001"
    User-Password = "000000000001"
    NAS-IP-Address = 1.1.1.1
    NAS-Port = 0
    Framed-Protocol = PPP
server enterasys {
....

1.1.1.1 is  a nas belonging to the server cisco,
149.246.185.169 belongs to the server enterasys.


I would have expected, the server is choosen because of the NAS-IP-Address.

Thanks
Norbert Wegener




More information about the Freeradius-Users mailing list