Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I know how the internal linux bridge works with two ports/interfaces.

But what happens when I have multiple virtual machines on a physical machine hosted, that each are plugged (via tun/tap) into the bridge on the host machine? Does the bridge then automatically behave like a switch? Or do I have to configure something special?

Thanks!!! Jan

share|improve this question
up vote 7 down vote accepted

Nothing special. It behaves like a switch, maintaining an internal list of the MAC addresses visible on each interface and passing the packets accordingly. It can even do STP.

share|improve this answer
"Bridge" and "switch" are usually interchangeable when talking about networking; all switches as one would normally think of them are really multiport bridges. – LawrenceC Mar 18 '11 at 2:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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