Open main menu

QEMU/Devices/Network

< QEMU‎ | Devices

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 cardEdit

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 modelsEdit

For PC emulation

Model Bus Speed Description
e1000 PCI 1Gb/s Intel Gigabit Ethernet
i82551 ? ? ?
i82557b ? ? ?
i82559er ? 100Mb/s ?
ne2k_pci PCI 10Mb/s NE2000
ne2k_isa ISA 10Mb/s NE2000
pcnet PCI 10Mb/s AMD Ethernet Card
rtl8139 PCI 10/100Mb/s Realtek Fast Ethernet
virtio PCI 1Gb/s Virtual High Performance Ethernet card (see Virtio)

Others emulated architectures

You have to launch this command to list emulated network card

qemu-system-<arch> -net nic,model=?