Network Switch - Configure VLANs to separate traffic between departments

This example demonstrates how to set up the switch to make separate traffic between departments.
Using Static VLAN, hosts accessing the same VLAN will only be able to communicate with each other.

1.JPG

Set up VLAN to separate the traffic between departments

2.JPG

 

Configure Switch-1

 

1. Set up VLAN1 on Switch-1:
Port 1, 2 as Normal (Prevent VLAN1 broadcast packets to port 1, 2). Enter the web GUI and go to:

SWITCHING > VLAN > VLAN Setup > Static VLAN

Then select VLAN1 (VID1) and click "Add/Edit":

Select port 1, 2 as Normal. Click “Add”.

 

Create VLAN10 on Switch-1:
Enter the web GUI and go to:

SWITCHING > VLAN > VLAN Setup > Static VLAN

Then click on Add/Edit:

Check the “ACTIVE” Type the Name and VLAN Group ID=10. Select port 1, 5 as Fixed and uncheck Tx Tagging (Untagged) on port 1 and check Tx Tagging (Tagged) on port 5. Click “Apply”.



Create VLAN20 on Switch-1:
Enter the web GUI and go to:

SWITCHING > VLAN > VLAN Setup

Click on Add/Edit.

Then check the “ACTIVE” Type the Name and VLAN Group ID=20. Select port 2, 5 as Fixed and uncheck Tx Tagging (Untagged) on port 2 and check Tx Tagging (Tagged) on port 5. Click “Apply”.

 

Set the PVID on Switch-1:
Go to:

SWITCHING > VLAN > VLAN Setup > VLAN Port Setup

Set port 1 as PVID=10 (VLAN 10) and port 2 as PVID=20 (VLAN 20).

 

 

Configure Switch 2

Set up VLAN1 on Switch-2:
Port 3, 4 as Normal port (this prevents VLAN1 from broadcasting packets to port 3, 4). Enter the web GUI and go to:

SWITCHING > VLAN > VLAN Setup > Static VLAN > Select VID1 > Add/Edit

Select port 3, 4 as Normal.
Click “Add”.



Create VLAN10 on Switch-2:
Enter the web GUI and go to:

SWITCHING > VLAN > VLAN Setup > Static VLAN > Add/Edit

Check the “ACTIVE” Type the Name and VLAN Group ID=10.
Select port 3, 5 as Fixed and uncheck Tx Tagging (Untagged) on port 3 and check Tx Tagging (Tagged) on port
Click “Apply”.

 

Create VLAN20 on Switch-2:
Enter the web GUI and go to:

SWITCHING > VLAN > VLAN Setup > Static VLAN > Add/Edit

Check the “ACTIVE” Type the Name and VLAN Group ID=20. Select port 4, 5 as Fixed and uncheck Tx Tagging (Untagged) on port 4 and check Tx Tagging (Tagged) on port
Click “Apply”.

 

Set the PVID on Switch-2:

Go to:

SWITCHING > VLAN > VLAN Setup > VLAN Port Setup

Set port 3 as PVID=10 (VLAN 10) and port 4 as PVID=20.

 

 

Test the result

  • The PC in the same VLAN can ping each PC-1 can ping PC-3 successfully, but PC-1 cannot ping PC-2.

 11.JPG

  • PC-2 can ping PC-4 successfully, but PC-2 cannot ping PC-3.

12.JPG

 

KB-00465

Articles in this section

Was this article helpful?
16 out of 22 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.