Address
304 North Cardinal St.
Dorchester Center, MA 02124
Work Hours
Monday to Friday: 7AM - 7PM
Weekend: 10AM - 5PM
What the Linux bridge really is, why it is not a switch, and how DSA turns it into a powerful hardware-offloaded networking model.
If you’ve ever worked with Linux networking — especially on routers — you’ve probably encountered the Linux bridge. And if you’re honest, it probably felt more confusing than it should.
Is it a switch? Is it software? Is it just a hack to glue interfaces together?
The answer is uncomfortable:
It tries to be a switch — but it is not a switch.
And once you understand that, everything suddenly makes sense.
The Linux bridge is a Layer 2 forwarding engine in software. It behaves similarly to a network switch:
In simple terms, it allows you to connect interfaces like:
into a single broadcast domain.
So yes — it acts like a switch.
But that does not mean it is one.
This is where most confusion starts.
A real hardware switch:
The Linux bridge:
So while the behavior looks similar, the performance characteristics are completely different.
This difference becomes critical on embedded routers.
Before DSA, Linux often treated switch ports as independent interfaces using older models like swconfig.
With DSA, the switch becomes part of the Linux networking model, and the bridge becomes the central abstraction.
Now you typically see:
br-lan ├── lan1 ├── lan2 └── wlan0
This looks like a software construct — but in reality, something smarter is happening.
Modern Linux networking (with DSA) allows the bridge to offload forwarding into the switch hardware.
So even though you configure a bridge in software:
This is the key insight:
The Linux bridge is not the dataplane — it is the control plane.
When things are working correctly, the bridge describes how traffic should flow, and the switch executes it.
If something cannot be offloaded, traffic falls back to the CPU.
This happens when:
On powerful systems this is fine.
On small routers, this is where performance collapses.
A common question is:
Is bridging Wi-Fi to Ethernet the same as switching?
Not exactly.
Wi-Fi is not Ethernet. It has:
The Linux bridge connects them at Layer 2, but this connection cannot be fully offloaded into a switch.
This means:
Wi-Fi traffic almost always touches the CPU.
And that is normal.
Many router systems treat the bridge as a simple tool.
But in reality, it is the center of the networking model.
If you misunderstand the bridge, you misunderstand:
Modern router operating systems like RouterWRT take a more opinionated approach:
This leads to better performance, lower CPU usage, and more predictable behavior.
The Linux bridge is not broken.
It is just misunderstood.
It is not a switch, and it was never meant to be one.
It is a control layer that describes how Layer 2 connectivity should work across different interfaces.
When paired with modern switch hardware through DSA, it becomes extremely powerful — because the actual packet forwarding can happen where it belongs:
in hardware.
Understanding this distinction is the difference between fighting your router — and making it work exactly as intended.