๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

Linux Advanced

What is Linux Bridge?

A software-based network switch in the Linux kernel that connects multiple network interfaces at Layer 2, enabling VM and container networking.

A Linux bridge operates like a physical network switch in software, forwarding Ethernet frames between connected interfaces based on MAC addresses. Bridges are fundamental to virtualization (KVM/QEMU VMs connect through bridges to reach the physical network) and container networking (Docker creates docker0 bridge by default). Configuration uses ip link and bridge commands or the legacy brctl tool. Bridges support STP (Spanning Tree Protocol) to prevent loops, VLAN filtering for traffic isolation, and can be combined with iptables for firewalling bridged traffic. Network namespaces connect to bridges via veth pairs.

Related Terms

Root User
The superuser account in Unix/Linux systems with unrestricted access to all commands and files.
ACL (Access Control List)
An extension to standard Linux file permissions that allows setting fine-grained access rights for specific users and groups beyond owner/group/other.
Swap Space
A portion of disk storage used as virtual memory when physical RAM is fully utilized.
Tar
A utility for creating and extracting archive files that combine multiple files and directories into a single file.
Sysfs (/sys)
A virtual filesystem that exports information about kernel subsystems, hardware devices, and device drivers in a structured hierarchy.
Iptables
The traditional Linux firewall tool that filters network packets using configurable chains of rules organized in tables.
View All Linux Terms โ†’