This is a discussion on MTU and ifconfig within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hello everyone, I tried to change the MTU size of my eht0 to 1480 using ifconfig: "ifconfig eht0 mut ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello everyone, I tried to change the MTU size of my eht0 to 1480 using ifconfig: "ifconfig eht0 mut 1480". However every reboot I perform the old 1500 number comes back. How can I save the changes made using ifconfig? My second question is, after typing "ifconfig eht0 down" then "ifconfig eth0 up", I cannot even ping any address. Do I need to restart any other services? Thank you, Roberto. |
| ||||
| Hi, "Roberto Gallo" <robertogallofilho@hotmail.com> writes: > I tried to change the MTU size of my eht0 to 1480 using ifconfig: > "ifconfig eht0 mut 1480". However every reboot I perform the old 1500 number ^^mtu? > comes back. How can I save the changes made using ifconfig? No. You put the ifconfig in the boot process. As this depends on your distribution you'll have to tell us which if you need help. In SuSE up to 7.X you could simply put the additional "mtu 1480" in the interface config section using yast or editing /etc/rc.config. Later SuSE replaced the rc.config by a set of files probably in /etc/... too. /etc/init.d/boot.local might be another choice to simply put the explicit ifconfig. > My second question is, after typing "ifconfig eht0 down" then "ifconfig > eth0 up", I cannot even ping any address. Do I need to restart any > other services? Well ifconfig eth0 down will also take down all routing entries for eth0. On "up" ifconfig will set only the route for the specified subnet of eth0 (netmask in ifconfig). You should reach whatever is on the subnet eth0 is handling. If you want to ping anything "outside" you'll have to redefine the default route -- see "man route". K.-H. |