Freeradius DHCP IP pool and not correct port for DHCP reply

Thomas Bru tbru at afone.com
Tue Apr 1 18:20:02 CEST 2014


Hello everybody

I change the version of Freeradius (2.2.4 -> 3.0.4) beacause I have a problem when I used the DHCP relay feature.
When I used the freeradius version 2.2.4, my DHCP relay send DHCP-Request from x.x.x.x:20675o y.y.y.y:67 but the reply packet is y.y.y.y:67 to x.x.x.x:67

On the Bug fixes list , I see the problem was solved using Freeradius 3.0.4 (http://freeradius.org/version3.html, Use correct port when DHCP relaying, )
So I reinstall the Freeradius 3.0.4 on my server but the problem is still present and my server dropped the packets.


17:42:23.875867 IP 10.239.0.2.55175 > 10.225.2.8.67: BOOTP/DHCP, Request from c9:31:cf:d8:af:ec, length 308
17:42:23.932246 IP 10.225.2.8.67 > 10.239.0.2.67: BOOTP/DHCP, Reply, length 300

AS you can see, the request packet from 10.239.0.2 with source port 55175 but will go back to 10.239.0.2 BUT with 67 port.

Someone can help me to solve this problem

Thanks in advance

Thomas




More information about the Freeradius-Users mailing list