Skip to contentSkip to conversation

Does Ne2k wroks in Xen? In qemu dir?

DISCUSSION jian zhang 2 participants 2 messages Nov 9, 2007

lore
Share & tools
lore

jian zhang

author
#0 lore raw

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
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

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

Quoted 8 lines · jian zhang

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' ]

Quoted 6 lines

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
[email protected]
http://lists.xensource.com/xen-users