Simulating two 8-port switch using VLANs

Started by active.hub2, August 18, 2020, 05:22:44 AM

Previous topic - Next topic

active.hub2

I have a router platform with STP enabled on it.  If I connect Router.Eth2 and Router.Eth3 to a single 8port switch, router blocks one port.  If I connect to two separate 8port switches, both of them are in forwarding state.

Attachment Image: 2-switch.jpg

I am using one Cisco SG300. I am trying to simulate the above case using VLANs.

Attachment Image: vlan-switch.jpg

My requirement is to satisfy the following conditions:

1. When I connect, Router.Eth2 to port 3(VLAN2) and Router.Eth3 to port 5(VLAN2), Router.Eth2 and Router.Eth3 should be forwarding.

2. When I connect, Router.Eth2 to port 3(VLAN2) and Router.Eth3 to port 4(VLAN2), one of the Router.Eth2 and Router.Eth3 should be blocked.

In SG300, Spanning Tree state 'Disabled', STP Operatin Mode as 'Multiple STP' and 'BPDU handling' as filtered.  When I did connection (1), Router.Eth2 and Router.Eth3 are in forwarding state.  In connection(2) also, Router.Eth2 and Router.Eth3 are in forwarding state.

In SG300, Spanning Tree state 'Disabled', STP Operatin Mode as 'Multiple STP' and 'BPDU handling' as flooding.  When I did connection (1), Router.Eth2 and Router.Eth3 are blocked.  In connection(2) also, Router.Eth2 and Router.Eth3 are blocked.

Can someone help me in making necessary configuration on SG300, to make my requirements meet.

Thanks in advance.
uv.

deanwebb

Question: can you list the IP ranges with each VLAN? And then the IP addresses on the Linksys ports? I'm wondering if there is an addressing issue that leads to the port blocking.
Take a baseball bat and trash all the routers, shout out "IT'S A NETWORK PROBLEM NOW, SUCKERS!" and then peel out of the parking lot in your Ferrari.
"The world could perish if people only worked on things that were easy to handle." -- Vladimir Savchenko
Вопросы есть? Вопросов нет! | BCEB: Belkin Certified Expert Baffler | "Plan B is Plan A with an element of panic." -- John Clarke
Accounting is architecture, remember that!
Air gaps are high-latency Internet connections.

active.hub2

Hi Deanwebb,

Let me rephrase my question.  VLAN will create a broadcast domain for all packets. 
But for STP BPDUs all the ports irrespective of VLAN will be a broadcast domain.

Can you please tell if there is any configuration that can be made on switch so that the broadcast domain of VLAN will be applicable for STP BPDUs also.

Thanks
uv.

deanwebb

Well, I can note that if the IP addressing is messed up, the port will shut down, as you note. As for BPDUs, are the SG300 ports set to enable, auto, or disable?

Looking at https://www.cisco.com/c/en/us/support/docs/smb/switches/cisco-small-business-200-series-smart-switches/smb81-setup-spanning-tree-protocol-stp-on-a-interface-on-the-200-3.html as a reference.

Also, what are the Root Guard and BPDU Guard settings?
Take a baseball bat and trash all the routers, shout out "IT'S A NETWORK PROBLEM NOW, SUCKERS!" and then peel out of the parking lot in your Ferrari.
"The world could perish if people only worked on things that were easy to handle." -- Vladimir Savchenko
Вопросы есть? Вопросов нет! | BCEB: Belkin Certified Expert Baffler | "Plan B is Plan A with an element of panic." -- John Clarke
Accounting is architecture, remember that!
Air gaps are high-latency Internet connections.