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 requirements:
Interworking between 1.vlan10
Interworking between 2.vlan20
3.vlan88 and vlan20 interworking (using hybrid)
Configuration steps and ideas:
one。 Configure the PC with IP
Pc4:
Ip: 192.168.1.1
Subnet mask: 255.255.255.0
Gateway: 192.168.1.254
Pc5:
Ip: 192.168.2.1
Subnet mask: 255.255.255.0
Gateway: 192.168.2.254
Pc6:
Ip: 192.168.1.2
Subnet mask: 255.255.255.0
Gateway: 192.168.1.254
Pc7:
Ip: 192.168.2.2
Subnet mask: 255.255.255.0
Gateway: 192.168.2.254
Server2:
Ip: 192.168.88.1
Subnet mask: 255.255.255.0
Gateway: 192.168.88.254
two。 Create a vlan in lsw2 using hybrid mode
Note: find out the direction of data flow and see which line is the blocking port.
Vlan batch 10 20 88 / / create vlan10,20,88
Interface ge0/0/2 / / enter the interface
Port link-type hybrid / / configure link class hybrid for link PC
Port hybrid pvid vlan 10 / / PVID on the configured port is 10
Interface ge0/0/3 / / enter the interface
Port link-type hybrid / / configure link class hybrid for link PC
Port hybrid pvid vlan 20 / / PVID on the configured port is 20
three。 Create a vlan in lsw3 using hybrid mode
Vlan batch 10 20 88 / / create vlan10,20,88
Interface ge0/0/1 / / enter the interface
Port link-type hybrid / / configure link class hybrid for link PC
Port hybrid pvid vlan 10 / / PVID on the configured port is 10
Interface ge0/0/1 / / enter the interface
Port link-type hybrid / / configure link class hybrid for link PC
Port hybrid pvid vlan 10 / / the PVID on the configured port is 20
Note: lsw2 and lsw3 databases must be consistent
four。 Configure the VLAN of the encapsulation label on each port
1. On lsw2
Interface fe0/0/2
Port hyvrid untagges vlan 10 ensures that after lsw2 receives the data sent by lsw3, it is dismantled and sent to gi0/0/4.
Interface fe0/0/3
Port hyvrid untagges vlan 20 ensures that after lsw2 receives the data sent by lsw3, it is dismantled and sent to gi0/0/4.
Port hyvrid untagges vlan 88 ensures that after lsw2 receives the data sent by lsw1, it is dismantled and sent to gi0/0/4.
Iterface ge0/0/4
Port hybrid tagged vlan 10 ensures that the link between switches forwards data with label 10
Interface ge0/0/4
Port hybrid tagged vlan 20 ensures that links between switches carry label 20 when forwarding data out
Interface ge0/0/1
Port hybrid tagged vlan 20 ensures that links between switches forward data out with label 88
two。 On lsw3
Interface ge0/0/2
Port hyvrid untagges vlan 10 ensures that after lsw3 receives the data sent by lsw2, it is dismantled and sent to gi0/0/4.
Interface ge0/0/3
Port hyvrid untagges vlan 20 ensures that after lsw3 receives the data sent by lsw2, it is dismantled and sent to gi0/0/4.
Interface ge0/0/2
Port hybrid tagged vlan 10 ensures that the link between switches forwards data with label 10
Interface ge0/0/3
Port hybrid tagged vlan 20 ensures that links between switches carry label 20 when forwarding data out
3 on lsw1
Interface ge0/0/3
Port hyvrid untagges vlan 10 ensures that after lsw1 receives the data sent by lsw2, it is dismantled and sent out by gi0/0/1.
Interface ge0/0/1
Port hybrid tagged vlan 88 ensures that the link between switches forwards data with label 88
five。 Create a vlan configuration gateway on lsw1
Vlan batch 10 20 88 create vlan10 20 88
Configure the gateway for vlan10
Interface vlan 10
Ip address 192.168.1.254 255.255.255.0
Configure the gateway for vlan20
Interface vlan 20
Ip address 192.168.2.254 255.255.255.0
Configure the gateway for vlan88
Interface vlan 88
Ip address 192.168.88.254 255.255.255.0
six。 Verification. test
1. Interworking between vlan10 based on ping 192.168.1.2 on pc4
two。 Interworking between vlan10 based on ping 192.168.1.2 on pc5
3. Realize the interworking between vlan20 and vlan 88 on any PC ping vlan 88 on vlan20
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.