Hello,
I'm using xen 3.0.4 with a custom kernel (with drbd) and
quite often xen inverts eth0 and eth1. In order to have correct
interfaces I need to restart the domU
The virtual interfaces vifX.0 and vifX.1 should be connected
to xenbr0 and xenbr1 respectively but sometimes they are connected
to xenbr1 and xenbr0.
configuration file:
-------------------
kernel = "/boot/vmlinuz-2.6-xenU"
memory = 2048
name = "xxxx-secours"
disk = [ "phy:xen_data/xxxx-secours,hda1,w",
"phy:xen_data/xxxx-secours_swap,hda2,w",
"phy:xen_data/xxxx-secours_drbd,hda3,w"]
root = "/dev/hda1 ro"
vif = [
"mac=00:26:3E:7B:0B:22,bridge=xenbr0,ip=192.168.2.144",
"mac=00:26:3E:7B:0B:23,bridge=xenbr1,ip=10.1.0.20",
]
gateway = "192.168.2.1"
netmask = "255.255.255.0"
hostname = "xxxx-secours"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
xm list
-------
Name ID Mem VCPUs State Time(s)
Domain-0 0 257 1 r----- 7338.2
xxxx-secours 11 2048 1 -b---- 354.9
yyyy-secours 13 728 1 -b---- 437.0
brctl show all when OK
-----------------------
xenbr0 8000.feffffffffff no peth0
vif0.0
vif11.0
vif13.0
xenbr1 8000.feffffffffff no peth1
vif0.1
vif11.1
vif13.1
brctl show all when inverted
------------------------------
xenbr0 8000.feffffffffff no peth0
vif0.0
vif11.0
vif13.1
xenbr1 8000.feffffffffff no peth1
vif0.1
vif11.1
vif13.0
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|