One port is allocated to multiple VLANs

Source: Internet
Author: User

Due to work requirements, I want to route a port to multiple VLANs if I do not want to start the routing. The purpose is as follows:

1. Isolate ports that do not want mutual access. For example, two Departments)

2. Route all ports to all VLANs. Such as Shared Server)

3. Do not open the routing agreement. The starting route will reduce the processing speed)

Perform the following operations based on the collected information and your actual environment experiment:

Huawei 6506)

Sys
Vlan 100
Quit
Vlan 200
Quit
Vlan 300 is assumed that there are only three VLANs, all of which can access port 1 and cannot be accessed between VLAN100, 200, and 300)
Quit
Vlan 100
Port e 1/1 to e 1/8
Quit
Vlan 200
Port e 1/9 to e 1/16
Quit
Vlan 300
Port e 1/17 to e 1/24
Quit
Int e 1/1 (Port connected to the server)
Port link-type trunk
Port trunk permit vlan 100 200 300
Quit

Disp vlan 100
Port 1-8 belongs to VLAN 100.
Disp vlan 200
We found port 200-16 belongs to VLAN.
Disp vlan 300
We found port 300-24 belongs to VLAN.

In this way, all ports on the vswitch can access port 1, While VLANs cannot access each other.

Note:

The server Nic connecting to the TRUNK port supports 802.1Q. Otherwise, the port is not pinged even if it belongs to multiple VLANs. This is what I have encountered in reality.

Summary:

In practice, you can implement this function in multiple ways:

1. trunk

2. hybrid

3. multi

4. PVLAN

I have tried these methods and they are all feasible. However, only one of these methods can be used.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.