From: "jian zhang" Subject: Does Ne2k wroks in Xen? In qemu dir? Date: Fri, 9 Nov 2007 12:18:17 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0784620333==" Return-path: 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: xen-users Cc: xen-devel List-Id: xen-devel@lists.xenproject.org --===============0784620333== Content-Type: multipart/alternative; boundary="----=_Part_910_20574266.1194581897469" ------=_Part_910_20574266.1194581897469 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi all: I installed Fedora 6 on xen 3.0.4(which is intalled in fedoa 7) as domainU, I find the following information int the cfg file: # Optionally define mac and/or bridge for the network interfaces. # Random MACs are assigned if not given. #vif = [ 'type=ioemu, mac=00:16:3e:00:00:11, bridge=xenbr0, model=ne2k_pci' ] # type=ioemu specify the NIC is an ioemu device not netfront vif = [ 'type=ioemu, bridge=xenbr0' ] So, I use mode=ne2k_pci and create a fedora virtual machine, but it's network can only lasts for a few seconds, I deactive and active the network card ,then I can ping our gateway for another few seconds. But, when I use this config to create a winxp sp2 virtual machine, it works very well. Besides, can I define the netmask and gateway address in this cfg file? Please help me ! Thank you! ------=_Part_910_20574266.1194581897469 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi all:
I installed Fedora 6 on xen 3.0.4(which is intalled in fedoa 7) as domainU, I find the following information int the cfg file:
# Optionally define mac and/or bridge for the network interfaces.
# Random MACs are assigned if not given.
#vif = [ 'type=ioemu, mac=00:16:3e:00:00:11, bridge=xenbr0, model=ne2k_pci' ]
# type=ioemu specify the NIC is an ioemu device not netfront
vif = [ 'type=ioemu, bridge=xenbr0' ]
 
So, I use mode=ne2k_pci and create a fedora virtual machine, but it's network can only lasts for a few seconds, I  deactive and active the network card ,then I can ping our gateway for another few seconds. But, when I use this config to create a winxp sp2 virtual machine, it works very well.
 
Besides, can I define the netmask and gateway address in this cfg file?
 
 
Please help me !
Thank you!
------=_Part_910_20574266.1194581897469-- --===============0784620333== 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 --===============0784620333==--