[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] 2 NIC HVM's not working properly.

I've asked this question before, and aside from a response asking me if DHCP was turned on (it is and all other clients on that network are communicating properly), received no further assistance. I hope someone can be of further assistance this time.

I have a CentOS 5 64-bit machine running a 4-core Intel processor and 4GB of memory with two onboard network cards.

The network cards are fully supported, eth0 and eth1 show up and obtain DHCP addresses from their respective networks
eth0 is (/24 subnet) gateway:
eth1 is (/24 subnet) gateway:
default gateway is (eth1 comes up second, this is auto-set)

I have this script running as my network-bridge script wrapper:
dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0
"$dir/network-bridge" "$@" vifnum=1

as such, I have both bridges: xenbr0 mapped to eth0 and xenbr1 mapped to eth1

Any and all guests on XEN Virtualization obtain an IP address from the eth0/xenbr0 side of the equation (an address on the network) Any and all guests on XEN Virtualization DO NOT obtain an IP address from the eth1/xenbr1 side of the equation (on the network)

Here is an example of one of my guest configurations:
name = "VendPrintMDID"
builder = "hvm"
memory = "1024"
disk = [ 'file:/xen/disks/VendPrintMDID,hda,w', 'file:/xen/iso/MWS2003R2-i386-DISK1.iso,hdc:cdrom,r', 'file:/xen/iso/MWS2003R2-i386-DISK2.iso,hdd:cd$ vif = [ 'type=ioemu, mac=00:16:3e:4c:69:28, bridge=xenbr0', 'type=ioemu, mac=01:16:3e:4c:69:28, bridge=xenbr1' ]
#uuid = "0a08915c-636d-cc1d-8a6c-8d1e457bdcd1"
device_model = "/usr/lib64/xen/bin/qemu-dm"
kernel = "/usr/lib/xen/boot/hvmloader"

and the routing table:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface U 0 0 0 eth1 U 0 0 0 eth0 U 0 0 0 eth1 UG 0 0 0 eth1

ifconfig shows both xenbr0 and xenbr1 up, a bunch of vif's up/etc.

does anyone have any clue what the problem is here and why my guests can't communicate in or out on xenbr1?

David Todd

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.