QEMU/Devices/Network
Jump to navigation
Jump to search
Network cards can be added to QEMU very easily.
Note that QEMU will always add a network card (e1000), even if -nic is not specified. To disable this, add -nic none to your startup arguments.
How to add a virtual card (shorthand syntax)
You can add a card with the following:
qemu-system-(arch) -nic (backend),model=(model)
For available backends, see QEMU/Network
How to add a virtual card (expanded syntax)
The full syntax for adding a virtual network and adapter is as follows:
qemu-system-(arch) -netdev (backend),id=(netdev-id) -device (model),netdev=(netdev-id)
For available backends, see QEMU/Network
Devices
To see a full list of network devices, add -nic model=? to the arguments.
x86
| Model | Name | Bus | Speed | Description | Minimum OS | Driver |
|---|---|---|---|---|---|---|
| rtl8139 | Realtek 8139C+ Fast Ethernet | PCI | 10-100 Mb/s | This card has built-in drivers on Windows XP+ and almost every modern Linux and BSD distribution. There are drivers available for Windows 95 and above from Realtek's website. There's also a packet driver available for MS-DOS. | Windows: Windows 3.1
Linux: Kernel 2.5.5 MS-DOS: MS-DOS 3.x |
|
| e1000 | Intel PRO/1000 MT Desktop Adapter | PCI | 1 Gb/s | This is the default card in QEMU. It is recommended for use in modern Windows and Linux hosts. | Windows: Windows 98SE | |
| virtio (virtio-net-pci) | Red Hat Virtio Network Card | PCI | 10 Gb/s (as reported by link rate) | The fastest paravirtualized network adapter QEMU supports. Modern Linux (and the last Intel macOS releases) have a built in driver, but Windows requires installation of a special driver. Its throughput is limited only by network conditions (topping at about 60-70 Gb/s on a Windows guest). Additionally, with supported network types (TAP, Open vSwitch, etc...), virtio supports vhost for moving the data plane into the kernel, reducing context switches and increasing performance further. Vhost can also be used with a user-space dataplane. | Windows: Windows 2000 | Windows: virtio-win |
| vmxnet3 | VMware Paravirtual NIC | PCI | 1 Gb/s | VMware's paravirtualized network adapter. Requires installation of a special driver. | ? | Windows: VMWare Tools |
| pcnet | AMD PCNet-Fast III Ethernet Adapter | PCI | 10 Mb/s | AMD PCnet card. Recommended for older Linux and Windows guests. | Windows: Windows 3.1 | |
| ne2k_pci | Novell NE2000 | PCI | 10 Mb/s | Novell NE2000 Ethernet card from the late 1980s. This card will work on older Windows hosts (Windows XP and below), Linux, QNX, BSD, and various UNIX hosts. It is recommended to use this with older hosts. While versions of Windows older than Windows XP do not include a driver for this card, there exists some third-party NE2000 compatible drivers available for Vista, 7, 8, 10. | ? | |
| ne2k_isa | Novell NE2000 | ISA | 10 Mb/s | NE2000 Ethernet card from the late 1980s. This runs on the ISA bus instead of the PCI bus. If your VM is emulating an ISA-only machine, and you want networking, then use this card. While versions of Windows older than Windows XP do not include a driver for this card, there exists some third-party NE2000 compatible drivers available for Vista, 7, 8, 10. | ? | |
| i82551 | Intel i82551 ethernet | PCI | 10-100 Mb/s | Intel i82551 ethernet card. | ? | |
| i82557b | Intel i82557b ethernet | PCI | 10-100 Mb/s | Intel i82557b ethernet card. | ? | |
| i82559er | Intel i82559er ethernet | PCI | 10-100 Mb/s | Intel i82559er ethernet card. | ? | |
| e1000-82544gc | ? | PCI | ? | ? | ? | |
| e1000-82545em | Intel 82545em ethernet | PCI | 1 Gb/s | Intel Network Card, emulated by e1000. | Windows: Windows 98SE | |
| e1000e | ? | PCI | ? | ? | ? | |
| i82550 | ? | PCI | ? | ? | ? | |
| i82557a | ? | PCI | ? | ? | ? | |
| i82557c | ? | PCI | ? | ? | ? | |
| i82558a | ? | PCI | ? | ? | ? | |
| i82558b | ? | PCI | ? | ? | ? | |
| i82559a | ? | PCI | ? | ? | ? | |
| i82559b | ? | PCI | ? | ? | ? | |
| i82559c | ? | PCI | ? | ? | ? | |
| i82562 | ? | PCI | ? | ? | ? | |
| i82801 | ? | PCI | ? | ? | ? |