Top Qat Posted March 10, 2015 Share Posted March 10, 2015 I did some Google searches and found some info relating to /etc/network/interfaces. # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback Problem is it looks like the MTU value is only accepted for static type entries, not DHCP. Link to comment Share on other sites More sharing options...
fusi0n Posted March 10, 2015 Share Posted March 10, 2015 Yeah, looks like you are going to have to use static.. I could be wrong.. Is there a reason you don't want to use static? ifconfig eth0 *IP* mtu 9014 up Link to comment Share on other sites More sharing options...
Top Qat Posted March 10, 2015 Author Share Posted March 10, 2015 I normally just let DHCP do it's job. No sodding around with reservations. What about this command? sudo ifconfig eth0 mtu 9000 This works until reboot, any way I can have this in a startup script? Thanks Link to comment Share on other sites More sharing options...
fusi0n Posted March 10, 2015 Share Posted March 10, 2015 I normally just let DHCP do it's job. No sodding around with reservations. What about this command? sudo ifconfig eth0 mtu 9000 This works until reboot, any way I can have this in a startup script? Thanks sudo crontab -e add this @reboot /home/YOUR USER NAME/ifconfig eth0 mtu 9000 Try that.. Link to comment Share on other sites More sharing options...
Haggis Veteran Posted March 10, 2015 Veteran Share Posted March 10, 2015 You can try adding the following to dhclient.conf (before the "request" line) default interface-mtu 1400; supercede interface-mtu 1400; if you have more than one interface in that machine, the above may need to be enclosed in a "interface {}" section interface "eth0" { default interface-mtu 1400; supercede interface-mtu 1400; } just set the MTU to whatever you need Link to comment Share on other sites More sharing options...
Top Qat Posted March 10, 2015 Author Share Posted March 10, 2015 ok i'm a bit confused now. If the jumbo frame size is 9014, what is the MTU? Is it 8986 (i.e. 9014 - 28)? EDIT: and why can't I do DF (don't fragment) when using the PING in Lubuntu? Link to comment Share on other sites More sharing options...
Haggis Veteran Posted March 10, 2015 Veteran Share Posted March 10, 2015 9000 Link to comment Share on other sites More sharing options...
Top Qat Posted March 10, 2015 Author Share Posted March 10, 2015 Thanks for all the help. In the end I found an MTU size field in Preferences>Network Connections. Set this to 9000 and all looks good. Also I found '-M do' is the PING option to set DF Link to comment Share on other sites More sharing options...
Haggis Veteran Posted March 10, 2015 Veteran Share Posted March 10, 2015 cool Link to comment Share on other sites More sharing options...
Recommended Posts