Re: adjusting mtu

Nix (nix-kernel@esperi.demon.co.uk)
06 Nov 1999 23:38:06 +0000


Jim Woodward <jim@jim.southcom.com.au> writes:

> > [root@amlai2 amlai]# /sbin/ifconfig eth0 mtu 1200
> > SIOCSIFMTU: Invalid argument

His network card isn't compiled into his kernel, looks like.

> > Anyone have any ideas as to why this might be happening? What kernel
> > options might prevent one from changing the mtu size? Any help with
> > this would be greatly appreciate. Thanks in advance.
>
> I think the reason is the smallest MTU on ethernet is 1500 bytes.
>
> Somebody correct me if im wrong :)

Well,

: nix@loki 129 % /sbin/ifconfig
: eth0 Link encap:Ethernet HWaddr 00:60:08:78:E7:72
: inet addr:192.168.1.16 Bcast:192.168.1.255 Mask:255.255.255.0
: UP BROADCAST RUNNING MULTICAST MTU:576 Metric:1
: RX packets:23035958 errors:0 dropped:0 overruns:0 frame:0
: TX packets:59369139 errors:0 dropped:0 overruns:0 carrier:0
: collisions:600382 txqueuelen:100
: Interrupt:9 Base address:0xd400

looks like you are wrong.

1536 is the default though.

-- 
`Certain processes are vital to the computer's operation and should not
be killed. For example, after I took the screenshot of myself being
attacked by csh, csh was shot by friendly fire from behind, possibly by
tcsh or xv, and my session was abruptly terminated.' --- dlchao@unm.edu

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/