You are not logged in.
Hi,
I'm trying to setup a couple of virtual machines using virt-manager but I'm having some issues with the networking side of things. It would seem that when I start the first VM (which works), the network connectivity on the host machine breaks. If I stop the VM, my network/internet starts to work again. If I start the second VM I get the below error:
Error starting domain: error creating macvtap interface macvtap1@enp0s31f6 (52:54:00:e6:28:9b): Invalid argument
If I stop the 1st VM, the 2nd VM starts with no issue. Of course the networking on the host is broken though! How can I fix this?
This is my configuration:
<interface type="direct">
<mac address="52:54:00:e6:28:9b"/>
<source dev="enp0s31f6" mode="passthrough"/>
<model type="virtio"/>
<address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
</interface>
Obviously I want networking on all my VMs and the host machine. Any ideas how to achieve this?
Offline
Any ideas?
Offline
Well if anyone does have an idea of what to check - that would be greatly appreciated. Otherwise my solution was to use VirtualBox.
Offline
Please stop doing that
I don't have much experience with KVM, though from what I know you shouldn't passthrough your adapter directly, as that is pretty much what will lead to this. If anything configure and use a bridge, or just use an emulated device.
You might want to read http://www.linux-kvm.org/page/Networking
Last edited by V1del (2019-08-07 11:13:37)
Offline