Bridges
Cheat sheet · https://pcornel.dk/topic.php?topic=2785
Answer
A Linux bridge (br0) is a software switch that connects interfaces — physical NICs, VM tap devices, container veths — in one Layer 2 segment. The host's IP goes on the bridge, not the enslaved NIC.
Remember
Move the host address from the NIC to the bridge or the host loses connectivity. STP on the bridge delays forwarding (forward delay); disable it on simple host bridges. br_netfilter can make iptables/nftables filter bridged traffic unexpectedly.
First checks
bridge link— bridge ports and stateip -br addr— interfaces and addressesip route— routing table and default routeip neigh— ARP/neighbour cacheip route get <dest>— route, interface and source chosen for a destinationnmcli device status / networkctl— which tool manages each interface
Commands
bridge fdb show- Linux bridge forwarding database.
bridge vlan show- Display bridge-port VLAN membership/PVID.
bridge link show- Shows bridge-port state and attributes.
Verify in this order
ports enslaved → bridge learns MACs → frames forwarded between ports → host IP on the bridge reaches the LAN
Where it usually breaks
First mismatch in link/interface → address/namespace → route/neighbor → firewall/policy → socket/daemon → DNS/TLS/SSH/application peer path; preserve identity/native diagnostic/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2785