Re: Re: DHCP Broadcasts not seen by radiusd
On Jun 17, 2025, at 7:40 AM, Hermann.Lauer@uni-heidelberg.de wrote:
freeradius is not seeing DHCP broadcast discover messages on the same subnet. ... If you set 'broadcast = yes' in the configuration, it will accept broadcast packets.
Which is set, but seems not to show up in the -X debug output.
That flag sets a socket option which tells the kernel to forward broadcast packets to FreeRADIUS.
Found my error: ipv4addr = 0.0.0.0 or ipaddr = 0.0.0.0 needs to be set to recieve non subnet broadcasts. Thanks and greetings Hermann PS: "ss -f inet -a -e" helped to see this -- Administration/Zentrale Dienste, Interdiziplinaeres Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg IWR; INF 205; 69120 Heidelberg; Tel: (06221)54-14405 Fax: -14427 Email: Hermann.Lauer@iwr.uni-heidelberg.de
On Jun 18, 2025, at 9:16 AM, Hermann.Lauer@uni-heidelberg.de wrote:
If you set 'broadcast = yes' in the configuration, it will accept broadcast packets.
Which is set, but seems not to show up in the -X debug output.
Yeah, that's one of the few things which isn't. We'll take a look at fishing that.
That flag sets a socket option which tells the kernel to forward broadcast packets to FreeRADIUS.
Found my error: ipv4addr = 0.0.0.0 or ipaddr = 0.0.0.0 needs to be set to recieve non subnet broadcasts.
Ah yes, that makes sense. If the socket is only listening on one subject, it won't receive broadcasts to 255.255.255.255 Alan DeKok.
participants (2)
-
Alan DeKok -
Hermann.Lauer@uni-heidelberg.de