From: "jian zhang" Subject: Re: Xen Network Problems Date: Thu, 8 Nov 2007 00:05:58 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1262116889==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Grabber Cc: xen-devel List-Id: xen-devel@lists.xenproject.org --===============1262116889== Content-Type: multipart/alternative; boundary="----=_Part_378_12930389.1194451558328" ------=_Part_378_12930389.1194451558328 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 : > > 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 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 : > > > > > > 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 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@lists.xensource.com > > > > http://lists.xensource.com/xen-devel > > > > > > > > > > > > > > > > > -- > > > Atenciosamente, > > > Luiz Vitor. > > > > > > > > > -- > Atenciosamente, > Luiz Vitor. ------=_Part_378_12930389.1194451558328 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
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@gmail.com>:
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@gmail.com > 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@gmail.com>:
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@gmail.com > 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@lists.xensource.com
http://lists.xensource.com/xen-devel




--
Atenciosamente,
Luiz Vitor.




--
Atenciosamente,
Luiz Vitor.

------=_Part_378_12930389.1194451558328-- --===============1262116889== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1262116889==--