Having a hard time getting a guest VM to join the local network. Config is Debian 10.4 with all the required KVM packages and I can create a VM (also running Debian) and access it through VNC just fine.
However, I cannot get the network bridge to function. It is connected to the 2nd NIC on the host (which is set to 'manual') and the status of the host NIC stays 'UNKNOWN' as well as the guest NIC (vnet0). What am I missing here?
Content of '/etc/network/interfaces':
Code:
auto lo
iface lo inet loopback
# The primary network interface
auto enp4s0
iface enp4s0 inet static
address 192.168.2.3/24
gateway 192.168.2.254
dns-nameservers 192.168.2.3 8.8.4.4 8.8.8.8
auto br0
iface br0 inet static
address 192.168.2.5
network 192.168.2.0
netmask 255.255.255.0
broadcast 192.168.2.255
gateway 192.168.2.254
bridge_ports enp3s0
bridge_stp on
bridge_fd 0
bridge_maxwait 0
dns-nameservers 192.168.2.3 8.8.4.4 8.8.8.8
Status of the interfaces:
Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether e0:d5:5e:50:9e:22 brd ff:ff:ff:ff:ff:ff
inet 192.168.2.3/24 brd 192.168.2.255 scope global enp4s0
valid_lft forever preferred_lft forever
3: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN group default qlen 1000
link/ether 00:1d:60:5c:ee:91 brd ff:ff:ff:ff:ff:ff
4: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:1d:60:5c:ee:91 brd ff:ff:ff:ff:ff:ff
inet 192.168.2.5/24 brd 192.168.2.255 scope global br0
valid_lft forever preferred_lft forever
...
7: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN group default qlen 1000
link/ether fe:54:00:df:12:48 brd ff:ff:ff:ff:ff:ff