Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems setting right MTU in /etc/conf.d/net
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
merlijn
Apprentice
Apprentice


Joined: 10 Apr 2007
Posts: 161
Location: Den Haag, Holland

PostPosted: Wed Jul 18, 2007 1:43 pm    Post subject: Problems setting right MTU in /etc/conf.d/net Reply with quote

For some reason it seems the mtu_eth0 setting has no effect in my case, I want to have it at 9000 for my home gigabit lan. Everytime I reboot it prompts the message "Given MTU 64 is too low, setting MTU to 576". Hrm, didnt i say 9000?

/etc/conf.d/net
Code:

modules=( "ifconfig" )
config_eth0=( "dhcp" )
mtu_eth0="9000"


DHCP comes from my rather old adsl router, which only has a 100 mbit connection to the gigabit switch' uplink.

Any input would be much appreciated.
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Wed Jul 18, 2007 3:01 pm    Post subject: Reply with quote

It could be that your NIC does not allow 9000 (jumbo frames) or your router/switch/whatever. What NIC are you using?

// SteveB
Back to top
View user's profile Send private message
merlijn
Apprentice
Apprentice


Joined: 10 Apr 2007
Posts: 161
Location: Den Haag, Holland

PostPosted: Wed Jul 18, 2007 3:24 pm    Post subject: Reply with quote

Thank you for your reply.

The card is an onboard controller based on Realtek RTL8111B. I always thought 9000 as mtu was the standard for gigabit connectors (or the standard maximum to put it better) isn't jumbo frames mtu 15000 for gigabit?

I am not very sure about my network equipment. The switch is fully gigabit capable and should handle every mtu, but the router is old and shitty, and is based on only 10/100mbit ethernet, how would this affect the mtu settings?


Cheers,
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Wed Jul 18, 2007 10:51 pm    Post subject: Reply with quote

merlijn wrote:
The card is an onboard controller based on Realtek RTL8111B. I always thought 9000 as mtu was the standard for gigabit connectors (or the standard maximum to put it better) isn't jumbo frames mtu 15000 for gigabit?
Okay. You have a problem. The RTL8111B does indeed support jumbo frames but the driver included in the stock Kernel has a problem with it (not only with jumbo frames. Even normal 1500 MTU can be a problem with the driver in the stock Kernel). You need to go to Realtek web page and download the driver from there and patch your current Kernel with it. This will allow you to set jumbo frames.

merlijn wrote:
I am not very sure about my network equipment. The switch is fully gigabit capable and should handle every mtu, but the router is old and shitty, and is based on only 10/100mbit ethernet, how would this affect the mtu settings?
This can affect MTU settings. You need to check if your router supports jumbo frames. If it does not support jumbo frames then check if it supports baby frames (this is around 6000 MTU).

Check here for the working driver.

// SteveB
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