Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 6 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
4  
"Bridge" and "switch" are usually interchangeable when talking about networking; all switches as one would normally think of them are really multiport bridges. –  ultrasawblade Mar 18 '11 at 2:29

Your Answer

 
discard

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.