How to share a switch with multiple routers connected and make them work independently?

Used Products:

How to share a switch with multiple routers connected and make them work independently?

 

Introduction:

I wanted to convert this L2+ switch into multiple dumb unmanaged (ie L2) switches, as this use case is basically the equivalent of buying 3x TL-SG116, but being done with a single and configurable TL-SG3452.

The 3 routers connected need to work independently, and the port 1 is only used for switch administration.

 

Hardware: I used TP-Link TL-SG3452 in this case, and you can use any switch with 802.1Q VLAN.

 

Network Layout:

 

Configuration Scheme

To meet the above requirements, configure 802.1Q VLAN on the switch.

1) Keep port 1 in VLAN 1 and exclude the rest ports to intended VLANs.

2)Create VLAN 206. Add port 2, 3, 4, 5, 6 to VLAN 206.

3) Create VLAN 2. Add port 7, 9, 10 to VLAN 2.

4) Create VLAN 3. Add port 13, 14, 16 to VLAN 3

VLAN Configurations on the Switch:

 

VLAN

Egress Rule

PVID

Port 1

1

Untagged

1

Port 2-6

206

Untagged

206

Port 7, 9, 10

2

Untagged

2

Port 13, 14, 16

3

Untagged

3

 

 

Configuration Steps:

  1. Go to L2 Features>802.1Q VLAN>VLAN Config to keep port 1 in VLAN 1 and exclude rest ports to intended VLANs.

 

  1. Create VLAN 206 and add untagged ports 2-6.

 

  1. Create VLAN 2, and add untagged ports 7, 9, 10.

 

  1. Create VLAN 3, and add untagged ports 13, 14, 16

 

  1. Go to L2 Features>802.1Q VLAN>Port Config, change the PVID to same value for the ports in intended VLANs.

For ports 2-6, the PVID should be changed to 206.

For ports 7, 9, 10, the PVID should be changed to 2.

For ports 13, 14, 16, the PVID should be changed to 3.

 

 

At this point, the 3 routers connected to the same switch should work properly.

2

Comment

Im not recover

upload
    upload
      Subscriptions