In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Objective: to realize the interworking of the whole network through static route and default route.
Topology Diagram:
Steps and configuration:
Manually configure the ip address, subnet mask, and gateway of PC1,PC2.
AR1:
[Huawei] sys R1 # modify the device name to R1
[R1] int gi0/0/0 # enters port 0
[R1-GigabitEthernet0/0/0] undo shutdown # enable Port
[R1-GigabitEthernet0/0/0] ip add 192.168.1.254 255.255.255.0 # configure IP
[R1-GigabitEthernet0/0/0] int gi0/0/1 # enters port 1
[R1-GigabitEthernet0/0/1] un shutdown # enable Port
[R1-GigabitEthernet0/0/1] ip add 192.168.2.1 255.255.255.0 # configure IP
[R1-GigabitEthernet0/0/0] quit # returns to view mode
[R1] ip route-static 0.0.0.0 0.0.0.0 192.168.2.2 # configure a default route
AR2:
[Huawei] sys R2 # change the device name to R2
[R1] int gi0/0/0 # enters port 0
[R2-GigabitEthernet0/0/0] undo shutdown # enable Port
[R2-GigabitEthernet0/0/0] ip add 192.168.2.2 255.255.255.0 # configure IP
[R2-GigabitEthernet0/0/0] int gi0/0/1 # enters port 1
[R2-GigabitEthernet0/0/1] un shu # enable Port
[R2-GigabitEthernet0/0/1] ip add 192.168.3.1 255.255.255.0 # configure IP
[R2-GigabitEthernet0/0/0] quit # returns to view mode
[R2] ip route-static 192.168.1.0 255.255.255.0 192.168.2.configure a default route
[R2] ip route-static 192.168.4.0 255.255.255.0 192.168.2.3.configuration default route
AR3:
[Huawei] sys R3 # modify device name to R3
[R3] int gi0/0/0 # enters port 0
[R3-GigabitEthernet0/0/0] undo shutdown # enable Port
[R3-GigabitEthernet0/0/0] ip add 192.168.3.2 255.255.255.0 # configure IP
[R3-GigabitEthernet0/0/0] int g0amp 0ram 1 # enter port 1
[R3-GigabitEthernet0/0/1] un shu # enable Port
[R3-GigabitEthernet0/0/1] ip add 192.168.4.254 255.255.255.0 # configure IP
[R3-GigabitEthernet0/0/0] quit # returns to view mode
[R3] ip route-static 0.0.0.0 0.0.0.0 192.168.3.1 # configure a default route
Test and verification
Pc1== > pc2
Pc2== > pc1
Novice on the road, the god gives a lot of advice. "
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.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.