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

[Xen-users] Bridging configuration issue

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Bridging configuration issue
From: Robert Smol <eagtstools@xxxxxxx>
Date: Mon, 31 Jul 2006 16:35:15 +0200
Delivery-date: Mon, 31 Jul 2006 07:36:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello Xen people,

I'm new to Xen and I'm trying to have domUs on separate network and have
their IP's assigned by DHCP server running in dom0.


here is desired picture


dom0:                                                       domU:

  +------+                     +--------+      +--------+       +-----+
  |dummy0| <--connected to --> | xenbr0 | <--- | vif1.0 | <---> | eth0|
  +------+                     +--------+      +--------+       +-----+

I would like to have several dummy interfaces each as a GW to group of
domUs.


I have interface dummy0 configured as 192.168.3.1. I ran network-bridge
script with netdev=dummy0 and it created following configuration:

created bridge xenbr0
dummy0 -> pdummy0 and connected to xenbr0
veth0 ->dummy0 and it has IP settings 192.168.3.1, vif0.0 is connected
to xenbr0

so far so good

when I start domU, I see vif-bridge correctly connects vif1.0 to bridge
and when in domU I genereate traffic I can see that on xenbr0:

node001 scripts # tcpdump -i xenbr0 -vv
tcpdump: WARNING: xenbr0: no IPv4 address assigned
tcpdump: listening on xenbr0, link-type EN10MB (Ethernet), capture size
96 bytes
18:16:30.998373 IP (tos 0x0, ttl  64, id 23255, offset 0, flags [none],
proto: UDP (17), length: 576) 0.0.0.0.bootpc > 255.255.255.255.bootps:
BOOTP/DHCP, Request from aa:00:00:50:02:f1 (oui Unknown), length: 548,
xid:0xc1897f65, secs:10, flags: [none] (0x0000)
          Client Ethernet Address: aa:00:00:50:02:f1 (oui Unknown) [|
bootp]


However I can't see any traffic from pdummy0 nor vif0.0 (which I expect
to be interconnected to dummy0). And DHCP fails. When I try to set eth0
in domU to same range as dummy0 (e.g 192.168.3.10) and ping dummy0, no
traffic can be seen as well.

Any ideas what am I missing? I am also not sure why pdummy0 is needed in
the bridge (no real dev). I've read a lot of docs, but can't solve it.


bridge:
node001 ~ # brctl show
bridge name     bridge id               STP enabled     interfaces
xenbr0          8000.feffffffffff       no              vif0.0
                                                        pdummy0
                                                        vif1.0


ip link shows:
3: dummy0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue
    link/ether a6:de:f2:36:a4:11 brd ff:ff:ff:ff:ff:ff
4: vif0.1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop
    link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff



Robert


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Bridging configuration issue, Robert Smol <=