问题描述:
一.进行合理的IP地址划分
二.配置IP地址
AR1:
[Huawei-GigabitEthernet0/0/0]ip add 192.168.1.17 28
[Huawei-GigabitEthernet0/0/1]ip add 192.168.1.33 28
[Huawei-GigabitEthernet0/0/1]int l0
[Huawei-LoopBack0]ip add 192.168.1.129 29
[Huawei-LoopBack0]int l1
[Huawei-LoopBack1]ip add 192.168.1.137 29
AR2:
[Huawei]int g 0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 192.168.1.18 28
[Huawei-GigabitEthernet0/0/0]
Sep 22 2021 21:16:29-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]int g 0/0/1
[Huawei-GigabitEthernet0/0/1]ip add 192.168.1.49 28
Sep 22 2021 21:16:58-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-GigabitEthernet0/0/1]int l0
[Huawei-LoopBack0]ip add 192.168.1.145 29
[Huawei-LoopBack0]int l1
[Huawei-LoopBack1]ip add 192.168.1.153 29
AR3:
[Huawei]int g 0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 192.168.1.34 28
Sep 22 2021 21:24:50-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]int g 0/0/1
[Huawei-GigabitEthernet0/0/1]ip add 192.168.1.65 28
[Huawei-GigabitEthernet0/0/1]
Sep 22 2021 21:25:06-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-GigabitEthernet0/0/1]int g 0/0/2
[Huawei-GigabitEthernet0/0/2]ip add 192.168.1.81 28
Sep 22 2021 21:25:23-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[2]:The line protocol
IP on the interface GigabitEthernet0/0/2 has entered the UP state.
AR4:
[Huawei]display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 31 Routes : 32
Destination/Mask Proto Pre Cost Flags NextHop Interface
0.0.0.0/0 Static 60 0 D 192.168.1.98 GigabitEthernet
0/0/2
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0