In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Topological structure diagram
The first step of the experiment is to configure the sw2 switch sys [Huawei] sysname SW2 [SW2] vlan batch 10 [SW2] int e0 and 0 [SW2-Ethernet0/0/2] port link-type access [SW2-Ethernet0/0/2] port default vlan 10 [SW2-Ethernet0/0/2] un sh [SW2-Ethernet0/0/2] int e0 [SW2-Ethernet0/0/3] port link-type access [SW2-Ethernet0/0/3] port default vlan 20 [SW2-Ethernet0] / 0/3] un sh [SW2-Ethernet0/0/3] int e0/0/1 [SW2-Ethernet0/0/1] port link-type trunk [SW2-Ethernet0/0/1] port trunk allow-pass vlan all [SW2-Ethernet0/0/1] un sh [SW2-Ethernet0/0/1] int g0/0/1 [SW2-GigabitEthernet0/0/1] port link-type trunk [SW2-GigabitEthernet0/0/1] port trunk allow-pass vlan all [SW2-GigabitEthernet0/0/1] un sh Step 2: configure the sw3 switch sys [Huawei] sysname SW3 [SW3] vlan batch 10 [SW3] int e0Accord 2 [SW3-Ethernet0/0/2] port link-type access [SW3-Ethernet0/0/2] port default vlan 10 [SW3-Ethernet0/0/2] un sh [SW3-Ethernet0/0/2] int e0Accord 3 [SW3-Ethernet0/0/3] port link-type access [SW3-Ethernet0/0/3] port default vlan 20 [SW3-Ethernet0/0] / 3] un sh [SW3-Ethernet0/0/3] int e0Placement 1 [SW3-Ethernet0/0/1] port link-type trunk [SW3-Ethernet0/0/1] port trunk allow-pass vlan all [SW3-Ethernet0/0/1] un sh step 3: configure sw1 layer 3 switch (default route up) Pointing down to the static route) Sys [Huawei] sysname SW1 [SW1] vlan batch 10 20 1000 [SW1] int g0xx 1 [SW1-GigabitEthernet0/0/1] port link-type trunk [SW1-GigabitEthernet0/0/1] port trunk allow-pass vlan all [SW1-GigabitEthernet0/0/1] un sh [SW1-GigabitEthernet0/0/1] int g0and2 [SW1-GigabitEthernet0/0/2] port link-type access [SW1-GigabitEthernet0/0/2] port default vlan 1000 [SW1-GigabitEthernet0/0 / 2] un sh [SW1-GigabitEthernet0/0/2] people [SW1] int vlanif 10 [SW1-Vlanif10] ip add 192.168.10.1 24 [SW1-Vlanif10] int vlanif 20 [SW1-Vlanif20] ip add 192.168.20.1 24 [SW1] int vlanif 1000 [SW1-Vlanif1000] ip add 11.0.0.1 30 [SW1-Vlanif1000] Q [SW1] ip route-static 0.0.0.0 0.0.0 11.0.0.2 step 4: configure R1 Router sys [Huawei] sysname R1 [R1] int g0Accord 0 [R1-GigabitEthernet0/0/0] ip add 11.0.0.2 30 [R1-GigabitEthernet0/0/0] un sh [R1-GigabitEthernet0/0/0] int loopback 0 [R1-LoopBack0] ip add 1.1.1.1 30 [R1-LoopBack0] Q [R1] ip route-static 192.168.10.0 24 11.0.0.1 [R1] ip route-static 192.168.20.0 24 11 .0.0.1 step 5: configure PC IP address and gateway
Step 6: test the interconnection of the whole network
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.