Cross-network segment access management VLAN across VLANs

Source: Internet
Author: User

Managing VLANs and office VLANs are not the same, even across switches.

Experiment Name

Cross-network segment, access management VLAN across VLANs

Experimental topology

650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M02/8C/E0/wKioL1h8uffzaRYpAAEDMM7Bp40879.png "title=" 1.png "Width=" 580 "height=" 460 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:580px;height:460px; "alt=" Wkiol1h8uffzarypaaedmm7bp40879.png "/>

Ideas:

trunk/ default route (equals Cisco default gateway)

Description

Manage VLAN 1, which requires access to any VLAN 1 from the PC.

// Configure SW1

[H3c]sysname SW1

[Sw1]int Vlan1

[Sw1-vlan-interface1]ip Add 192.168.1.1 29

[Sw1-vlan-interface1]vlan 10

[Sw1-vlan10]int Vlan10

[Sw1-vlan-interface10]ip Add 192.168.10.1 24

[Sw1-vlan-interface10]vlan 20

[Sw1-vlan20]int Vlan20

[Sw1-vlan-interface20]ip Add 192.168.20.1 24

[Sw1-vlan-interface20]quit

// Configure interface for trunk

[Sw1]int G1/0/1

[Sw1-gigabitethernet1/0/1]port Link-type Trunk

[sw1-gigabitethernet1/0/1]port trunk Permit VLAN// do not write all to avoid garbage flow.

[Sw1-gigabitethernet1/0/1]int G1/0/2

[Sw1-gigabitethernet1/0/2]port Link-type Trunk

[Sw1-gigabitethernet1/0/2]port trunk Permit VLAN 20

//SW1 Configuration Complete

// Configure SW2

[H3c]sysn SW2

[Sw2]int G1/0/1

[Sw2-gigabitethernet1/0/1]port Link-type Trunk

[Sw2-gigabitethernet1/0/1]port trunk Permit VLAN 10

[Sw2-gigabitethernet1/0/1]int G1/0/2

[Sw2-gigabitethernet1/0/2]port link-type Access

[Sw2-gigabitethernet1/0/2]vlan 10

[Sw2-vlan10]port G1/0/2

[Sw2-vlan10]int Vlan1

[Sw2-vlan-interface1]ip Add 192.168.1.2 29

//vlan 1 IP finished, but the 10 segment is not accessible, and you need to add a default route

[Sw2]ip route-static 0.0.0.0 0 192.168.1.1

// Configure SW3, as with SW2

[H3c]sysn SW3

[Sw3]int G1/0/1

[Sw3-gigabitethernet1/0/1]port Link-type Trunk

[Sw3-gigabitethernet1/0/1]port trunk Permit VLAN 20

[Sw3-gigabitethernet1/0/1]int G1/0/2

[Sw3-gigabitethernet1/0/2]port link-type Access

[Sw3-gigabitethernet1/0/2]vlan 20

[Sw3-vlan20]port G1/0/2

[Sw3-vlan20]int Vlan1

[Sw3-vlan-interface1]ip Add 192.168.1.3 29

[Sw3]ip route-static 0.0.0.0 0 192.168.1.1

Experimental verification: Full Network interoperability




Cross-network segment access management VLAN across VLANs

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.