实验拓扑图
AR1配置:
system-view
[Huawei]sysname AR1
[AR1]interface LoopBack 0
[AR1-LoopBack0]ip address 10.1.1.1 24
[AR1-LoopBack0]q
[AR1]interface GigabitEthernet 0/0/0
[AR1-GigabitEthernet0/0/0]ip address 100.1.1.1 24
[AR1]rip
[AR1-rip-1]network 10.0.0.0
[AR1-rip-1]network 100.0.0.0
[AR1]ping -a 10.1.1.1 10.2.2.2
PING 10.2.2.2: 56 data bytes, press CTRL_C to break
Reply from 10.2.2.2: bytes=56 Sequence=1 ttl=255 time=270 ms
Reply from 10.2.2.2: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 10.2.2.2: bytes=56 Sequence=3 ttl=255 time=30 ms
Reply from 10.2.2.2: bytes=56 Sequence=4 ttl=255 time=30 ms
Reply from 10.2.2.2: bytes=56 Sequence=5 ttl=255 time=30 ms
--- 10.2.2.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/76/270 ms
AR2配置:
system-view
[Huawei]sysname na
[Huawei]sysname AR2
[AR2]interface LoopBack 0
[AR2-LoopBack0]ip address 10.2.2.2 24
[AR2]interface GigabitEthernet 0/0/0
[AR2-GigabitEthernet0/0/0]ip address 100.1.1.2 24
[AR1-rip-1]network 10.0.0.0
[AR2-rip-1]network 100.0.0.0
关键词:路由信息协议(路由信息协议RIP实验报告)