You are not logged in.

#1 2004-08-10 16:21:23

traster
Member
Registered: 2004-08-05
Posts: 12

mtu 1492 for ever ?

hello
ifconfig eth0 mtu 1492 if i type this at root by start the system my inet work fine ! but where can i put the mtu 1942 for ever
here is some from my /etc/rc.conf
lo="lo 127.0.0.1"
eth0="eth0 192.168.123.30 netmask 255.255.255.0 broadcast 192.168.123.245"
INTERFACES=(lo eth0)
can some one type ist again with the mtu inside ?
i dont know if it is the right place to put it in
traster

Offline

#2 2004-08-11 14:33:18

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: mtu 1492 for ever ?

Max MTU of ethernet is 1500.

Offline

#3 2004-08-11 16:28:00

linfocito
Member
From: Gurupi - TO, Brasil
Registered: 2003-05-18
Posts: 82

Re: mtu 1492 for ever ?

in rc.conf:

eth0="eth0 192.168.123.30 netmask 255.255.255.0 broadcast 192.168.123.245 mtu 1492"


"...archoholism is a hard disease to cure..."
Archlinux Brasil

Offline

#4 2004-08-11 18:19:47

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: mtu 1492 for ever ?

Sorry, but I didn't notice the typo in '1942', so I thought you wanted to set it higher than 1500. If I understand correctly your ethernetcard works only with mtu=1492?

Did you try

eth0="eth0 192.168.123.30 netmask 255.255.255.0 broadcast 192.168.123.245 mtu 1492"

in rc.conf? As far as I know those options are passed on to ifconfig, and in general the order of options doesn't matter much. Adding it to the end seems safest though.

Offline

#5 2006-02-11 01:07:25

@leX
Member
From: Israel
Registered: 2003-11-06
Posts: 76

Re: mtu 1492 for ever ?

How can I set MTU value in rc.config, if i use DHCP?
eth0="dhcp"

Offline

#6 2006-02-11 02:03:58

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: mtu 1492 for ever ?

just chuck "ifconfig eth0 mtu 1492" in your /etc/rc.local.

iphitus

Offline

#7 2006-02-11 11:22:25

@leX
Member
From: Israel
Registered: 2003-11-06
Posts: 76

Re: mtu 1492 for ever ?

iphitus wrote:

just chuck "ifconfig eth0 mtu 1492" in your /etc/rc.local.

Thank you. It's so simple :-)

Offline

Board footer

Powered by FluxBB