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

Re: [Xen-users] VLANs and Networking between DomU and Dom0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] VLANs and Networking between DomU and Dom0
From: Reinhard Brandstädter <reinhard.brandstaedter@xxxxxx>
Date: Tue, 17 Jul 2007 13:57:54 +0200
Delivery-date: Tue, 17 Jul 2007 05:15:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200707171233.33472.reinhard.brandstaedter@xxxxxx>
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>
References: <200707171233.33472.reinhard.brandstaedter@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
Could it be that I have to attach another virtual interface (vif) to 
the 'xenbr1V2' bridge in Dom0? That what's usually configured in den DomU 
Script but for Dom0? Is theis doable?

Reinhard

On Tuesday 17 July 2007 12:33:33 Reinhard Brandstädter wrote:
> Hello,
>
> I've configured multiple bridges on my Dom0 for VLAN tagged and untagged
> traffic. On the Dom0 I have two physical interfaces and one VLAN interface:
> eth0 (untagged)
> eth1 (untagged) (network config 192.168.3.10/24)
> eth1.1002 (VLAN 1002) (network config 192.168.3.104/24)
>
> Xen creates three bridges in the networking script:
> dir=$(dirname "$0")
> "$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0
> "$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=xenbr1
> "$dir/network-bridge" "$@" vifnum=2 netdev=eth1.1002 bridge=xenbr1V2
>
> resulting in the bridges:
> xenbr0
> xenbr1
> xenbr1V2
>
> Now I can create two virtual machines that use the 'xenbr1V2' as network
> device (network config 192.168.3.0/24, assigned IP .101 and .103) and those
> machines can see (and communicate/ping) with eachother.
> Another virtual machine uses 'xenbr1' as network device (network config
> 192.168.3.0/24, assigned IP .102).
> As expected it is not possible to ping between the machines on the VLAN
> bridge and the one on the untagged bridge.
>
> However I can't ping the Dom0 from the VLAN tagged machines but I can from
> the untagged machines (and vice versa).
> I assumed that this might have something to do with routing (since i use
> the same network/mask on both nets (tagged and untagged).
> So I checked with the routing table.
>
> with this table i can ping the untagged VM:
> Kernel IP routing table
> Destination  Gateway     Genmask         Flags Metric Ref    Use Iface
> xxx.xx.x.x   0.0.0.0     255.255.255.0   U     0      0        0 eth0
> 192.168.3.0  0.0.0.0     255.255.255.0   U     0      0        0 eth1
> 0.0.0.0      xxx.xx.x.x  0.0.0.0         UG    0      0        0 eth0
>
> With this table I expected to be able to ping the tagged VM but couldn't:
> Kernel IP routing table
> Destination  Gateway     Genmask         Flags Metric Ref    Use Iface
> xxx.xx.x.x   0.0.0.0     255.255.255.0   U     0      0        0 eth0
> 192.168.3.0  0.0.0.0     255.255.255.0   U     0      0        0 eth1.1002
> 0.0.0.0      xxx.xx.x.x  0.0.0.0         UG    0      0        0 eth0
>
> This might not even be a Xen specific issue but maybe anyone here has/had a
> similar configuration and might point me in the right direction.
>
> Thanks,
> Reinhard
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users



-- 
Dipl.-Ing. Reinhard Brandstaedter
ZID - Zentraler Informatik Dienst

Johannes-Kepler-Universitaet Linz
Altenbergerstrasse 69
A-4040 linz

phone:  +43 732 2468 1368
email:  reinhard.brandstaedter@xxxxxx

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

<Prev in Thread] Current Thread [Next in Thread>