DHCP: ARP issue, FR2.x vs FR 3.x

Alan DeKok aland at deployingradius.com
Fri Jan 13 16:17:44 CET 2012


Fajar A. Nugraha wrote:
> First, while migrating my old test config, I forgot to uncomment
> mac2ip, which means there are no DHCP-Your-IP-Address attribute. When
> it receive dhcp discover packet, the server died with
..
> I don't think it should do that.

  Nope.  I've pushed a fix.

> Second, there's still no packet sent to the client. And there's
> nothing in the debug log about updating
> ARP cache. FR debug log (starting from dhcp section):

  It doesn't print a debug message, but you can add one.  See
src/main/dhcpd.c, look for "arp".

> If I manually force add arp entry using "arp -i dummy1 -s
> 172.16.101.101 08:00:27:a2:13:b9", then it works. Looks like there's
> still problem in arp cache update code.

  I don't have time to test this myself.

  Alan DeKok.



More information about the Freeradius-Devel mailing list