[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] How to set the network card for qemu to use?

From: Aleksei
Subject: Re: [Qemu-discuss] How to set the network card for qemu to use?
Date: Thu, 13 Oct 2016 10:11:53 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0


If you want VM to use host's physical NIC exclusively, then do a PCI pass-through.

If you just want VM to be on the same network as one of the NIC's, then do the bridging. Create a bridge on the host, make that NIC a slave, specify that bridge in Qemu command line. See here for details: https://wiki.archlinux.org/index.php/QEMU#Bridged_networking_using_qemu-bridge-helper and https://wiki.archlinux.org/index.php/Network_bridge

--Regards, Aleksei

From: Miroslav Rovis
Sent: Thursday, October 13, 2016 1:00AM
To: Qemu-discuss
Subject: [Qemu-discuss] How to set the network card for qemu to use?

Either for pass-through (the default, the SLIRP, IIUC), or I had
previously tried to set a tap0 device to a host br0, but couldn't get
qemu to set the image it boots to use one of a few NIC cards.

Concrete setup is three NIC cards:

And the question is simple: what -netdev options (or is there some other
way?) do I use to get qemu to use eth2?

Because it invariably chooses eth0.

I tried several images, such as Tails and Devuan. Always chooses: eth0.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]