Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

QEMU/Devices/Network

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Network devices are somewhat special, since besides being able to add them the standard way, there's a much easier one to configure them through the -net nic parameter. Also, please note that -device doesn't suppress the default configuration, so it might not do what you intend. Adding a card Simply specifying -net nic on the command line adds an interface. You can select the hardware being emulated using the model modifier. Example: qemu -net nic,model=ne2k_pci ... Network card models For PC emulation Model Bus Speed Description e1000 PCI 10/100/1000Mb/s Intel 82540em / PRO/1000 i82551 PCI 10/100Mb/s Intel 10/100 Mbps Fast Ethernet i82557b PCI 10/100Mb/s Intel 10/100 Mbps Fast Ethernet i82559er PCI 10/100Mb/s Intel 10/100 Mbps Fast Ethernet ne2k_pci PCI 10Mb/s RTL8029 - NE2000 PCI ne2k_isa ISA 10Mb/s NE2000 Compatible pcnet PCI 10/100Mb/s AMD PCnet FAST III Ethernet rtl8139 PCI 10/100Mb/s Realtek Fast Ethernet virtio PCI 1Gb/s Virtual High Performance Ethernet card (see ../Virtio/) qemu-system-<arch> -net nic,model=<model> In this command, <arch> and <model> should be replaced with the appropriate architecture and model you intend to use. Others emulated architectures You have to launch this command to list emulated network card