[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 192.168.1.220 (/24 subnet) gateway: 192.168.1.254
eth1 is 192.168.2.220 (/24 subnet) gateway: 192.168.2.254
default gateway is 192.168.2.254 (eth1 comes up second, this is auto-set)
I have this script running as my network-bridge script wrapper:
"$dir/network-bridge" "$@" vifnum=0
"$dir/network-bridge" "$@" vifnum=1
as such, I have both bridges: xenbr0 mapped to eth0 and xenbr1 mapped to
Any and all guests on XEN Virtualization obtain an IP address from the
eth0/xenbr0 side of the equation (an address on the 192.168.1.0/24 network)
Any and all guests on XEN Virtualization DO NOT obtain an IP address
from the eth1/xenbr1 side of the equation (on the 192.168.2.0/24 network)
Here is an example of one of my guest configurations:
name = "VendPrintMDID"
builder = "hvm"
memory = "1024"
disk = [ 'file:/xen/disks/VendPrintMDID,hda,w',
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
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
0.0.0.0 192.168.2.254 0.0.0.0 UG 0 0 0
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?
Xen-users mailing list