LinHES Forums http://forums.linhes.org/ |
|
making mtu size adjustments permanent http://forums.linhes.org/viewtopic.php?f=13&t=12943 |
Page 1 of 1 |
Author: | graysky [ Mon Dec 11, 2006 5:46 pm ] |
Post subject: | making mtu size adjustments permanent |
What's the trick to making mtu size changes permanent? I have tried adding a line to my /etc/network/interfaces: Code: iface eth0 inet dhcp but that didn't do it.
mtu 4000 My understanding is that that should work if I use static configs... I think the dhcp is screwing it up. I googled around but didn't find anything that worked. Thanks in advance, all! |
Author: | tjc [ Mon Dec 11, 2006 6:56 pm ] |
Post subject: | |
See the chunk from my post install fixups in your original thread on this... |
Author: | graysky [ Mon Dec 11, 2006 7:03 pm ] |
Post subject: | |
@tjc: I tried to make sense of that and then started googling. I found this: http://glasnost.beeznest.org/articles/290 Which looks pretty simplistic. Code: iface eth0 inet dhcp
hostname "mymachine" name LAN Interface pre-up /sbin/ifconfig $IFACE mtu 4000 I'm assuming "mymachine" in my hostname but when I follow it's suggestion and add those lines, I don't get the result at all. |
Author: | tjc [ Mon Dec 11, 2006 8:27 pm ] |
Post subject: | |
Reading the man pages for the ifup command and the interfaces file is quite helpful. Code: man ifup man 5 interfaces Try editing your /etc/network/interfaces file and adding an MTU line to the iface eth0 options. Something like this should do it... Code: iface eth0 inet static
address 192.168.1.103 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 mtu 9000 If the "mtu" option doesn't fly with dhcp, I'd probably try to do the ifconfig using up rather than pre-up. |
Author: | graysky [ Tue Dec 12, 2006 1:33 pm ] |
Post subject: | |
Yeah, I think using it w/ dhcp isn't gonna work. I took your suggestion and went static: Code: iface eth0 inet static
address 192.168.0.100 network 192.168.0.0 netmask 255.255.255.0 broadcast 192.168.0.255 gateway 192.168.0.1 mtu 4000 |
Author: | tjc [ Tue Dec 12, 2006 7:04 pm ] |
Post subject: | |
I believe that everything after the iface line needs to be indented with a tab (0x09). |
Author: | graysky [ Wed Dec 13, 2006 2:15 pm ] |
Post subject: | |
I always use tabs in config files, thanks for the suggestion. It's working in static mode and I really don't care to figure out dhcp when static works just fine... it's not like the internal IP is going to change anyway. ...can you tell me why transfer speeds from my windows box to my mythtv box are about 1/2 the speed of transfers in the opposite order ![]() |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |