Network Bridge for a Virt Manager KVM guest, not giving ping for host

@Misekayek0l but you have an ip address on the interface, plus there is no br0 visible…

Screenshot from 2024-01-15 15-43-40

Someone is wrong I don’t know what

# cat /etc/NetworkManager/system-connections/br0\ port\ 1.nmconnection 
[connection]
id=br0 port 1
uuid=
type=ethernet
interface-name=eth1
master=br0
slave-type=bridge

[ethernet]
mac-address=89:C9:88:C9:87:C9

[bridge-port]
# cat /etc/NetworkManager/system-connections/bridge-eth1.nmconnection 
[connection]
id=Bridge connection enp8s0
type=bridge
interface-name=br0

[ethernet]

[bridge]

@Misekayek0l so eth1 doesn’t have a valid mac address? also eth1 mac address should match in the nmconnection file and they don’t…

eth0
00:00:00:00:2b:49

[ethernet]
mac-address=89:C9:88:C9:87:C9

And I don’t see a br0 interface in the ip a output?

Try using nm-connection-editor (as your user) as the interfaces should be in the dropdown.

(1) I don’t have installed nm-connection-manager and remember that I am in MicroOS, prefer not install more.
(2) Updated the file to 00:00:00:00:2b:49 from the non matching one.
(3) After running systemctl restart NetworkManager still fails.
Update in ip a:

# ip a
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
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether d8:c4:97:f2:58:48 brd ff:ff:ff:ff:ff:ff
    altname enp2s0f1
    inet 192.168.0.2/24 brd 192.168.0.255 scope global noprefixroute eth0
       valid_lft forever preferred_lft forever
    inet6 2002:c0a8:140:1:5b5c:28e4:6740:edd6/64 scope global temporary dynamic 
       valid_lft 299sec preferred_lft 299sec
    inet6 2002:c0a8:140:1:fb2e:ecfc:1c6e:1b5b/64 scope global dynamic mngtmpaddr noprefixroute 
       valid_lft 299sec preferred_lft 299sec
    inet6 fe80::f3b5:bd70:ae9:77f4/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:00:00:00:2b:49 brd ff:ff:ff:ff:ff:ff
    altname enp0s16u3
    inet 192.168.0.135/24 brd 192.168.0.255 scope global dynamic noprefixroute eth1
       valid_lft 7200sec preferred_lft 7200sec
    inet6 2002:c0a8:140:1:f896:c4f3:32cf:53ec/64 scope global temporary dynamic 
       valid_lft 299sec preferred_lft 299sec
    inet6 2002:c0a8:140:1:476f:4f09:bf49:ae10/64 scope global dynamic mngtmpaddr noprefixroute 
       valid_lft 299sec preferred_lft 299sec
    inet6 fe80::d57b:f76b:9f53:303f/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 12:c5:a6:1a:62:dd brd ff:ff:ff:ff:ff:ff permaddr f8:a2:d6:ae:1c:79
    altname wlp3s0
5: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 52:54:00:b4:e7:34 brd ff:ff:ff:ff:ff:ff
    inet 192.168.100.1/24 brd 192.168.100.255 scope global virbr0
       valid_lft forever preferred_lft forever

@Misekayek0l then there something wrong with the configs somewhere…

@Misekayek0l there is always cockpit, it has a network manager module, it’s what I use to manage my MicroOS instances…

What is cockpit?

@Misekayek0l https://documentation.suse.com/smart/systems-management/html/cockpit-slemicro/index.html

So on my Tumbleweed desktop I have cockpit running then on the MicroOS instances I just install the bridge and additional modules needed…

So I added a USB device and connected;

Screenshot from 2024-01-15 16-53-47

Note, I disabled both IPv4 and IPv6;

ip link show dev enp0s20f0u2

21: enp0s20f0u2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP mode DEFAULT group default qlen 1000
    link/ether 28:ee:52:01:67:7e brd ff:ff:ff:ff:ff:ff

ip link show dev br0

22: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 52:a8:fc:68:e3:bf brd ff:ff:ff:ff:ff:ff

Not sing of the br0 device for which I put the files but cockpit added a bridge device trivially and everything is working fine.

1 Like