search for: iff_down

Displaying 2 results from an estimated 2 matches for "iff_down".

Did you mean: ifdown
2019 Mar 11
2
How to insert a dummy NIC
Hi, I have to host (with KVM) an appliance which does not use its second and third NIC. They have to be present in the guest, but they'd better stay totally disconnected from anything in the host. "Second" and "third" apparently means bus order. Let's consider virtio devices only. I think the best technical solution is adding -device virtio-net-pci,addr=0x3 and
2019 Mar 11
0
Re: How to insert a dummy NIC
...<link state='down'/> ... Your guest will have a network device in the desired position, qemu will be satisfied that the device has a backend, libvirt will know there is a device there so it won't give the PCI address away to somebody else, and the tap device will be IFF_DOWN, so there will be no possibility of network traffic accidentally leaking into the host (which would already be nearly impossible unless someone separately assigned an IP address to the host side of the tap device).