View Single Post
  #1   (View Single Post)  
Old 18th January 2013
igy01 igy01 is offline
Port Guard
 
Join Date: Jan 2011
Posts: 20
Default Redundant Bridging and STP

I have 2 OpenBSD, every one has few Ethernet interfaces,
and I want to create two ethernet connection between them,
as two link between two switches:

BSD TEST-A em0 <--------> em0 BSD TEST-B
BSD TEST-A em1 <--------> em1 BSD TEST-B


device TEST-A:

test-a /etc>cat hostname.em0
inet 10.10.10.1 255.255.255.0 NONE
up
test-a /etc>cat hostname.em1
up
test-a /etc>cat hostname.bridge0
add em0
add em1
blocknonip em0
blocknonip em1
stp em0
stp em1
up
test-a /etc>

device TEST-B:

test-b /etc>cat hostname.em0
inet 10.10.10.2 255.255.255.0 NONE
up
test-b /etc>cat hostname.em1
up
test-b /etc>cat hostname.bridge0
add em0
add em1
blocknonip em0
blocknonip em1
stp em0
stp em1
up
test-b /etc>


So, if one link is out of function, then traffic will pass throuhtg anohter one.
But it is not working, if:
test-a /etc>ping 10.10.10.2 is working on em0,
until:
test-a /etc>ifconfig em0 down
then pinging stops, it seems RSTP is not working, i.e. traffic is not translated on em1-em1 link.

any idea?
Reply With Quote