Setting the MTU for an automatically configured "eth" network interface?
Jonathan Hirschman
jonathan at hirschman.net
Tue Jul 3 17:08:53 UTC 2007
Gilles Gravier wrote:
> I would like to make this permanent... i.e. in some configuration file
> so that every time I get a network connection on the eth0 interface, it
> is with MTU set to 1492...
>
You can add directives such as mtu settings to the appropriate "stanza"
in /etc/network/interfaces (see man interfaces). My guess is that you
have this:
auto eth0
iface eth0 inet dhcp
Change it to:
auto eth0
iface eth0 inet dhcp
mtu 1492
Then reboot. You should be done.
jh
More information about the ubuntu-users
mailing list