Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to increase minimum packet size on ubuntu server?

Status
Not open for further replies.

shayv

MIS
Jun 11, 2003
14
IL
All

Lately I started working with my ubuntu server (7.04) on VLAN tagging - 802.1q.
I managed to define the interface to work with VLANs, but find out that the minimum packet size stayed the same-60, instead of 64 which is the extra 4 Bytes of the 802.1q & 802.1p header.
It appears that there are some network devices, that cut off the VLAN header, and you stay with illegal packet size (60-4=56) so this packet will be dropped (such as ARP)

Do you know how to increase the minimum ethernet packet size?

Thanks
 
Hi shayv ,

I don't have Ubuntu... but the command is Linux universal:

ifconfig mtu 64

That should change it so that MAX size is 64, and not 60.

Good Luck
DrD
 
DrD

Thanks for your answer, but this is not exacly what I'm looking for.

MTU - Maximum Transfer Unit - will change my maximal packet size, for example from 1514 to 1518

I want to change the MINIMUM packet size.
As for today it's 60 and I want to increase it to 64
Tried looking in ifconfig and ethtool, but couldn't find anything (maybe hidden...), any ideas

Thanks

Shay

 
Have you done any research on sysctl.conf to see if there is a kernel setting you can put into place? You may want to also check /proc/net to see if there is a setting there.

-bp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top