Hello,
my br0 lost its ipv6 adress today.
In dmesg I see:
dmesg -T |grep br0
[Fr Aug 18 07:36:10 2023] br0: port 1(enp1s0) entered blocking state
[Fr Aug 18 07:36:10 2023] br0: port 1(enp1s0) entered disabled state
[Fr Aug 18 07:36:11 2023] br0: port 1(enp1s0) entered blocking state
[Fr Aug 18 07:36:11 2023] br0: port 1(enp1s0) entered forwarding state
[Fr Aug 18 07:36:11 2023] br0: port 1(enp1s0) entered disabled state
[Fr Aug 18 07:36:13 2023] br0: port 1(enp1s0) entered blocking state
[Fr Aug 18 07:36:13 2023] br0: port 1(enp1s0) entered forwarding state
[Fr Aug 18 07:37:43 2023] br0: port 2(vnet0) entered blocking state
[Fr Aug 18 07:37:43 2023] br0: port 2(vnet0) entered disabled state
[Fr Aug 18 07:37:43 2023] br0: port 2(vnet0) entered blocking state
[Fr Aug 18 07:37:43 2023] br0: port 2(vnet0) entered forwarding state
[Fr Aug 25 06:40:34 2023] br0: port 2(vnet0) entered disabled state
[Fr Aug 25 06:40:34 2023] br0: port 2(vnet0) entered disabled state
Display More
When I try to restart the network, I get:
root@homeserver:/etc/openmediavault/scripts# ifdown br0 && ifup br0
ifdown: unknown interface br0
root@homeserver:/etc/openmediavault/scripts# ifdown enp1s0 && ifup enp1s0
ifdown: unknown interface enp1s0
I was able to fix this, by changing a setting in the Network Interface of br0 in the omv GUI (the search domain, just to trigger an update. That worked.
Now, it would be great to have a true solution. But I am not so confident..
If a solution is not possible, a workaround would be a script triggering the same that the omv-gui is doing when applying changes to the network settings.
What commands do I need to do the same as when applying network setting changes in OMV?
Best regards,
Hendrik
root@homeserver:/etc/openmediavault/scripts# ifconfig br0
br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.177.3 netmask 255.255.255.0 broadcast 192.168.177.255
inet6 fe80::f849:bff:fe8c:138a prefixlen 64 scopeid 0x20<link>
ether fa:49:0b:8c:13:8a txqueuelen 1000 (Ethernet)
RX packets 18663076 bytes 26625389722 (24.7 GiB)
RX errors 0 dropped 642782 overruns 0 frame 0
TX packets 18303371 bytes 6784889802 (6.3 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@homeserver:/etc/openmediavault/scripts# ifconfig enp1s0
enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 90:1b:0e:aa:13:a9 txqueuelen 1000 (Ethernet)
RX packets 40380847 bytes 30789069373 (28.6 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 26235673 bytes 4845594463 (4.5 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Display More