取消
显示结果 
搜索替代 
您的意思是: 
cancel
88119
查看次数
22
有帮助
30
回复

引起下一跳地址无效的原因

gsm87_qq_com
Beginner
Beginner

1、接口配置 :
interface GigabitEthernet0/1
description To DianXinChenYuWan
ip address 117.28.224.145 255.255.255.252
duplex auto
speed auto
media-type rj45
2、配置默认路由:
CT-R7400(config)# ip route 0.0.0.0 0.0.0.0 117.28.224.146
%Invalid next hop address (it's this router)
CT-R7400#ping 117.28.224.146
3、对端接口是ping的通,并且用笔记本电脑设置是可以上互联网。
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 117.28.224.146, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
4、有路由表
CT-R7400#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is 61.154.8.185 to network 0.0.0.0
117.0.0.0/30 is subnetted, 1 subnets
C 117.28.224.144 is directly connected, GigabitEthernet0/1
5、路由器版本
CT-R7400#sh version
Cisco Internetwork Operating System Software
IOS (tm) 7400 Software (C7400-JK9S-M), Version 12.2(15)T, RELEASE SOFTWARE (fc1)
TAC Support: http://www.cisco.com/tac
Copyright (c) 1986-2003 by cisco Systems, Inc.
Compiled Mon 10-Mar-03 21:47 by ccai
Image text-base: 0x60008954, data-base: 0x62088000
ROM: System Bootstrap, Version 12.2(4r)B1, RELEASE SOFTWARE (fc1)
BOOTLDR: 7400 Software (C7400-KBOOT-M), Version 12.2(4)B4, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)
CT-R7400 uptime is 33 weeks, 6 days, 16 hours, 15 minutes
System returned to ROM by bus error at PC 0x60102BBC, address 0x0
System restarted at 19:02:19 GMT Mon Nov 9 2015
System image file is "disk0:c7400-jk9s-mz.122-15.T.bin"
6、请问是什么原因?
30 条回复30

one-time
Expert
Expert
感谢您的提问,会有小伙伴为您解答的!:):handshake

huoran1234
Spotlight
Spotlight
是不是设备上有其他接口配置有相同的地址。。sh ip int b看看

fortune
VIP Alumni
VIP Alumni
%Invalid next hop address (it's this router) 你这个地址已经配置在了本地路由器,你看看接口地址是不是配置了这个,这个报错就是这个意思哦!

suzhouxiaoniu
Spotlight
Spotlight

因为报错地址说地址在本地了,但是从配置和掩码设计来看,没有问题。
建议把show ip inter bri 贴一下,便于大家分析

gsm87_qq_com
Beginner
Beginner
huoran1234 发表于 2016-7-4 15:42 back.gif
是不是设备上有其他接口配置有相同的地址。。sh ip int b看看

就2个接口
G0/1 配置是 117.28.224.145
G0/0 是配置172.16.1.1

gsm87_qq_com
Beginner
Beginner
suzhouxiaoniu 发表于 2016-7-6 08:45 back.gif
因为报错地址说地址在本地了,但是从配置和掩码设计来看,没有问题。

CT-R7400#sh ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/1 117.28.224.145 YES manual up up
GigabitEthernet0/0 172.16.1.1 YES NVRAM up up

gsm87_qq_com
Beginner
Beginner
huoran1234 发表于 2016-7-4 15:42 back.gif
是不是设备上有其他接口配置有相同的地址。。sh ip int b看看

CT-R7400#sh ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/1 117.28.224.145 YES manual up up
GigabitEthernet0/0 172.16.1.1 YES NVRAM up up

gsm87_qq_com
Beginner
Beginner
vsop5207 发表于 2016-7-4 20:41 back.gif
%Invalid next hop address (it's this router) 你这个地址已经配置在了本地路由器,你看看接口地址是不是 ...

CT-R7400#sh ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/1 117.28.224.145 YES manual up up
GigabitEthernet0/0 172.16.1.1 YES NVRAM up up

fortune
VIP Alumni
VIP Alumni
如果条件允许,建议清空配置重启 重新刷一遍!

limerez01
Spotlight
Spotlight
ip route 0.0.0.0 0.0.0.0 g0/1

shanhualv
Beginner
Beginner
保存重启,重启完成重新配置一下。

Xin Lei
Spotlight
Spotlight
坐等答案~inging

a_pan
Beginner
Beginner
接口no ip add 然后shutdown,再ip add 然后no shut试试

a_pan
Beginner
Beginner
接口 no ip add 然后shut,再ip add 然后no shut;
或者接口 no ip add 然后shut,再写缺省路由,最后接口ip add 然后no shut 试试
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:







快捷链接