开启DMVPN 第三阶段 :: Hub--- ip nhrp redirect ; Spoke--- ip nhrp shortcut--Bruce 实验和理论都验证是正确的。

来源:互联网 发布:中华网络传奇一条龙 编辑:程序博客网 时间:2024/05/29 16:35
开启DMVPN 第三阶段 :: Hub--- ip nhrp redirect ;  Spoke--- ip nhrp shortcut--Bruce 实验和理论都验证是正确的。


R17#show running-config interface tunnel 0 
Building configuration...

Current configuration : 435 bytes
!
interface Tunnel0
 bandwidth 1000
 ip address 10.18.19.1 255.255.255.0
 no ip redirects
 ip mtu 1400
 no ip next-hop-self eigrp 45678
 no ip split-horizon eigrp 45678
 ip pim sparse-mode
 ip nhrp authentication 45678key
 ip nhrp map multicast dynamic
 ip nhrp network-id 45678
 ip nhrp holdtime 300
 ip nhrp redirect        -------在Hub点配置 ip nhrp redirect 开启 DMVPN 第三阶段。
 ip tcp adjust-mss 1360
 delay 1000
 tunnel source Ethernet0/0
 tunnel mode gre multipoint
 tunnel vrf LOCALSP
end

R17#
R17#
R17#show ip nhrp 
10.18.19.1/32
   Tunnel0 created 00:00:02, expire 00:03:02
   Type: incomplete, Flags: negative 
   Cache hits: 2
10.18.19.18/32 via 10.18.19.18
   Tunnel0 created 01:32:27, expire 00:04:12
   Type: dynamic, Flags: unique registered 
   NBMA address: 203.3.18.2 
10.18.19.19/32 via 10.18.19.19
   Tunnel0 created 01:32:23, expire 00:04:16
   Type: dynamic, Flags: unique registered used 
   NBMA address: 203.3.19.2 
R17#

R18#show running-config interface t
R18#show running-config interface tunnel 0
Building configuration...

Current configuration : 430 bytes
!
interface Tunnel0
 bandwidth 1000
 ip address 10.18.19.18 255.255.255.0
 no ip redirects
 ip mtu 1400
 ip pim sparse-mode
 ip nhrp authentication 45678key
 ip nhrp map 10.18.19.1 203.3.17.2
 ip nhrp map multicast 203.3.17.2
 ip nhrp network-id 45678
 ip nhrp holdtime 300
 ip nhrp nhs 10.18.19.1
 ip nhrp shortcut-------------在Spoke点配置 ip nhrp shortcut 开启DMVPN第三阶段。
 ip tcp adjust-mss 1360
 delay 1000
 tunnel source Serial4/0
 tunnel mode gre multipoint
 tunnel vrf LOCALSP
end

R18#
R18#ping 10.18.19.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.18.19.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 9/9/10 ms
R18#ping 10.18.19.18
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.18.19.18, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 18/19/23 ms
R18#ping 10.18.19.19
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.18.19.19, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 15/17/19 ms
R18#
R18#
R18#tr
R18#traceroute 10.18.19.1
Type escape sequence to abort.
Tracing the route to 10.18.19.1
VRF info: (vrf in name/id, vrf out name/id)
  1 10.18.19.1 10 msec *  14 msec
R18#
R18#traceroute 10.18.19.19
Type escape sequence to abort.
Tracing the route to 10.18.19.19
VRF info: (vrf in name/id, vrf out name/id)
  1 10.18.19.19 20 msec *  19 msec
R18#

R18#
R19#
R19#show run
R19#show running-config itner
R19#show running-config int  
R19#show running-config interface tu
R19#show running-config interface tunnel 0
Building configuration...

Current configuration : 430 bytes
!
interface Tunnel0
 bandwidth 1000
 ip address 10.18.19.19 255.255.255.0
 no ip redirects
 ip mtu 1400
 ip pim sparse-mode
 ip nhrp authentication 45678key
 ip nhrp map 10.18.19.1 203.3.17.2
 ip nhrp map multicast 203.3.17.2
 ip nhrp network-id 45678
 ip nhrp holdtime 300
 ip nhrp nhs 10.18.19.1
 ip nhrp shortcut------------------在Spoke点配置 ip nhrp shortcut 开启DMVPN第三阶段。
 ip tcp adjust-mss 1360
 delay 1000
 tunnel source Serial4/0
 tunnel mode gre multipoint
 tunnel vrf LOCALSP
end

R19#
R19#
R19#ping 10.18.19.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.18.19.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 7/8/10 ms
R19#ping 10.18.19.18
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.18.19.18, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 18/19/27 ms
R19#ping 10.18.19.19 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.18.19.19, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 18/22/35 ms
R19#
R19#
R19#show ip nhr
R19#show ip nhrp 
10.18.19.1/32 via 10.18.19.1
   Tunnel0 created 01:32:17, never expire 
   Type: static, Flags: used 
   NBMA address: 203.3.17.2 

10.18.19.18/32 via 10.18.19.18
   Tunnel0 created 00:02:52, expire 00:02:07
   Type: dynamic, Flags: router used 
   NBMA address: 203.3.18.2 
10.18.19.19/32 via 10.18.19.19
   Tunnel0 created 00:02:52, expire 00:02:07
   Type: dynamic, Flags: router unique local 
   NBMA address: 203.3.19.2 
    (no-socket) 

R19#

R19#
R19#tr
R19#traceroute 10.18.19.1
Type escape sequence to abort.
Tracing the route to 10.18.19.1
VRF info: (vrf in name/id, vrf out name/id)
  1 10.18.19.1 10 msec *  11 msec
R19#

R19#
R19#traceroute 10.18.19.18
Type escape sequence to abort.
Tracing the route to 10.18.19.18
VRF info: (vrf in name/id, vrf out name/id)
  1 10.18.19.18 24 msec *  18 msec
R19#
R19#


主题: 开启DMVPN 第三阶段 :: Hub--- ip nhrp redirect ; Spoke--- ip nhrp shortcut
R17#show ip nhrp 
10.100.0.1/32
   Tunnel0 created 00:00:07, expire 00:02:57
   Type: incomplete, Flags: negative 
   Cache hits: 2
10.100.0.19/32 via 10.100.0.19
   Tunnel0 created 00:08:37, expire 01:51:23
   Type: dynamic, Flags: unique registered used 
   NBMA address: 192.0.2.19 
10.100.0.20/32 via 10.100.0.20
   Tunnel0 created 00:05:16, expire 01:54:44
   Type: dynamic, Flags: unique registered 
   NBMA address: 192.0.2.20 
10.100.0.21/32 via 10.100.0.21
   Tunnel0 created 00:01:26, expire 01:58:33
   Type: dynamic, Flags: unique registered 
   NBMA address: 192.0.2.21 

R17#
R17#
--------------------------------
R17#show running-config | sec interface Tunnel0
interface Tunnel0
 ip address 10.100.0.1 255.255.255.0
 no ip redirects    -------
redirects      Enable sending ICMP Redirect messages--只要开启ip nhrp redirect ,就默认关闭掉ICMP重定向。
 ip nhrp map multicast dynamic
 ip nhrp network-id 1
 ip nhrp redirect
 tunnel source Ethernet0/0
 tunnel mode gre multipoint
R17#


----------------------
interface Tunnel0
 ip address 10.100.0.19 255.255.255.0
 
no ip redirects -------redirects      Enable sending ICMP Redirect messages--只要开启ip nhrp shortcut ,就默认关闭掉ICMP重定向。
 ip nhrp map 10.100.0.1 192.0.2.2
 ip nhrp map multicast 192.0.2.2
 ip nhrp network-id 1
 ip nhrp nhs 10.100.0.1
 ip nhrp shortcut
 tunnel source Dialer1
 tunnel mode gre multipoint
!
--------------------------
R19#show ip nhrp 
10.100.0.1/32 via 10.100.0.1
   Tunnel0 created 00:23:06, never expire 
   Type: static, Flags: used 
   NBMA address: 192.0.2.2 
10.100.0.19/32 via 10.100.0.19
   Tunnel0 created 00:15:22, expire 01:54:25
   Type: dynamic, Flags: router unique local 
   NBMA address: 192.0.2.19 
    (no-socket) 

10.100.0.20/32 via 10.100.0.20
   Tunnel0 created 00:05:34, expire 01:54:25
   Type: dynamic, Flags: router implicit used nhop 
   NBMA address: 192.0.2.20 
10.100.0.21/32 via 10.100.0.21
   Tunnel0 created 00:15:22, expire 01:44:37
   Type: dynamic, Flags: router nhop 
   NBMA address: 192.0.2.21 

R19#
R19#
R19#



0 0
原创粉丝点击