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-devel

Re: [Xen-devel] Xen Network Problems

To: Grabber <grabber@xxxxxxxxx>
Subject: Re: [Xen-devel] Xen Network Problems
From: "jian zhang" <cheechuang@xxxxxxxxx>
Date: Thu, 8 Nov 2007 00:05:58 +0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 07 Nov 2007 08:06:36 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=S1Fz8HGs47x9ZrxsWX6vjz7LCM9Y2+E3aeIt7rAN1fA=; b=cyiThOXaMP6UjQKcVVG1K6l+c238P1y9SzTaIJa1fGvGDuYvDHHYGW2TXmR9CRN233AlpYIH83KIfxJWTBZF+MhRKQQyV6EdZZyUAOqrjpWv3v5Q4P/tXlmOgkyAg6vhkAySi/Qe1p6gRne4zb87CezXXT6sh430croEVPzN3Mk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=SQP62/5H9Uvj3I2afcoZqxu8JZiClSyqGwaJ2Uvoc6W3XYgaBtA1WdsxfYc7GZizIefwscGUNNntdtNmCx5zPchIetxKivjyac9SohJqwdN/nTBl5qCoEmPzb8e5VfW5P12xjWU81iJejbY4oqrg2kFYh3IvUxMDcvIUDId8nf4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <c8a494f40711061735i4d4f8d8ch7aeaad099cb80005@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <c77ea6600711040451t48255c2fy6989e6988a89e5ba@xxxxxxxxxxxxxx> <c8a494f40711051309u1eec965br9f9586046b9aeb17@xxxxxxxxxxxxxx> <c77ea6600711051729u28b44767g9703e21e5e3238bd@xxxxxxxxxxxxxx> <c8a494f40711061735i4d4f8d8ch7aeaad099cb80005@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thank you very much!
I use this to set my virtual machine ip address, but the problem still comes. Although I use ip=XX in the cfg file, but when the virtual machine was created, it still use dhcp, can you tell me how to config vif in detail? Such as how to config the netmask and gateway?
 
I doubt that it is dhcp that cause this problem

 
2007/11/7, Grabber <grabber@xxxxxxxxx>:
Jian,
 
How you are setting your static ip? Try to use:
 
dhcp = 'dhcp'
vif = [ 'ip=192.168.1.10, mac=XX:XX:XX:XX:XX, bridge=xenbr0' ]
 
 
Regards,
Luiz Vitor Martinez Cardoso aka Grabber.

 
On 11/5/07, jian zhang <cheechuang@xxxxxxxxx > wrote:
Thank you for your reply!
Yes, I am using bridges. I created a virtual machine by xm create *.cfg, by default, the ip address was allocated by dhcp, but I changed it to static ip in the virtual machine, then if I ping 192.168.1.1 in our LAN, it can lasts only a few secondes, then the connection was lost.
Besides, this problem only comes with fedora6 virtual machine, it doesn't appears in windows xp virtual machine.
can you help me ?
 
Thank you very much!

 
2007/11/6, Grabber <grabber@xxxxxxxxx>:
Probably you are using bridges, correct?

If you use bridges you need to dhclient xenbrX  or fix a static ip number.


Explain better your problem, i can


Regards,
Luiz Vitor Martinez Cardoso aka Grabber.

On Nov 4, 2007 10:51 AM, jian zhang <cheechuang@xxxxxxxxx > wrote:
Hi all:
I installed xen-3.0.4 on Fedora 7, and installed Fedora 6 as DomainU, but, the network can not work normally. It only work for seconds, then I lose connect. If I ifdown the NIC and ifup it, the network can work for a few seconds, Can anybody help me figure what's the problem ??
Thank you in advance

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel




--
Atenciosamente,
Luiz Vitor.




--
Atenciosamente,
Luiz Vitor.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>