You are not logged in.
Hi all,
I am new to archlinux, and so far I love it! I could do with a bit of assistance though.
How does one go about enabling jumbo frames? I am on a gigabit network and would like to tweak jumbo frames to keep everything in sync on my network. I know the e1000 driver supports it as does my card, I just cant figure out how to write it up so it's activated upon boot.
Does it go in rc.conf, or do I need netcfg or something?
The interface is basically a regular DHCP connection on eth1.
Thanks!
Rude
Last edited by Rude (2008-12-27 11:08:25)
Offline
Try: ifconfig eth0 mtu 16000
Offline
Thanks for the reply.
That would change it, but just for the current session.
It needs to go in a config file, like network profile file or something to make it permanent.
Typically on other distros this would go in /etc/network or /etc/sysconfig/network-script/ifcfg-eth*
I cant find it on archlinux...what do you guys use for detailed network config? I know there's a basic piece in rc.conf but does this support an MTU parameter?
Thanks!
Rude
Offline
you just add it to the line in your rc.conf. just put 'mtu 9000' at the end of the 'eth0 blah blah blah' line.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
What if it's configured for DHCP?
Currently the rc.conf network section looks like this:
eth1="dhcp"
INTERFACES=(eth1)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
Mind you, by default I got no profiles in etc/network.d because of the "dhcp" setting. I think this is also the reason why my network interfaces are greyed out when I launch Gnome network settings (system - administration - network - it shows "this interface is not configured").
When I add mtu 9000 on the eth1=dhcp line, network doesn't start properly as I believe it starts looking for a device named mtu. I have tested several ways of writing it up but none of them worked. Can you tell me what you'd put in the config file to make it run, or how I can create a profile for the network card under network.d?
Thanks for all the help!
Rude
Offline
Solved!
I noticed some parameters for wireless networking include a IWCONFIG="<arguments>" line.
I figured that would probably work for IFCONFIG as well. And it did!
So, here's what you need to do:
In rc.conf after all the other network stuff, add a line that reads this:
IFCONFIG="mtu 9000"
I suppose you can pass any parameters here that IFCONFIG will normally take.
Thanks for all the help guys!
Rude
Offline
Solved!
I noticed some parameters for wireless networking include a IWCONFIG="<arguments>" line.
I figured that would probably work for IFCONFIG as well. And it did!So, here's what you need to do:
In rc.conf after all the other network stuff, add a line that reads this:
IFCONFIG="mtu 9000"
I suppose you can pass any parameters here that IFCONFIG will normally take.
Thanks for all the help guys!Rude
Can you post your /etc/rc.conf in full? I am attempting to follow your instructions but my mtu isn't changing. Here is mine:
eth1="dhcp"
INTERFACES=(eth1)
IFCONFIG="mtu 4000"
ROUTES=(gateway)
Last edited by graysky (2009-04-24 19:05:59)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Hi,
Actually, later it didn't work for me anymore either. I am not sure why, but I've been having some problems passing network config for bridging and NIC bonding when using DHCP as well, that seem to relate to this bug:
http://bugs.archlinux.org/task/11781
Not sure if the problem lies in the same area with the network script apparently containing a bug.
Anyway, if you just want to get it to work and don't care about using a more crude solution, adding a line to /etc/rc.local will do the trick:
ifconfig eth1 mtu 4000
Hope it helps!
Rude
Offline
Hi,
Actually, later it didn't work for me anymore either. I am not sure why, but I've been having some problems passing network config for bridging and NIC bonding when using DHCP as well, that seem to relate to this bug:
http://bugs.archlinux.org/task/11781Not sure if the problem lies in the same area with the network script apparently containing a bug.
Anyway, if you just want to get it to work and don't care about using a more crude solution, adding a line to /etc/rc.local will do the trick:
ifconfig eth1 mtu 4000
Hope it helps!
Rude
i put just that in my rc.local and it still shows mtu 1500 in ifconfig. I also tried to enter a few variations of this on the cml but none seem to take.
bash-3.2# ifconfig eht0 MTU 4000
MTU: Unknown host
ifconfig: `--help' gives usage information.
bash-3.2# ifconfig eht0 "MTU 4000"
MTU 4000: Unknown host
ifconfig: `--help' gives usage information.
bash-3.2# ifconfig eht0 MTU:4000
MTU:4000: Unknown host
ifconfig: `--help' gives usage information.
bash-3.2#
Arch64, AMD64, LXDE
Offline
bash-3.2# ifconfig eht0 MTU 4000 MTU: Unknown host ifconfig: `--help' gives usage information. bash-3.2# ifconfig eht0 "MTU 4000" MTU 4000: Unknown host ifconfig: `--help' gives usage information. bash-3.2# ifconfig eht0 MTU:4000 MTU:4000: Unknown host ifconfig: `--help' gives usage information. bash-3.2#
It's eth0, not eht0
Offline
You are using capital MTU - try lower case.
Offline
Hi,
Actually, later it didn't work for me anymore either. I am not sure why, but I've been having some problems passing network config for bridging and NIC bonding when using DHCP as well, that seem to relate to this bug:
http://bugs.archlinux.org/task/11781Not sure if the problem lies in the same area with the network script apparently containing a bug.
Anyway, if you just want to get it to work and don't care about using a more crude solution, adding a line to /etc/rc.local will do the trick:
ifconfig eth1 mtu 4000
Hope it helps!
Rude
Yeah, that's what I've been doing. See this thread for details.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline