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! _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2007-Nov-09 07:36 UTC
[Xen-users] Re: [Xen-devel] Does Ne2k wroks in Xen? In qemu dir?
Only rtl8139 is well tested. You can¹t configure IP-level configuration in this file it has to be defined statically within the guest or via a DHCP server. -- Keir On 9/11/07 04:18, "jian zhang" <cheechuang@gmail.com> wrote:> 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?_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users