How to configure 802.1Q VLAN on Omada Switches when used with a third-party router

User Application Requirement
Updated 07-11-2024 01:57:21 AM 8580
This Article Applies to: 

Contents

Objective

Requirements

Introduction

Configuration

Conclusion

Related Articles

Objective

This article describes how to configure VLANs on Omada Switches on Omada Controller when used with a third-party router.

Requirements

  • Omada Smart, L2+ and L3 switches
  • Omada Controller (Software Controller / Hardware Controller / Cloud Based Controller, V5.9 and above)

Introduction

A Virtual Local Area Network (VLAN) is a network topology configured according to a logical scheme rather than the physical layout. Hosts in the same VLAN communicate with each other as if they are in a LAN. However, hosts in different VLANs cannot communicate with each other directly. Now let´s learn how to configure 802.1Q VLAN on Omada Switches by the following example.

Switch 1 connects to the Internet via a third party router in port 1, and connects to Switch 2 with an Ethernet cable in port 4.

The computers of Department A connect to port 2 of Switch 1 and port 2 of Switch 2. And the computers of Department B connect to port 3 of Switch 1 and port 3 of Switch 2.

Purpose:

1. The computers from Department A can communicate with each other.

2. The computers from Department B can communicate with each other.

3. The computers of Department A and Department B can’t communicate with each other.

4. Both the Department A and Department B can go to Internet through the third party router.

To achieve Purpose 1, we create the VLAN whose VLAN ID is 10.

To achieve Purpose 2, we create the VLAN whose VLAN ID is 20

By setting VLAN 10 and 20, we have achieved Purpose 3.

To achieve Purpose 4, we use the default VLAN whose VLAN ID is 1.

VLAN Configuration parameters:

Switch 1

Port

1

2

3

4

Egress Rule

Untagged:

VLAN 1,10,20

Untagged:

VLAN 1,10

Untagged:

VLAN 1, 20

Untagged:VLAN 1 Tagged:VLAN 10,20

Native Network

1

10

20

1

Switch 2

Port

1

2

3

Egress Rule

Untagged: VLAN 1

Tagged: VLAN 10,20

Untagged:

VLAN 1,10

Untagged:

VLAN 1, 20

Native Network

1

10

20

Configuration

Step 1. Create the VLANs. Log in Controller, go to Settings > Wired Networks > LAN > Networks, click Create NEW LAN.

Create VLAN 10 and click Save.

Create VLAN 20 and click Save.

Step 2. Create Port Profiles. Go to Settings > Wired Networks > LAN > Profile, click Create New Port Profile.

Create new port profile and name it Internet. Select Native Network as Default and add all networks as Untagged Network, then click Save.

Create new port profile and name it Department A. Select Native Network as VLAN 10 and add both Default and VLAN 10 as Untagged Network, then click Save.

Create new port profile and name it Department B. Select Native Network as VLAN 20 and add both Default and VLAN 20 as Untagged Network, then click Save.

Now we have finished configuring the Port Profiles.

Step 3. Bind the Port Profiles to the ports of Switch 1.

Take SG3452X as an example here. Go to Devices > Device List > Switch 1 > Ports, edit Port 1.

Select Profile as Internet and click Apply.

Edit Port 2 and select Profile as Department A and click Apply.

Edit Port 3 and select Profile as Department B and click Apply.

For port 4, just leave the default configuration.

Step 4. Bind the Port Profiles to the ports of Switch 2.

Take SG2428LP as an example here. Go to Devices > Device List > Switch 2 > Ports. Edit port 2 and select Profile as Department A. Similarly, edit port 3 and select Profile as Department B. For port 1, just leave the default configuration.

Note: The scenario in this article is only intended to be used as an example of how to configure 802.1Q VLANs in Controller mode, and is not a typical application scenario. Such a scenario has some limitations.

In practice, you should plan VLANs and port profiles according to your own needs.

Conclusion

After completing the above configuration, our 4 purposes have been achieved.

Get to know more details of each function and configuration please go to Download Center to download the manual of your product.

Related FAQs

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.