This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ccnp:dmvpn [2024/03/15 00:04] 114.119.149.71 old revision restored (2023/10/16 05:56) |
ccnp:dmvpn [2024/03/15 00:12] (current) 114.119.158.167 old revision restored (2018/03/13 01:11) |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== DMVPN w/ GRE ===== | ===== DMVPN w/ GRE ===== | ||
+ | GRE tunnels, but dynamic, yanno? | ||
+ | |||
+ | Going to skip the explanation until I hit this part in the books, but until then - a refresher on quick Phase 2 configuration from a Hub/spoke topology with one HUB. And excuse the terrible diagram, I'll build a better one one I'm not pressed for time! | ||
+ | |||
{{: | {{: | ||
- | GRE tunnels, but dynamic, | + | REFER TO THE ABOVE DIAGRAM AND NOTE THE CONFIGS BELOW! |
+ | |||
+ | ==== CONFIGS ==== | ||
+ | === R1 the HUB === | ||
+ | < | ||
+ | interface Tunnel10 | ||
+ | ip address 192.168.1.1 255.255.255.0 | ||
+ | no ip redirects | ||
+ | ip nhrp network-id 1 < | ||
+ | | ||
+ | | ||
+ | end | ||
+ | |||
+ | </ | ||
+ | === R3 Spoke === | ||
+ | < | ||
+ | interface Tunnel10 | ||
+ | ip address 192.168.1.3 255.255.255.0 | ||
+ | no ip redirects | ||
+ | ip nhrp map 192.168.1.1 1.1.1.1 | ||
+ | ip nhrp network-id 3 <-- Useful for multi-hub environments. Details later... | ||
+ | ip nhrp nhs 192.168.1.1 | ||
+ | | ||
+ | | ||
+ | end | ||
+ | |||
+ | </ | ||
+ | === R5 Spoke === | ||
+ | < | ||
+ | interface Tunnel10 | ||
+ | ip address 192.168.1.5 255.255.255.0 | ||
+ | no ip redirects | ||
+ | ip nhrp map 192.168.1.1 1.1.1.1 | ||
+ | ip nhrp network-id 5 | ||
+ | ip nhrp nhs 192.168.1.1 | ||
+ | | ||
+ | | ||
+ | end | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== Verification and Flow ==== | ||
+ | < | ||
+ | R3# | ||
+ | Type escape sequence to abort. | ||
+ | Tracing the route to 5.5.5.5 | ||
+ | VRF info: (vrf in name/id, vrf out name/id) | ||
+ | 1 10.2.3.2 36 msec 52 msec 48 msec | ||
+ | 2 10.1.2.1 52 msec 56 msec 48 msec | ||
+ | 3 10.1.4.4 76 msec 72 msec 68 msec | ||
+ | 4 10.4.5.5 72 msec 56 msec 76 msec | ||
+ | |||
+ | |||
+ | Tracing the route to 192.168.1.5 | ||
+ | VRF info: (vrf in name/id, vrf out name/id) | ||
+ | 1 192.168.1.5 88 msec 76 msec 76 msec | ||
+ | |||
+ | R3#sh dmvpn | b Type | ||
+ | Type:Spoke, NHRP Peers:2, | ||
+ | |||
+ | # Ent Peer NBMA Addr Peer Tunnel Add State UpDn Tm Attrb | ||
+ | ----- --------------- --------------- ----- -------- ----- | ||
+ | 1 1.1.1.1 | ||
+ | 1 5.5.5.5 | ||
+ | |||
+ | R3#sh ip nhrp | ||
+ | 192.168.1.1/ | ||
+ | | ||
+ | Type: static, Flags: used | ||
+ | NBMA address: 1.1.1.1 | ||
+ | 192.168.1.5/ | ||
+ | | ||
+ | | ||
+ | NBMA address: 5.5.5.5 | ||
+ | |||
+ | </ | ||
- | Going to skip the explanation until I hit this part in the books, but until then - a refresher on quick Phase 2 configuration from a Hub/spoke topology with one HUB. |