WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Two network card for domU, but one of them will freeze after a lone time.
From: ma qiang <maqiang1984@xxxxxxxxx>
Date: Thu, 16 Sep 2010 18:33:28 +0800
Delivery-date: Thu, 16 Sep 2010 03:34:54 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=E0xstZQ8T8zEmv+qyWR/5h5ZA7gZspmH7XSbkcE2Q0I=; b=OIShc0vMXW/c1YBF6TBS3XIrrV+Kr/odiGnlpURcNFz0R7IYOGUAOqRsjtLpIQ+Qxn K3VcAiVvPohnV2YUM+clLETdTv5unjGzK/dwnwlMoO/adBlsqCDck3CHMvzggtP3OXEa +N+v67puMbwa/0uTjg8fTpzzn2sApeGhKK7CQ=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Two network card for domU, but one of them will freeze after a lone time., ma qiang <=