[R1]ping 10.0.12.2 PING 10.0.12.2: 56 data bytes, press CTRL_C to break Reply from 10.0.12.2: bytes=56 Sequence=1 ttl=255 time=80 ms Reply from 10.0.12.2: bytes=56 Sequence=2 ttl=255 time=50 ms Reply from 10.0.12.2: bytes=56 Sequence=3 ttl=255 time=40 ms Reply from 10.0.12.2: bytes=56 Sequence=4 ttl=255 time=30 ms Reply from 10.0.12.2: bytes=56 Sequence=5 ttl=255 time=10 ms
--- 10.0.12.2 ping statistics --- 5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 10/42/80 ms
[R1]ping 10.0.13.3 PING 10.0.13.3: 56 data bytes, press CTRL_C to break Reply from 10.0.13.3: bytes=56 Sequence=1 ttl=255 time=60 ms Reply from 10.0.13.3: bytes=56 Sequence=2 ttl=255 time=50 ms Reply from 10.0.13.3: bytes=56 Sequence=3 ttl=255 time=40 ms Reply from 10.0.13.3: bytes=56 Sequence=4 ttl=255 time=10 ms Reply from 10.0.13.3: bytes=56 Sequence=5 ttl=255 time=50 ms
--- 10.0.13.3 ping statistics --- 5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 10/42/60 ms
查看R1的路由表
1 2 3 4 5 6 7 8 9 10 11 12 13 14
[R1]display ip routing-table Route Flags: R - relay, D - download to fib ------------------------------------------------------------------------------ Routing Tables: Public Destinations : 6 Routes : 6
Destination/Mask Proto Pre Cost Flags NextHop Interface
10.0.12.0/24 Direct 0 0 D 10.0.12.1 GigabitEthernet 0/0/3 10.0.12.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet 0/0/3 10.0.13.0/24 Direct 0 0 D 10.0.13.1 GigabitEthernet 0/0/1 10.0.13.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet 0/0/1 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.0.1 InLoopBack0