Route + 2 layer switch (Multi-VLAN)

Source: Internet
Author: User

Route

Use sub-interfaces

Configure fa0/0 with no IP address and activate

Interface fastethernet0/0

No IP Address

No shut

Configure sub-interface 1Fa0/0.1

Interface fastethernet0/0.1

Encapsulation dot1q 2 (vlan2)

IP address 10.10.10.1 255.255.255.0

No shut

ConfigurationSub-interface 2Fa0/0.2

Interface fastethernet0/0.2

Encapsulation dot1q 3(Vlan3)

IP address 255.255.20.1 255.255.255.0

No shut

SW Configuration:

Create vlan2 and vlan3

VLAN Database

VLAN 2

VLAN Database

VLAN 3

Configure the port connected to the vro

Int fa 0/1

Switch Mode trunk

Switch trunk encapsulation dot1q

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.