If you wanna route packets from the internet to the SW's, you need some IP on the OpenBSD's interfaces to the switches. I remember being able to set IP addresses on bridged interfaces with ifconfig, don't know if this is a good approach but was usable in the time.

Maybe your best approach is to set a trunk between the switches, if you wanna redundancy, maybe there's a need for two openbsd firewalls, one on each switch? Or are you using different subnet's in the switches, and the openbsd try to decide who is up to forward the packets (like some rdr rules on pf?).

Well.. maybe this helps you in anyway, if not please send more details for the list, or maybe someone else can help on this also.

Regards

Arjen Van Drie wrote:
Hi list,

(sorry for the possible resend, I used the wrong from address)


I am trying to get STP to work with (to start with) one openbsd firewall
/ gateway and two switches to the same subnet for failover. Let me draw:



           -----------------------------------
          |             Internet              |
           -----------------------------------
                           |

               ---------------------------
              |                           |
              |      OpenBSD GW           |
              |                           |
               ---------------------------
               /                          \
      --------------               ------------------
      |  SW 1      |               |      SW 2      |
      |(stp root)  |               | (stp fallback) |
      --------------               ------------------
              \                           /
               \                         /
                  --------------------
                  |     subnet       |
                  --------------------


The openbsd box should act as an IP gateway for the subnet. I bridged
two NICS, one goes into sw1, the other into sw2. I also want to give
this bridge an IP address, but that is not possible. So I


- tried to set a vlan on the bridge, (vlandev bridge0), but this is not
possible ( SIOCSETVLAN: Protocol not supported). The switches see each
other and root sw is elected.


- tried to set a failover trunk on the bridge member interfaces and set
the vlan on that. Packets are being forwarded then, but STP does not work
(switches don't see each other)



How should I go about this?


Thanks,

Arjen.

Reply via email to