1、实现全网通,考虑环形拓扑的优势。

R12:
[Huawei]interface GigabitEthernet 0/0/0
[Huawei-GigabitEthernet0/0/0]ip address 192.168.1.1 24
[Huawei]interface GigabitEthernet 0/0/1
[Huawei-GigabitEthernet0/0/1]ip address 192.168.2.1 24
[Huawei]interface GigabitEthernet 0/0/2
[Huawei-GigabitEthernet0/0/2]ip address 192.168.3.1 24
[R12]ip route-static 192.168.4.0 24 192.168.2.2
[R12]ip route-static 192.168.4.0 24 192.168.3.2 Pre 61
[R12]ip route-static 192.168.5.0 24 192.168.2.2 Pre 61
[R12]ip route-static 192.168.5.0 24 192.168.3.2
[R12]ip route-static 192.168.6.0 24 192.168.3.2
[R12]ip route-static 192.168.6.0 24 192.168.2.2
[R12]display ip routing-table protocol static

R11:
[R11]interface GigabitEthernet 0/0/0
[R11-GigabitEthernet0/0/0]ip address 192.168.2.2 24
[R11]interface GigabitEthernet 0/0/1
[R11-GigabitEthernet0/0/1]ip address 192.168.4.1 24
[R11]ip route-static 192.168.1.0 24 192.168.2.1
[R11]ip route-static 192.168.1.0 24 192.168.4.2 Pre 61
[R11]ip route-static 192.168.3.0 24 192.168.2.1
[R11]ip route-static 192.168.3.0 24 192.168.4.2 Pre 61
[R11]ip route-static 192.168.5.0 24 192.168.4.2
[R11]ip route-static 192.168.5.0 24 192.168.2.1 Pre 61
[R11]ip route-static 192.168.6.0 24 192.168.4.2
[R11]ip route-static 192.168.6.0 24 192.168.2.1 Pre 61

R13:
[R13]interface GigabitEthernet 0/0/0
[R13-GigabitEthernet0/0/0]ip address 192.168.4.2 24
[R13]interface GigabitEthernet 0/0/1
[R13-GigabitEthernet0/0/1]ip address 192.168.5.2 24
[R13]interface GigabitEthernet 0/0/2
[R13-GigabitEthernet0/0/2]ip address 192.168.6.1 24
[R13]ip route-static 192.168.1.0 24 192.168.4.1
[R13]ip route-static 192.168.1.0 24 192.168.5.1
[R13]ip route-static 192.168.2.0 24 192.168.4.1
[R13]ip route-static 192.168.2.0 24 192.168.5.1 Pre 61
[R13]ip route-static 192.168.3.0 24 192.168.5.1
[R13]ip route-static 192.168.3.0 24 192.168.4.1 Pre 61
[R13]display ip routing-table protocol static

R14:
[R14]interface GigabitEthernet 0/0/0
[R14-GigabitEthernet0/0/0]ip address 192.168.5.1 24
[R14]interface GigabitEthernet 0/0/1
[R14-GigabitEthernet0/0/1]ip address 192.168.3.2 24
[R14]ip route-static 192.168.1.0 24 192.168.3.1
[R14]ip route-static 192.168.1.0 24 192.168.5.2 Pre 61
[R14]ip route-static 192.168.2.0 24 192.168.3.1
[R14]ip route-static 192.168.2.0 24 192.168.5.2 Pre 61
[R14]ip route-static 192.168.4.0 24 192.168.5.2
[R14]ip route-static 192.168.4.0 24 192.168.3.1 Pre 61
[R14]ip route-static 192.168.6.0 24 192.168.5.2
[R14]ip route-static 192.168.6.0 24 192.168.3.1 Pre 61
[R14]display ip routing-table protocol static

PC6:

PC7:

2、测试
ping192.168.6.3:

ping192.168.4.1:

R12和R13断开时,ping192.168.4.1:
