|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Centos 5.2, Xen 3.2.1 and Bridge Problems
On Fri, 8 Aug 2008, Robert Dunkley wrote:
I'm running Centos 5.2 with Xen 3.2.1 installed. The default bridge
config of attaching "virbr0" to eth/peth0 works but I need to create two
bridges, one on eth0 and one on eth1.
You can just use ifcfg scrips in /etc/sysconfig/network-scrips, as an
example I have:
[root@xen0 network-scripts]# more ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
BRIDGE=private
HWADDR=00:30:48:7D:66:CA
[root@xen0 network-scripts]# more ifcfg-private
DEVICE=private
ONBOOT=YES
BOOTPROTO=static
IPADDR=10.11.0.220
NETMASK=255.255.255.0
GATEWAY=10.11.0.1
TYPE=Bridge
[root@xen0 network-scripts]# more ifcfg-eth1
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=none
BRIDGE=public
HWADDR=00:30:48:7D:66:CB
[root@xen0 network-scripts]# more ifcfg-public
DEVICE=public
ONBOOT=YES
BOOTPROTO=none
TYPE=Bridge
I could have used an IP address for ifcfg-public, but the xen0 box only
needs access to the private segment. My DomUs then access public and
private bridges.
<>
Nathan Stratton CTO, BlinkMind, Inc.
nathan at robotics.net nathan at blinkmind.com
http://www.robotics.net http://www.blinkmind.com
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|