Virtual Servers on 127.0.0.2

Matthew Schumacher matt.s at aptalaska.net
Mon Sep 23 21:32:17 CEST 2019


I must be missing something.  I'm building some monitoring to test 
various virtual servers with:

client 127.0.0.1 {
         secret          = testing
         virtual_server  = serverA
}

client 127.0.0.2 {
         secret          = testing
         virtual_server  = serverB
}

But when I use radtest, only serverA responds regardless of which 
address I use.  I can see in tcpdump the packet is sourced from the 
alternate IP.  In the logs, I see:

(9) Received Access-Request Id 182 from 127.0.0.1:33603 to 
127.0.0.2:1812 length 80

So the server knows the correct address, but then later down:

(9) Login OK: [testuser] (from client 127.0.0.1 port 1)
(9) Sent Access-Accept Id 182 from 127.0.0.2:1812 to 127.0.0.1:33603 
length 0

It seems radiusd aggregates these addresses.  Is this by design?

Thanks,
schu


More information about the Freeradius-Users mailing list