View Single Post
  #3   (View Single Post)  
Old 19th January 2013
igy01 igy01 is offline
Port Guard
 
Join Date: Jan 2011
Posts: 20
Default

Configuration is something as:

Code:

 LAN1
    |
    |
    |
+-------------+
|   em0       |
|             |
| BSD-1       |
|             |
|   em1   em2 |
+-------------+
    |     |
    |     |
    |     |
    |L1   |L2
    |     |
    |     |
+-------------+
|  em1    em2 |
|             |
| BSD-2       |
|             |
|  em0        |
+-------------+
    |
    |
    |
    LAN2

Redundancy is not used for BSD bridges, redundancy is used for links. Idea is as follows: em1 & em2 are forming bridge0 on BSD-a, and on BSD-2. RSTP is enable on em1 and em2. So, if link L1 is down, then traffic is pass on L2 and vice verse.

according to picture, config is as:

BSD-1 /etc>cat hostname.bridge0
add em1
add em2
blocknonip em1
blocknonip em2
stp em1
stp em2
up
Reply With Quote