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

[Xen-users] Fully virtualized domU Linux network (VLAN) trouble



Hi,

I have a 64bit Debian Lenny server with two physical network interfaces,
one is connected to a switch without VLANs (eth0), the other (eth1) is
connected to a switch with tagged VLANs (eth1). I'm running a couple of
paravirtualized VMs that have no problem using the eth0 interface
(bridged). I'm also running a couple of fully virtualized VMs, one being
a Linux box (with a specific kernel); others being Windows VMs with a
single network interface bridged to eth0. The Windows VMs are working
fine. The (fully virtualized) Linux VM has two network interfaces
bridged to the physical network interfaces in dom0 (ie. to both eth0 and
eth1). This VM comes up fine, has two network interfaces as specified in
its Xen config but is not able to use any of the networks on eth0 and
the VLANs on eth1. The VM obviously has the vlan package installed and
the VLAN interfaces are set up.

So: all VMs (para Linux and full Windows) except the fully virtualized
Linux VM are able to use the eth0 interface (no VLANs). The fully
virtualized Linux VM is not able to use eth0 (no VLANs), nor eth1 (with
tagged VLANs).

I've managed to get it to work with all interfaces once (ie. eth0 and a
few VLAN interfaces on eth1), then had to change the network config and
lost all network connectivity after the reboot. I've also observed that
sometimes one virtual nic can be used, sometimes the other. The only
variable here being making changes to the vif entry in the Xen config
file for this VM. It currently looks like:

vif        = ['mac=03:16:3e:00:02:39, type=ioemu, bridge=eth0',
           'mac=03:16:3E:01:00:00, type=ioemu, bridge=eth1']

The vif interfaces are created and bridged correctly in the dom0 once
the fully virtualized Linux domU starts.

dom0 has no business on the VLANs so it seems preferable to setup VLANs
in domU, not dom0. I've found a few documents that suggest to use VLANs
in dom0, and bridge the virtual interfaces to the VLAN interfaces in
dom0. I've spend a few hours trying to get that to work but
unfortunately that didn't work either.

The physical NICs are:
00:08.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a3)
00:09.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a3)

How should I further debug/analyse this problem?

kind regards,
Jan


_______________________________________________
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®.