Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dhcp and mtu
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
cdannemark
n00b
n00b


Joined: 28 Jul 2003
Posts: 20
Location: Belgium

PostPosted: Sun Feb 20, 2005 2:51 pm    Post subject: Dhcp and mtu Reply with quote

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 :D )

Regards.
Back to top
View user's profile Send private message
nielchiano
Veteran
Veteran


Joined: 11 Nov 2003
Posts: 1287
Location: 50N 3E

PostPosted: Sun Feb 20, 2005 3:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
cdannemark
n00b
n00b


Joined: 28 Jul 2003
Posts: 20
Location: Belgium

PostPosted: Sun Feb 20, 2005 4:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum