[VLAN] Vlans and MTU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 22, 2004 at 09:19:38AM -0500, Nicolas Ross wrote:
> What should be the MTU of a vlan pseudo-interface ? And do we
> need to specify it ?

The MTU should always be 1500. On all interfaces.

There is one exception to that, the case where you construct (all)
VLAN packets in userspace and send them out on the gigabit interface
through a raw socket.

Otherwise there's no point in raising it. The MTU only concerns
transmission of packets, and the problem with oversized packets is
usually on the receiving end.

If by raising the MTU of your gigabit interface you make the driver
accept oversized packets as well, then I guess this seems like the
right solution, but in effect it will just move the problem since I
don't believe the VLAN code cares about the MTU setting, so your
Linux system may actually be sending out 1508 byte packets instead.

Try MTU=1500 everywhere and see if everything still works. If not,
find or write a patch for the 83020 driver, or change to a card with
a known working driver.


//Peter

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux