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

[Xen-users] Two network card for domU, but one of them will freeze after a lone time.


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: ma qiang <maqiang1984@xxxxxxxxx>
  • Date: Thu, 16 Sep 2010 18:33:28 +0800
  • Delivery-date: Thu, 16 Sep 2010 03:34:54 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UQUn0whjdMudLYJqGZmBWYl8JjcqnE5KVFyeYJ50yvL2BvC+6V+Jc83k8giB9ZKnIH Y32hWZt2gFgIhI2WUgMa+/r9ao72yQOafJW228IA7VUPe9W0E19SMCMI/VOi3sUVmbTW 5WRBVfROzA8cfhHJTBdzo/R83VjdJXVRSXHf8=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi all,
   I have install xen 3.4.3 based on centos5.4.
   I changed a line in /etc/xen/xend-config.sxp like below:
(network-script network-bridge)   ---->    (network-script my-network-bridge)

and #cat /etc/xen/scripts/my-network-script prints as below:
#!/bin/sh
/etc/xen/scripts/network-bridge "$@" netdev=eth0 bridge=eth0
/etc/xen/scripts/network-bridge "$@" netdev=eth1 bridge=eth1

My domU's config file prints as below:

kernel = "/usr/lib/xen/boot/hvmloader"
builder = 'hvm'
name = "test"
memory = 3000
disk = [ 'phy:VolGroup00/myvmlv01,hda,w', 'file:/root/os/Centos.iso,hdc:cdrom,r' ]
vif = [ 'type=ioemu, bridge=eth0', 'type=ioemu, bridge=eth1' ]
vcpus=4
>
>
boot='cd'
sdl=0
vnc=1
vnclisten="0.0.0.0"
vncdisplay=11
stdvga=0
serial='pty'
usbdevice='tablet'
 
After type xm create this config, I installed centos5.4 in the domU. Then eth0 connect to in-house network, eth1 connect to Internet.
After several hours, I can't ping the eth1's Internet IP, like the domU disppears.
But when I ping the eth0's internal IP, that will connect successfully,  and after that I can ping the eth1's IP again. 

That why?  How to resolve?
Thanks a lot.


Best Wishes!
Qiang Ma
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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