How do I set 9014 jumbo frame in Lubuntu?


Recommended Posts

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

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

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

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

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

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

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

post-61951-0-14481700-1426021625.jpg

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.