View previous topic :: View next topic |
Author |
Message |
cdannemark n00b
Joined: 28 Jul 2003 Posts: 20 Location: Belgium
|
Posted: Sun Feb 20, 2005 2:51 pm Post subject: Dhcp and mtu |
|
|
Hello,
Does someone knows how to set the mtu of an interface configured via dhcp ?
I use a home broadband router that does not support well my linux box when the MTU is set to 1500. Is there a way to configure /etc/conf.d/net to have my eth0 having his ip via dhcp but setting the mtu to a lower value ? Or do I have to use a static ip (probably easyer but, well, I love to learn new things )
Regards. |
|
Back to top |
|
|
nielchiano Veteran
Joined: 11 Nov 2003 Posts: 1287 Location: 50N 3E
|
Posted: Sun Feb 20, 2005 3:55 pm Post subject: |
|
|
just add Code: | ifconfig eth0 mtu 1480 | or whatever to your /etc/conf.d/local.start
It will change the MTU to the specified value as the last step in bootup |
|
Back to top |
|
|
cdannemark n00b
Joined: 28 Jul 2003 Posts: 20 Location: Belgium
|
Posted: Sun Feb 20, 2005 4:59 pm Post subject: |
|
|
nielchiano wrote: | just add Code: | ifconfig eth0 mtu 1480 | or whatever to your /etc/conf.d/local.start
It will change the MTU to the specified value as the last step in bootup |
Thanks, I did not knew this file. |
|
Back to top |
|
|
|