Bug ID 575066: Management DHCP settings do not take effect

Last Modified: Sep 13, 2023

Affected Product(s):
BIG-IP All(all modules)

Known Affected Versions:
12.1.0, 12.1.1

Fixed In:
13.0.0, 12.1.2

Opened: Feb 20, 2016

Severity: 3-Major

Symptoms

Modifications to /sys management-dhcp do not take effect.

Impact

DHCP for management interface does not function correctly.

Conditions

Custom management-dhcp settings configured.

Workaround

Perform the following procedure: 1. Remount /usr to be read-write. # mount -o rw,remount /usr 2. Edit the following file, which is a symlink into /usr. # vi /defaults/config/templates/dhcp.tmpl 3. Change this line around line 7 to add escaped quotes print "interface \"$mgmt_interface\" {\n"; 4. Remount /usr back to read-only. # mount -o ro,remount /usr 5. Make a change to the list of DHCP requested options. # tmsh modify sys management-dhcp sys-mgmt-dhcp-config request-options delete { ntp-servers } 6. Verify that "eth0" is quoted in this file: # grep interface /etc/dhclient.conf interface "eth0" { 7. Create a symbolic link to dhclient.conf # cd /etc/dhcp # ln -s ../dhclient.conf . 8. Restart DHCP on the management interface. # tmsh modify sys global-settings mgmt-dhcp disabled # tmsh modify sys global-settings mgmt-dhcp enabled No system reboot should be necessary.

Fix Information

Management DHCP settings now take effect as expected when custom management-dhcp settings are configured.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips