Project

General

Profile

Actions

Bug #6070

closed

DHCP release does not send proper DHCP Release packet to DHCP server

Added by Victor Coss over 8 years ago. Updated over 8 years ago.

Status:
Duplicate
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
04/04/2016
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:

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.

Actions

Also available in: Atom PDF