Cisco认证考试重要知识辅导(1)
Cisco路由配置:路由器缺省路由及IP重定向
R1#ping .3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to .3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = ms
R1#show ip route
Default gateway is 112.1.1.2
Host Gateway Last Use Total Uses Interface
.3 112.1.1.3 0:00 8 Ethernet0
这个重定向是基于主机地址的,即针对每一个主机地址,都会单独做重定向,而不是一个网段,因为在ping的ICMP报文里,目的地址并没有携带掩码信息,让R1 ping R3的环回口德各个地址之后:
R1#show ip route
Default gateway is 112.1.1.2
Host Gateway Last Use Total Uses Interface
.3 112.1.1.3 0:02 8 Ethernet0
.2 112.1.1.3 0:00 8 Ethernet0
.1 112.1.1.3 0:00 8 Ethernet0
.4 112.1.1.3 0:00 8 Ethernet0
相关内容