本文主要是介绍华为--IA复习静态路由实验,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
1、实验拓扑
2、实验要求
- 全网可达
- 拓扑中所需地址全部基于192.168.0.0/24划分所得
- 静态路由(不许使用其他动态)
- R8环回需要汇总
3、实验分析及拓扑处理
需要一个骨干链路、一个环回汇总和一个虚拟局域网汇总。所以需要划分三个网段,借两位。
一个骨干链路需要六个网段,需要借四位。
三个环回,需要借两位。
两个虚拟局域网借一位。
4、各设备配置
R1
The device is running!
<Huawei>
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]interface g0/0/0
[Huawei-GigabitEthernet0/0/0]ip address 192.168.0.1 30
Nov 22 2020 16:16:20-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
IP on the interface GigabitEthernet0/0/0 has entered the UP state.
[Huawei-GigabitEthernet0/0/0]q
[Huawei]interface g0/0/1
[Huawei-GigabitEthernet0/0/1]ip address 192.168.0.22 30
Nov 22 2020 16:46:25-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
IP on the interface GigabitEthernet0/0/1 has entered the UP state.
[Huawei-GigabitEthernet0/0/1]q
[Huawei]interface LoopBack 0
[Huawei-LoopBack0]ip address 192.168.0.65 28
[Huawei-LoopBack0]q
[Huawei]interface LoopBack 1
[Huawei-LoopBack1]ip add 192.168.0.81 28
[Huawei-LoopBack1]q
[Huawei]interface LoopBack 2
[Huawei-LoopBack2]ip address 192.168.0.97 28
[Huawei-LoopBack2]q
[Huawei]
[Huawei]ip route-static 192.168.0.4 30 192.168.0.2
[Huawei]ip route-static 192.168.0.8 30 192.168.0.2
[Huawei]ip route-static 192.168.0.12 30 192.168.0.2
[Huawei]ip route-static 192.168.0.16 30 192.168.0.2
[Huawei]ip route-static 192.168.0.128 26 192.168.0.2
[Huawei]ip route-static 192.168.0.128 26 192.168.0.21
[Huawei]ip route-static 192.168.0.16 30 192.168.0.21
[Huawei]ip route-static 192.168.0.12 30 192.168.0.21
[Huawei]ip route-static 192.168.0.8 30 192.168.0.21
[Huawei]ip route-static 192.168.0.4 30 192.168.0.21
[Huawei]
[Huawei]ip route-static 192.168.0.64 26 NULL 0
[Huawei]
[Huawei]ip route-static 0.0.0.0 0 192.168.0.2
[Huawei]ip route-static 0.0.0.0 0 192.168.0.21
[Huawei]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<Huawei>
<Huawei>save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait.......
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<Huawei>
R2
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]interface g0/0/0
[Huawei-GigabitEthernet0/0/0]ip address 192.168.0.2 30
Nov 22 2020 16:31:34-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
IP on the interface GigabitEthernet0/0/0 has entered the UP state.
[Huawei-GigabitEthernet0/0/0]q
[Huawei]interface g0/0/1
[Huawei-GigabitEthernet0/0/1]ip address 192.168.0.5 30
Nov 22 2020 16:32:22-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocol
IP on the interface GigabitEthernet0/0/1 has entered the UP state.
[Huawei-Gigab
这篇关于华为--IA复习静态路由实验的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!