WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] RE: [Xen-devel] Ethernet MTU

To: "'Molle Bestefich'" <molle.bestefich@xxxxxxxxx>, "'James Harper'" <james.harper@xxxxxxxxxxxxxxxx>
Subject: [Xen-users] RE: [Xen-devel] Ethernet MTU
From: "Sylvain Coutant" <sco@xxxxxxxxxx>
Date: Wed, 16 Aug 2006 14:46:55 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 16 Aug 2006 05:48:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <62b0912f0608160458l7a135756t30a6f7d2cad48bc@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: ADVISEO
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbBKzL/vPdnZdHuQs61OFaSUYDP2QABQHSg
> So when configuring a VLAN on an interface, you say that Linux
> automatically adds 4 to the MTU of the underlying physical interface?
> 
> Since Linux has no way of synchronizing the MTU with the interface at
> the other end of the wire, that's really stupid.  It should just lower
> the MTU of the virtual interface by 4 bytes instead.

No, that would also be stupid in some way. The goal is each interface have the 
same mtu on each side.
If you some have a 1500 bytes mtu interface without tagging at the other end of 
the Ethernet segment (I mean the switch removes the tag before sending the 
packet to the other computer), you would then have different mtu sizes (1496 on 
one side and 1500 on the other).

It is usual to manage oversized Ethernet frames when dealing with tags. So you 
keep a basic mtu of 1500 and add a varying size Ethernet header to this. Your 
Ethernet packet will then be something *starting at* 1518 (with a basic 
header). In the case of 802.1q tagging, it will be larger. This is the way you 
ensure each ethernet interface has the same mtu at each end.


BR,

--
Sylvain COUTANT


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users