SuSE 9.0 will not honor MTU setting set in YaST2
Hello, I want to set it up so that when my computer comes up, I will have the MTU on eth0 set to 1492. I went in and edited this in YaST2 and let SuSEconfig run but everytime that I reboot, the MTU is 1500 instead of the expected 1492. What else do I need to do in order for SuSE to bring up eth0 with a MTU of 1492 instead of 1500? Thanks, Marshall
On Sun, 21 Mar 2004 05:21, Marshall Heartley wrote:
I want to set it up so that when my computer comes up, I will have the MTU on eth0 set to 1492. I went in and edited this in YaST2 and let SuSEconfig run but everytime that I reboot, the MTU is 1500 instead of the expected 1492. What else do I need to do in order for SuSE to bring up eth0 with a MTU of 1492 instead of 1500?
Have a look at /etc/sysconfig/network/ifcfg-eth0 -- Regards, Graham Smith ---------------------------------------------------------
<snip>
Have a look at /etc/sysconfig/network/ifcfg-eth0
I looked there after I posted the message and it has the MTU set to 1492 but when the network comes up, the MTU is 1500 instead of 1492. Any suggestions on how to make SuSE honor that value? Thanks for the reply! Marshall
On Mon, 22 Mar 2004 10:40, Marshall Heartley wrote:
<snip>
Have a look at /etc/sysconfig/network/ifcfg-eth0
I looked there after I posted the message and it has the MTU set to 1492 but when the network comes up, the MTU is 1500 instead of 1492.
Any suggestions on how to make SuSE honor that value?
Thanks for the reply!
Marshall
I had problems setting ppp0 mtu to a lower value than 1492 a while back. I could set it manually to 1420 ( a value where packets made it thru to the ISP). The problem I had was solved by adding in the mtu and mru values in the above file. Details can be found in /etc/sysconfig/network/ifcfg.template I presume you can manually set the value using ifconfig eth0 mtu 1492 The following files do have MTU settings but from my experience changing the settings here did not make any difference. /etc/ppp/options /etc/ppp/peers/pppoe /etc/ppp/peers/ppp-rp That is about all I can offer. -- Regards, Graham Smith ---------------------------------------------------------
<snip>
I had problems setting ppp0 mtu to a lower value than 1492 a while back. I could set it manually to 1420 ( a value where packets made it thru to the ISP). The problem I had was solved by adding in the mtu and mru values in the above file.
Well I tried that but it seems that when the interface is brought up, it still uses 1500 for some reason, :(
Details can be found in /etc/sysconfig/network/ifcfg.template
I presume you can manually set the value using ifconfig eth0 mtu 1492
Yes and this works but I really hate having to do this everytime the machine is brought up.
The following files do have MTU settings but from my experience changing the settings here did not make any difference. /etc/ppp/options /etc/ppp/peers/pppoe /etc/ppp/peers/ppp-rp
Those are used for the PPP protocol I believe.
That is about all I can offer.
I appreciate your time and help in this matter! Even though it is not solved. Thanks again! Marshall
On Mon, 22 Mar 2004 22:59, Marshall Heartley wrote:
<snip> Well I tried that but it seems that when the interface is brought up, it still uses 1500 for some reason, :(
I presume you can manually set the value using ifconfig eth0 mtu 1492
Yes and this works but I really hate having to do this everytime the machine is brought up.
Those are used for the PPP protocol I believe. Sorry, my original problems was with ppp and reading some of my old notes I got confused and added these refs in.
Just had a quick look at /etc/init.d/network which is run on boot to set up the network devices. The program which sets up the individual devices is /sbin/ifup using the config files in /etc/sysconfig/network . The man page on ifup may give you some info. Now this is where it gets a bit hazy, in /etc/sysconfig/network/scripts there are scripts for dsl, ppp, wireless, etc. I am not sure how these scripts come into play. You could try adding a couple of debug messages in these files and see what happens. Also you can turn on the debug flag in the /etc/sysconfig/network/config file (line 45). Good luck. -- Regards, Graham Smith ---------------------------------------------------------
participants (2)
-
Graham Smith
-
Marshall Heartley