Friday, December 19, 2008

Override (Supersede) DHCP Network Interface Configuration

Suppose you find out that the MTU reported by the DHCP server, to the DHCP client on your box, is, for some reason, incorrect, and you end up with a mis-configured network interface.

There's a workaround until the problem is fixed on the server side - you can override that (and any other) value with a supersede statement in /etc/dhcp3/dhclient.conf, like this:

interface "eth1" {
supersede interface-mtu 1500;

(reference: the dhclient.conf man page)

No comments:

Post a Comment