You are not logged in.
Hi everybody!
This is my first question. Thanks for reading this!
I created a bridge with the following code:
sudo systemctl stop dhcpcd
sudo ip addr flush dev <host_interface>
sudo ip route flush dev <host_interface>
sudo ip link add name br0 type bridge
sudo ip link set br0 address <bridge_mac_addr>
sudo ip link set br0 up
sudo ip link set <host_interface> up
sudo ip link set <host_interface> master br0
sudo systemctl start dhcpcd@br0.serviceStill, the network connection won't work. I found out, that <host_interface> has an IP address and entries in the route table (ip route show). The network connection will only work, if I flush the <host_interface> route table entries:
sudo ip route flush dev <host_interface>I didn't expect this last step and assume I missed a step or don't have a proper setup of the bridge.
Why do I have to do the last step? How can I improve my setup?
Thanks in advance. Your help is very much appreciated.
Cheers
Offline