How to configure 802.1Q VLAN on TP-Link Load Balance and VPN routers using the new GUI

Configuration Guide
Updated 06-27-2022 06:20:14 AM 194049
This Article Applies to: 

VLAN (Virtual Local Area Network) is a technology that can solve broadcasting issues. A LAN can be divided into several VLANs logically, and only the hosts in a same VLAN can communicate with each other.

Here is a configuration example of 802.1Q VLAN for TP-Link routers.

Example:

As the following figure shows, the switch connects to two different groups. It is required that the computers in the two groups cannot communicate with each other, but both of them can access the internet via the router.

Configuration Scheme

Configure 802.1Q VLAN on the router:

1) Create VLAN 2 and VLAN 3, and add port 5 (the LAN port) to both VLANs with the egress rule as Tagged.

Configure 802.1Q VLAN on the switch:

1) Create VLAN 2. Add port 1, 2 to VLAN 2.

2) Create VLAN 3. Add port 1, 3 to VLAN 3.

VLAN Configurations on the Router:

VLAN

Egress Rule

PVID

Port 5

VLAN 2-3

Tagged

-

VLAN Configurations on the Switch:

VLAN

Egress Rule

PVID

Port 1

VLAN 2-3

Tagged

-

Port 2

VLAN 2

Untagged

2

Port 3

VLAN 3

Untagged

3

Note: The PVID value “-” means you don’t need to configure the PVID for the corresponding port, just leave them as the default value.

Configuration Steps:

The router is demonstrated with TL-R600VPN, and the switch is demonstrated with TL-SG105E. The following section shows how to configure 802.1Q VLAN on the router and switch.

  • Configuring 80.21Q VLAN on the router

Choose the menu Network >VLAN > VLAN, click to load the configuration page. Create VLAN 2, 3 and add port 5 to both of the VLANs with the egress rule as Tag.

  • Configuring 80.21Q VLAN on the switch

Step 1:

Choose the menu VLAN > 802.1Q VLAN to load the configuration page. Enable 802.1Q VLAN function. Add port 1, 2 to VLAN 2 and port1, 3 to VLAN 3 as untagged ports. Specify the egress rule of port 1 as tagged in VLAN 2and VLAN 3; specify the egress rule of port 2 in VLAN 2as untagged; specify the egress rule of port 3 in VLAN 3 as untagged.

Step 2:

Choose the menu VLAN > 802.1Q PVID Setting to load the configuration page. Configure the PVIDs for port 2-3 as 2 and 3 respectively, and leave the PVID of port 1 as the default value 1.

Looking for More

Is this faq useful?

Your feedback helps improve this site.

Recommend Products

Community

TP-Link Community

Still need help? Search for answers, ask questions, and get help from TP-Link experts and other users around the world.

Visit the Community >

From United States?

Get products, events and services for your region.