[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Xen-users] 1 host, 1 nick, 1 regular bridge, 1 local bridge, 5 vm
- To: xen-users@xxxxxxxxxxxxxxxxxxx
- From: John Rounds <vannion@xxxxxxxxx>
- Date: Mon, 21 Mar 2011 14:46:13 -0500
- Delivery-date: Mon, 21 Mar 2011 12:47:20 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=f0yI/xfXsY2UcKPkcVERCcLFa3eEKQlNDYFiruOsC2iXRueY6jn0fvHjFac9S3utI0 nEj029UL63UwZhIdtc5NvzhrvVrHS2fTgtqIfMWqRce/Qo9ne0sEXeEYqCJAxWDJf3U5 vkbm53UXXeAfqzCBJfIGxq1DOFK6QPZ+YIDTY=
- List-id: Xen user discussion <xen-users.lists.xensource.com>
So Working on CEntOS 5 I am trying to sett up Xen with 2 bridges, one that connects dom0 and most of the domU to the physical card and the out to the network. Got that figured out no problem, now i want to have a second bridge that runs a local network for all the doms that doesn't connect to the network.
With code I have found used in multiple places I can easily get 2 bridges, and have all the Domu connected to it but i can't get Dom 0 to have an interface.
Script to set up bridges called fine from xend-config.sxp
]# cat multiple-bridge #!/bin/sh dir=$(dirname "$0") "$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0 "$dir/network-bridge" "$@" vifnum=2 netdev=dummy bridge=xenbrloc1
Out put from brctl show
bridge name bridge id STP enabled interfaces xenbr0 8000.feffffffffff no vif1.0 peth0
vif0.0 xenbrloc1 8000.feffffffffff no vif2.0 vif1.1
Output of ifconfig eth0 Link encap:Ethernet HWaddr 48:5B:39:17:09:73 inet addr:192.168.1.119 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::4a5b:39ff:fe17:973/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:392 errors:0 dropped:0 overruns:0 frame:0 TX packets:363 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0 RX bytes:104964 (102.5 KiB) TX bytes:50630 (49.4 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:140044 errors:0 dropped:0 overruns:0 frame:0 TX packets:140044 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:87780902 (83.7 MiB) TX bytes:87780902 (83.7 MiB) peth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:311531 errors:0 dropped:0 overruns:0 frame:0 TX packets:46014 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:73445358 (70.0 MiB) TX bytes:5556591 (5.2 MiB)
Interrupt:16 Base address:0xe000 vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:40325 errors:0 dropped:0 overruns:0 frame:0 TX packets:299826 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5015081 (4.7 MiB) TX bytes:54011703 (51.5 MiB)
vif1.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:9152 errors:0 dropped:0 overruns:0 frame:0
TX packets:16963 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:1064334 (1.0 MiB) TX bytes:20750937 (19.7 MiB) vif1.1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:13 errors:0 dropped:0 overruns:0 frame:0 TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:32 RX bytes:580 (580.0 b) TX bytes:762 (762.0 b) vif2.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:13 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:32
RX bytes:580 (580.0 b) TX bytes:0 (0.0 b) xenbrloc1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:26 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1160 (1.1 KiB) TX bytes:0 (0.0 b) xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:268045 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:46171788 (44.0 MiB) TX bytes:0 (0.0 b)
Any help or guidance would be appreciated
John
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|