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. 
 
I have tried the script here:
http://www.centos.org/docs/5/html/5.1/Virtualization_Guide/ch-virt-bridge-errors.html
 
It does nothing different on startup (Despite editing
Xend-config.sxp). If I manually execute it with ./script start then it kills
all network connections to the server. I have reset the server to its default single
bridge config, does anyone know how to get two bridges up and running?
 
Below are details of the working default single bridge
config.
 
Thanks,
 
Rob
 
 
Brctl show:
bridge name bridge id         STP
enabled interfaces
eth1        8000.00e081b24ef9 no          peth1
virbr0            8000.000000000000 yes         
 
Ifconfig –a:
eth0      Link
encap:Ethernet  HWaddr 00:E0:81:B2:4E:F8  
         
inet addr:192.168.2.160  Bcast:192.168.2.255  Mask:255.255.255.0
         
UP BROADCAST MULTICAST  MTU:1500  Metric:1
         
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         
collisions:0 txqueuelen:1000 
         
RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
         
Memory:dffe0000-e0000000 
 
eth1      Link
encap:Ethernet  HWaddr 00:E0:81:B2:4E:F9  
         
inet addr:10.0.0.160  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6
addr: fe80::2e0:81ff:feb2:4ef9/64 Scope:Link
         
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         
RX packets:398 errors:0 dropped:0 overruns:0 frame:0
         
TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
         
collisions:0 txqueuelen:0 
         
RX bytes:24373 (23.8 KiB)  TX bytes:16454 (16.0 KiB)
 
ib0       Link
encap:InfiniBand  HWaddr
80:00:04:04:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00  
         
inet addr:192.168.10.160  Bcast:192.168.10.255  Mask:255.255.255.0
         
inet6 addr: fe80::202:c902:22:d451/64 Scope:Link
         
UP BROADCAST RUNNING  MTU:32768  Metric:1
         
RX packets:114 errors:0 dropped:0 overruns:0 frame:0
         
TX packets:157 errors:0 dropped:11 overruns:0 carrier:0
         
collisions:0 txqueuelen:256 
         
RX bytes:6768 (6.6 KiB)  TX bytes:15314 (14.9 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:8 errors:0 dropped:0 overruns:0 frame:0
         
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
         
collisions:0 txqueuelen:0 
         
RX bytes:560 (560.0 b)  TX bytes:560 (560.0 b)
 
peth1     Link encap:Ethernet 
HWaddr 00:E0:81:B2:4E:F9  
         
inet6 addr: fe80::2e0:81ff:feb2:4ef9/64 Scope:Link
         
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         
RX packets:548 errors:0 dropped:0 overruns:0 frame:0
         
TX packets:154 errors:0 dropped:0 overruns:0 carrier:0
         
collisions:0 txqueuelen:100 
         
RX bytes:39709 (38.7 KiB)  TX bytes:32376 (31.6 KiB)
         
Memory:dff80000-dffa0000 
 
sit0      Link
encap:IPv6-in-IPv4  
         
NOARP  MTU:1480  Metric:1
          RX
packets:0 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:0 (0.0 b)  TX bytes:0 (0.0 b)
 
veth0     Link
encap:Ethernet  HWaddr 00:00:00:00:00:00  
         
BROADCAST MULTICAST  MTU:1500  Metric:1
         
RX packets:0 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:0 (0.0 b)  TX bytes:0 (0.0 b)
 
veth1     Link
encap:Ethernet  HWaddr 00:00:00:00:00:00  
         
BROADCAST MULTICAST  MTU:1500  Metric:1
         
RX packets:0 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:0 (0.0 b)  TX bytes:0 (0.0 b)
 
veth2     Link
encap:Ethernet  HWaddr 00:00:00:00:00:00  
         
BROADCAST MULTICAST  MTU:1500  Metric:1
         
RX packets:0 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:0 (0.0 b)  TX bytes:0 (0.0 b)
 
veth3     Link
encap:Ethernet  HWaddr 00:00:00:00:00:00  
          BROADCAST
MULTICAST  MTU:1500  Metric:1
         
RX packets:0 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:0 (0.0 b)  TX bytes:0 (0.0 b)
 
vif0.0    Link encap:Ethernet 
HWaddr FE:FF:FF:FF:FF:FF  
         
BROADCAST MULTICAST  MTU:1500  Metric:1
         
RX packets:0 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:0 (0.0 b)  TX bytes:0 (0.0 b)
 
vif0.1    Link encap:Ethernet 
HWaddr FE:FF:FF:FF:FF:FF  
         
BROADCAST MULTICAST  MTU:1500  Metric:1
         
RX packets:0 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:0 (0.0 b)  TX bytes:0 (0.0 b)
 
vif0.2    Link encap:Ethernet 
HWaddr FE:FF:FF:FF:FF:FF  
         
BROADCAST MULTICAST  MTU:1500  Metric:1
         
RX packets:0 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:0 (0.0 b)  TX bytes:0 (0.0 b)
 
vif0.3    Link encap:Ethernet 
HWaddr FE:FF:FF:FF:FF:FF  
          BROADCAST
MULTICAST  MTU:1500  Metric:1
         
RX packets:0 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:0 (0.0 b)  TX bytes:0 (0.0 b)
 
virbr0    Link encap:Ethernet 
HWaddr 00:00:00:00:00:00  
         
inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
         
inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
         
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX
packets:0 errors:0 dropped:0 overruns:0 frame:0
         
TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
         
collisions:0 txqueuelen:0 
         
RX bytes:0 (0.0 b)  TX bytes:9173 (8.9 KiB)