在2600和3700系列思科路由器上,我一直使用ping进行故障排除。 ping是在状态为up ,line protocol up接口上完成的。 在FastEthernet接口上,如果状态为up且线路协议为up ,则路由器可以成功Ping它自己的FastEthernet接口的IP地址。 对于串行接口,如果状态为up且线路协议为up ,则在某些情况下,路由器无法ping通自己的串行接口IP地址。
有人可以给出任何解释,为什么在一个串行接口处于up/up状态时,路由器自己的接口上的ping应该失败?
R4#show ip interface brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 192.168.10.1 YES NVRAM up up Serial0/0 192.168.1.2 YES NVRAM up up FastEthernet0/1 unassigned YES NVRAM administratively down down Serial0/1 192.168.4.1 YES NVRAM up up R4#ping 192.168.1.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds: ....
串行接口是帧中继吗? 如果是这样,则需要将本地接口IP映射到其中一个活动的DLCI以ping接口。
interface Serial0/0 ip address 192.168.0.1 255.255.255.0 frame-relay map ip 192.168.0.2 102 broadcast frame-relay map ip 192.168.0.1 102