#My network is borked after trying to get QEMU working
1 messages · Page 1 of 1 (latest)
Network manager with ethernet
Reviewing this might help while waiting for more responses
https://wiki.archlinux.org/title/Network_bridge#With_NetworkManager
What do things look like on the Qemu side of things? Mine looks like:
-net nic -net bridge,br={Bridge interface}
Make sure the bridged connection is correct and not the actual interface (br0 or br1 or whatever it's set to on your system)
Here are some commands for setting up a simple bridge, what I'd do to debug is disable anything network related, reboot and then run these commands:
ip link add name br0 type bridge
ip link set {YOUR NETWORK INTERFACE} up
ip link set dev br0 up
ip link set {YOUR NETWORK INTERFACE} master br0
dhcpcd br0
Then feed br0 into Qemu using
-net nic -net bridge,br=br0
If the above works then we know the issue is with network manager
what type of network are you trying to use on the VM?
oops I did not mean to delete my message.
I have it set as a bridge device right now. But I can configure it with whatever will work.
Idk what happened, but when I rebooted my host has no Ethernet device.
Unplugging and plugging back in do nothing
I tried reloading the modprobe r8168 drivers for my mobo but it fails to find them.
libvirtd has a default bridge virbr0
I don't believe I need to make my own bridge.
It looks like the bridge is set, looks like QEMU is working on its end.. but my host says it can't resolve DNS
Okay, my host can connect to the Internet now.
Vm connects and has an IP but cannot connect to the Internet