In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Experimental demand
Lab requirements:
1.PC-1/2/3 addressing based on requirements
Interworking between 2.PC-1 and PC-3
Interworking between 3.PC-2 and PC-3
4.PC-1 can't communicate with PC-2.
5. Dynamic learning of VLAN information between switches
6. Achieve the robustness of the connection between SW2 and SW3
7.IP address planning
PC-1: 192.168.1.1/25
PC-2: 192.168.1.2/26
PC-3: 192.168.1.3/27
Experimental thinking
Based on the needs of the experiment, the knowledge points of analysis and confirmation are as follows:
1. Binary conversion, subnetting
2. The dynamic synchronization technology of VLAN-GVRP
3. Port type of VLAN (access/trunk/hybrid)
4. Link bundling technology-channel
Experimental procedure
1. Configure the IP address of PC-1/2/3
PC-1:
192.168.1.1 255.255.255.128
PC-2:
192.168.1.2 255.255.255.192
PC-3:
192.168.1.3 255.255.255.224
2. Configure the VLAN of the switch and configure the synchronization protocol
SW1:
-create VLAN manually
-enable GVRP
[SW1] vlan 10 # create VLAN 10
[SW1] vlan 20 # create VLAN 20
[SW1] vlan 30 # create VLAN 30
[SW1] gvrp # enable GVRP globally
[SW1] interface gi0/0/12 # must also enable GVRP under the API
[SW1-gi0/0/12] gvrp
SW2/3:-enable GVRP-static creation VLAN [SW2] gvrp # globally enable GVRP [SW2] interface gi0/0/12 # enable GVRP [SW2-gi0/0/12] gvrp [SW2] interface gi0/0/23 # enable GVRP [SW2-gi0/0/12] gvrp [SW2] interface gi0/0/24 # enable GVRP [SW2-gi0 under Port / 0lap12] gvrp [SW2] vlan 10 # VLAN list obtained based on GVRP protocol Manually create VLAN information [SW2] vlan 20 [SW2] vlan 30
The operation on SW3 is exactly the same as SW2, except that the configured interface is different.
3. Configure the type of port on which the switch connects to the PC-1/2/3
[SW1] interface gi0/0/1 # Port to connect to PC-1
[SW1-gi0/0/1] port link-type hybrid
[SW1-gi0/0/1] port hybrid pvid vlan 10 # inbound traffic is labeled vlan 10
[SW1-gi0/0/1] port hybrid untagged vlan10 30 # Traffic is untagged for vlan10 and vlan30
[SW1] interface gi0/0/2 # Port to connect to PC-2
[SW1-gi0/0/1] port link-type hybrid
[SW1-gi0/0/1] port hybrid pvid vlan 20 # inbound traffic is labeled vlan 20
[SW1-gi0/0/1] port hybrid untagged vlan20 30 # outbound traffic is untagged for vlan20 and vlan30
[SW1] interface gi0/0/12
[SW1-gi0/0/12]
4. Configure the link between the switch and the switch as trunk.
5. Configure the VLAN of the switch and the synchronization protocol
6. Configure "link bundling" between SW2 and SW3
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.