Skip to content

{ Tag Archives } dhcp

Setting interface MTU using DHCP

DHCP can be used to set the interface MTU on end hosts using option 26. For example (with dnsmasq), to set the MTU of clients on the lan interface to 1400 bytes, use: dhcp-option=lan,26,1400 I’m using this to work around MTU issues caused by a tunnel. It seems to work well so far… no need [...]

Also tagged , , ,

Linux home networking part 1: Static IP fall-back

NetworkManager has made it’s way into the top Linux distributions as the standard way to manage network interfaces on desktop/notebook computers. I like NetworkManager. It works well for both wired and wireless interfaces with DHCP, and using wireless security and authentication is a breeze. With more recent versions you can also configure static IP addresses, [...]

Also tagged , , , , ,

Requesting a DHCP hostname with Debian

The DHCP server at my workplace allows clients to request a host name, and it then uses dynamic DNS updates to update the local DNS zone. To make this work on Debian, I added the hostname option to the LAN iface stanza in my /etc/network/interfaces file: iface eth0 inet dhcp hostname capybara Strangely, this option [...]

Also tagged , , , ,