On 03 Mar 2003 21:27:30 +1100, Felix Sheldon wrote:
> Is it possible to configure the MTU for an ethernet interface in
> /etc/network/interfaces? Or is there some other way?

You want the mtu option in the interfaces file, like so:
iface eth0 inet static
        address 192.168.17.3
        netmask 255.255.255.0
        mtu 1490

I'm not sure if you can use mtu with dynamically configured interfaces. 
If not, then use the up option to run ifconfig when the interface is
configured, like:
iface eth0 inet dhcp
        up /sbin/ifconfig eth0 mtu 1490

or something.  There's lots of other funky stuff you can do in the
interfaces file.  I highly recommend browsing the man page some time.
:-)

-- 
Pete
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to