Issue with DHCP with Wireless card

Iliya Peregoudov iperegudov at cboss.ru
Fri Mar 14 14:47:02 CET 2014


On 13.03.2014 15:34, Arran Cudbard-Bell wrote:
>
> Out of interest have you tried setting:
>
> listen {
> 	type = dhcp
> 	broadcast = no
> }

I think server must use broadcast when sending DHCPOFFER to directly 
connected client.

What happens when you send DHCPOFFER to directly connected client using 
unicast? DHCPOFFER is sent to destination IP address your-ip-address. 
Unicast packet should be sent to specific destination MAC address. To 
determine this destination MAC address server host uses ARP table to 
resolve your-ip-address to MAC address. ARP entry for your-ip-address is 
missing and server host have to send ARP request for your-ip-address. 
But client host is not yet received DHCPOFFER and cannot respond to this 
ARP request. ARP request timeout leads to DHCPOFFER dropped by the 
server host with destination unreachable error.



More information about the Freeradius-Users mailing list