Networking Forums

Networking Forums > Computer Networking > Linux Networking > VLANs (802.1q frame tags) and bridges connecting Xen domU guests

Reply
Thread Tools Display Modes

VLANs (802.1q frame tags) and bridges connecting Xen domU guests

 
 
Andrew Gideon
Guest
Posts: n/a

 
      03-30-2011, 01:49 PM
I've been using 802.1q tagging on Linux for quite a while. More
recently, I've had Xen hypervisors bridging VLANs to Xen guests. From
the hypervisor's perspective, there's a bridge for each VLAN. The
clients' virtual interfaces are bound to specific bridges, and the
clients' eth0 interfaces are "connected" to the proper VLANs.

All this works well.

I tried an experiment yesterday. I built a new bridge on the hypervisor,
and connected it to a couple of guests' eth1 interfaces.

On the guests, I:

/sbin/vconfig add eth1 100
/sbin/ip link set eth1.100 up
/sbin/ip addr add 192.168.100.20/24 broadcast + dev eth1.100

(the other guest used 192.168.100.21).

The guests were able to communicate.

However, when I put an IP on that bridge on the hypervisor directly:

/sbin/ip addr add 192.168.100.22/24 broadcast + dev xenbrroutertest

the hypervisor was able to communicate to the two eth1 interfaces on
the guests. I didn't expect that. Because the hypervisor is not
applying 802.1q tagging to frames on bridge xenbrroutertest while the
guests - presumably - are applying 802.1q tagging to their eth1 interfaces
which are connected to that bridge, I expected the hypervisor and the guests
to be mutually invisible.

Clearly I'm missing something, but I don't know what.

Can anyone enlighten me? Thanks...

- Andrew
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best practice to setup a DMZ? (hyperV and guests) markm75g Windows Networking 22 02-10-2010 02:24 PM
NEWS: 'Hospital risk' from radio tags John Navas Wireless Internet 1 06-26-2008 03:01 AM
MACs and Tags Major Tom Broadband 10 07-11-2006 09:41 AM
how to display message when guests use internet Adam De Paolis Linux Networking 1 05-14-2004 04:25 PM
Connecting 2 bridges J. Wireless Internet 0 12-12-2003 02:32 PM



1 2 3 4 5 6 7 8 9 10 11