0

My host (Ubuntu 20.04 LTS) has four NICs. I would like to give one KVM guest (Debian 10) exclusive access to one of those NICs.

So I set the guest-NIC to macvtap and source mode to passthrough. And the network connection works fine, but, like the unanswered follow-up on a similar issue, my guest also sees (and uses) that NIC.

If I ip link set down that particular en-interface on my host, it goes down for the guest also (kind of makes sense).

Am I doing something wrong? I thought passthrough would "give" the NIC to the guest exclusively? Is there any way to have a NIC "invisible"/unusable/inaccessible/down for the host but working for the guest?

  • You should _actually_ pass through the NIC, not with macvtap. – Michael Hampton Jul 23 '20 at 18:49
  • @MichaelHampton In virt-manager, in "Network source", I can only select "NAT", "macvtap" (for each enoX interface), or "Specify shared device name". Only after having selected macvtap can I then select a "Source mode": One of "Bridge", "VEPA", "Private", or "Passthrough". What are you saying I should select? – NicApicella Jul 23 '20 at 21:09
  • 2
    You should do what was shown in the second part of the answer you linked to. You DO NOT create a virtual NIC. – Michael Hampton Jul 23 '20 at 21:09

0 Answers0