From: G.W. H. <ge...@ju...> - 2009-01-28 18:40:34
|
Hi there, On Wed, 28 Jan 2009 high in the mountains wrote: > i need to change the mtu for the red interface to 1460. the > interface just uses a static ip. i have looked at the faq's and > other posts and i see stuff for vpn and ppp and have changed both of > those settings to 1460. when i display the interfaces the mtu is > still at 1500. Look at the man page for ifconfig: laptop:~# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:11:5B:94:58:7B inet addr:192.168.44.245 Bcast:192.168.44.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4331803 errors:0 dropped:0 overruns:0 frame:0 TX packets:1775556 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:573946457 (547.3 MiB) TX bytes:131699125 (125.5 MiB) Interrupt:201 Base address:0xd800 laptop:~# ifconfig eth0 mtu 1000 laptop:~# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:11:5B:94:58:7B inet addr:192.168.44.245 Bcast:192.168.44.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1000 Metric:1 RX packets:4331803 errors:0 dropped:0 overruns:0 frame:0 TX packets:1775557 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:573946457 (547.3 MiB) TX bytes:131699215 (125.5 MiB) Interrupt:201 Base address:0xd800 Be aware that changing the MTU can break things (but not too badly:). -- 73, Ged. |