雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 2063|回复: 2

[讨论/求助] NRHP配置问题 帮帮我啊

[复制链接]
发表于 2009-4-21 18:26:58 | 显示全部楼层 |阅读模式
loopback 192.168.1.1---------R1 s0 172.0.0.1------------s0 172.0.0.2  R2  e0  172.0.1.2----------------f0  172.0.1.1  R3-----------loopback 1 192.168.2.2

R1配置:interface Loopback1
ip address 192.168.1.1 255.255.255.0
no keepalive
!         
interface Tunnel1
ip address 1.1.1.2 255.255.255.252
ip nhrp authentication cisco
ip nhrp map multicast 172.0.1.1
ip nhrp map 1.1.1.1 172.0.1.1
ip nhrp network-id 10000
ip nhrp holdtime 60
ip nhrp nhs 1.1.1.1
tunnel source 172.0.0.1
tunnel destination 172.0.1.1
tunnel key 10000
!         
interface FastEthernet0
no ip address
speed auto
!         
interface Serial0
ip address 172.0.0.1 255.255.255.0
no keepalive
clockrate 2000000
!         
ip classless
ip route 0.0.0.0 0.0.0.0 172.0.0.2
ip route 192.168.2.0 255.255.255.0 Tunnel1
no ip http server

R2配置:
interface Ethernet0
ip address 172.0.1.2 255.255.255.0
no ip directed-broadcast
no keepalive
!
interface Ethernet1
no ip address
no ip directed-broadcast
shutdown
!         
interface Serial0
ip address 172.0.0.2 255.255.255.0
no ip directed-broadcast
no ip mroute-cache
no keepalive
!         
interface Serial1
no ip address
no ip directed-broadcast
shutdown
!         
ip classless
ip route 192.168.1.0 255.255.255.0 172.0.0.1
ip route 192.168.2.0 255.255.255.0 172.0.1.1
!         


R3配置:

interface Tunnel1
ip address 1.1.1.1 255.255.255.252
no ip redirects
ip nhrp authentication cisco
ip nhrp map multicast dynamic
ip nhrp network-id 10000
ip nhrp holdtime 60
tunnel source 172.0.1.1
tunnel mode gre multipoint
tunnel key 10000
!         
interface Loopback1
ip address 192.168.2.2 255.255.255.0
!         
interface FastEthernet0
ip address 172.0.1.1 255.255.255.0
duplex auto
speed auto
!         
interface FastEthernet1
no ip address
duplex auto
speed auto
!         
interface BRI0
no ip address
encapsulation hdlc
shutdown
!         
interface FastEthernet2
!         
interface FastEthernet3
!         
interface FastEthernet4
!         
interface FastEthernet5
!         
interface FastEthernet6
!         
interface FastEthernet7
!         
interface FastEthernet8
!         
interface FastEthernet9
!         
interface Vlan1
no ip address
!         
ip route 0.0.0.0 0.0.0.0 172.0.1.2
ip route 192.168.1.0 255.255.255.0 Tunnel1
!   


以上的配置 我在R1上能ping通192.168.2.2  并traceroute 192.168.2.2  显示Tracing the route to 192.168.2.2
  1 1.1.1.1 4 msec 4 msec *   而在R3上就ping不通192.168.1.1 更不用说是tunnel了    我不知道哪里出错了  后来我在R3上补充一个ip route 192.168.1.0 255.255.255.0 172.0.1.2  虽然可以实现ping通了 但traceroute显示的并不是走tunnel路线的  请各位大哥大姐指导下  谢谢
发表于 2009-4-21 19:42:46 | 显示全部楼层
看看了啊
 楼主| 发表于 2009-4-22 09:07:25 | 显示全部楼层
哪里出错了  还是NHRP本身就是这样的?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-11-22 21:28 , Processed in 0.079799 second(s), 19 queries , Gzip On.

快速回复 返回顶部 返回列表