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] Centos 5.2, Xen 3.2.1 and Bridge Problems

To: Robert Dunkley <Robert@xxxxxxxxx>
Subject: Re: [Xen-users] Centos 5.2, Xen 3.2.1 and Bridge Problems
From: nathan@xxxxxxxxxxxx
Date: Fri, 8 Aug 2008 04:42:27 -0500 (CDT)
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 08 Aug 2008 02:43:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C1EAC9C5E752D24C968FF091D446D823241205@ALTERNATEREALIT>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <C1EAC9C5E752D24C968FF091D446D823241205@ALTERNATEREALIT>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 1.10 (LFD 962 2008-03-14)

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

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