Bug #6070
closedDHCP release does not send proper DHCP Release packet to DHCP server
0%
Description
This is sometimes required by some ISP's and the freebsd dhclient doesn't do it, however I found a quick fix.
A copy of ISC's dhclient is sitting on pfSense 2.3 so we will utilize it for this function.
Edit the following file: /etc/inc/interfaces.inc
around line 1317, right after the case "dhcp": add this line,
mwexec("/usr/local/sbin/dhclient -v -r -lf /var/db/dhclient.leases.{$realif} -i {$realif}");
Picture: http://pik.gtaxl.net/04_04_16_15_05_51.png
When I hit release it sends the proper packet, when I hit renew freebsd's dhclient works as expected. I tested this on multiple interfaces utilizing DHCP.
I ask that you make this simple modification so whenever I update I don't have to keep going back and putting this back in, also so it can benefit others.
Updated by Chris Buechler over 8 years ago
- Status changed from New to Duplicate
- Target version deleted (
2.3)
duplicate of #4209