Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The bridge interface under Linux is quite dumb. In the end, it's just very inconvenient to use: you have to delete all IP configurations from the attached interfaces and somehow migrate the configuration to the bridge interface. I don't understand why (it doesn't make sense at all - normally, a bridge is not an endpoint for communication).

OpenBSD is much better; a bridge interface acts exactly like a physical switch. You create it, add the interfaces and you're done. Is it somehow possible to get similar behavior in Linux?

share|improve this question

closed as not constructive by Steven Monday, Maxwell, MikeyB, Zoredache, Jeff Ferland May 15 '12 at 18:51

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

The problem you're facing is that BSD's bridge was designed to be a bridge, with a few switching features added later. Linux's bridge was designed to be a switch, but I'm not sure they ever really got there. – Chris S May 15 '12 at 18:53

Bridges in Linux actually behave exactly like a physical switch.

Hey, let's take a look at my physical switch now. Can't get much switchier than a Cisco switch, right?

core-sw1#sh ip int brief
Interface              IP-Address      OK? Method Status                Protocol
Vlan1                  unassigned      YES NVRAM  up                    up      
Vlan2             YES NVRAM  up                    up      
Vlan53              YES NVRAM  up                    up      

Hmm… on my Cisco switch the IP addresses are actually assigned to… the bridge interface. Not a single port.

Yep, you're thinking about it wrong. Consider what an IP address assigned to a single interface on a bridge would mean.

share|improve this answer

you can use openvswitch in bridge mode.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.