On Mon, 2003-03-03 at 22:18, Peter Hardy wrote:
> 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
> 

Tried that, but it didn't seem to work. I'll test it again. The man page
didn't mention an mtu option though.

> 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

Yay, that sounds good. I swear I did RTFM, but didn't see the up option 
as being relevant at the time. =)

> 
> 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.
> :-)
> 

Will do.

Thanks, 
Felix


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

Reply via email to