brctl
brctl is a user-space utility for configuring Ethernet bridges in Linux. It is part of the bridge-utils package and provides commands to create bridge devices, attach or detach interfaces, and inspect bridge state. Linux bridging operates at layer 2, forwarding traffic between interfaces that are members of the same bridge, a setup commonly used for virtual machines, containers, and multi-homed hosts.
Common tasks include: brctl addbr BRIDGE to create a bridge; brctl delbr BRIDGE to delete it; brctl
For spanning-tree and port behavior, brctl stp BRIDGE on|off enables or disables Spanning Tree Protocol; brctl
brctl communicates with the Linux bridge kernel module via netlink and ioctl interfaces to create bridges,
Typical use cases include connecting virtual network interfaces to a host bridge, enabling guests to obtain