Subject: vlan + bridge + xen
To: None <port-xen@NetBSD.org>
From: Jonathan A. Kollasch <jakllsch@kollasch.net>
List: port-xen
Date: 03/30/2007 10:30:12
--VS++wcV0S1rZb1Fb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi

I was helping a friend of mine debug weird issue with
Xen networking the other day.  The setup involves a
dom0 with a single NIC (fxp(4)), vlan(4) interfaces
attached to the fxp in the dom0, and bridged to additional
xennet(4) interfaces in the domU.  Because the xvif/xennet pair
seems to have a hard 1500 byte limit, the tagged packets can't
bridged without a drop in MTU, which is undesirable.

Anyway, while from the dom0 the vlan(4) interfaces work
as expected, the connection of the domU's xennet to the
tagged frames on the copper is acting extremely weird.

The domU can ping6 ff02::1%xennetX both itself and the xvif
in the dom0. The MAC table in the dom0's bridge for this interface
shows the addresses I expect it should, sometimes entries even
appear in the NDP/ARP tables in remote machines.  But not so
much as a icmp ping response seems to get received by the domU.

So, outgoing from the domU seems to be working, but incoming
seems not to.

All interfaces are marked up, and whatnot.

I tested this on two 4.99.4 Xen3 dom0s,
and a 3.x Xen2 dom0 as well.  All the same.

Any ideas of where to look for clues as to what's causing this?

	Jonathan Kollasch

--VS++wcV0S1rZb1Fb
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iD8DBQFGDS0EOjx1ye3hmokRAohQAJ98TnPgSm1DEN9HzyUOLuVHu2EbEwCdEeDt
ZlgBdwx20ERjigtt8wAn2ec=
=O8Mg
-----END PGP SIGNATURE-----

--VS++wcV0S1rZb1Fb--