DHCP routing bug (FreeRadius DHCP reply to Default Gateway)

Alan DeKok aland at deployingradius.com
Tue Sep 29 15:15:59 CEST 2009


Pavel Malev wrote:
> After authorization Freeradius send reply to Default Gateway(!), not to clinet:
> [tcpdump]
> 02:28:25.766341 00:30:4f:21:b4:73 > 00:30:48:35:31:32, ethertype IPv4
> (0x0800), length 342: 192.168.2.252.67 > 255.255.255.255.68:
> BOOTP/DHCP, Reply, length: 300

  Hmm... I thought that FreeBSD supported the SO_BROADCAST socket
option, where packets sent to 255.255.255.255 were sent as link layer
broadcasts, too.

  You might also try 2.1.7.  It does some DHCP operations a little
better than 2.1.7.

  Or, maybe the code has to set the broadcast flag before binding to an
IP address...

  Alan DeKok.



More information about the Freeradius-Users mailing list