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

RE: [Xen-users] strange VLAN / domu behavior



Hi,

        What did you mean? I am supposed to get error with UDP packets?

        Also please note that I had to patch E1000 network card drivers to disable hardware VLAN filtering (VLANs were not working even with non-XEN drivers when HW filtering was enabled). The HW filtering will never give VLAN tagged packets to your OS, it will just drop them. I did not find a way to disable it on runtime but I read somewhere there a plans to do so in a future kernels/ethtool versions. The code is in e1000_main.c

You will find this block somewhere near line 4369:

/* enable VLAN receive filtering */
rctl = E1000_READ_REG(&adapter->hw, RCTL);
rctl |= E1000_RCTL_VFE;
rctl &= ~E1000_RCTL_CFIEN;
E1000_WRITE_REG(&adapter->hw, RCTL, rctl);
e1000_update_mng_vlan(adapter);

Just comment it all and it will work great (especially for you my dear DELL PE1850 users ;) )

Have fun !

Christophe Painchaud

-----Message d'origine-----
De : Sébastien CRAMATTE [mailto:s.cramatte@xxxxxxxxxx]
Envoyé : Friday, October 27, 2006 12:07 PM
À : PAINCHAUD Christophe
Cc : xen-users@xxxxxxxxxxxxxxxxxxx
Objet : Re: [Xen-users] strange VLAN / domu behavior

Could you test in deep that you are not problem with UDP ?


PAINCHAUD Christophe a écrit :
>
> Hi again !!!
>
> The trick 'ethtool -K eth0 tx off' in each domU solved my problem !!!!
>
> Thank you for your time.
>
> Christophe Painchaud
>
>
> -----Message d'origine-----
> De : Sébastien CRAMATTE [mailto:s.cramatte@xxxxxxxxxx]
> Envoyé : Friday, October 27, 2006 9:43 AM
> À : PAINCHAUD Christophe
> Cc : xen-users@xxxxxxxxxxxxxxxxxxx
> Objet : Re: [Xen-users] strange VLAN / domu behavior
>
> VLANs not work correctly in Xen without tricks ...
>
> http://felipe-alfaro.org/blog/category/xen/
>
> Moreover vlan + bonding not work too look at this bug ... and If you can
> add a comment
> maybe the Xen team will do something ...
>
> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=753
>
>
>
> PAINCHAUD Christophe a écrit :
> >
> > Hi there!
> >
> > I am currently setting up a Xen box on 3 VLans, each VLan interface is
> > in a bridge and currently, dom0 is reachable from on of these and is
> > performing great.
> >
> > My only problem is with domU : it can ping anything but it won't work
> > for TCP and UDP protocol UNLESS I do a manual tcpdump on my vlan
> > interface.
> >
> > Bridges on dom0:
> > xen-vl97                8000.001372529fbf       no      eth0.97
> >                                                         vif5.1
> > xenbr0          8000.feffffffffff       no              vif0.0
> >                                                         peth0
> >                                                         vif5.0
> >
> >
> > my domU has an interface in xen-vl97 which owns eth0.97. Only ping is
> > working unless I do a tcpdump -i eth0.97 ....
> >
> > any clue?
> >
> >
> > Thx in advance....
> >
> >
> >
> > Christophe Painchaud
 

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.