Line 29: |
Line 29: |
| - Set Local GRE interface IP address (for example, 10.0.0.254) | | - Set Local GRE interface IP address (for example, 10.0.0.254) |
| | | |
− | - Set GRE MTU value | + | - Set GRE MTU value to 1476 |
| | | |
− | - Set Pre-shared key | + | - Set Pre-shared key (we used simple 123456 for this example) |
| | | |
| <br>[[File:DMVP_HUB_phase3_example1.png]] | | <br>[[File:DMVP_HUB_phase3_example1.png]] |
| ---- | | ---- |
− | <b>Step 2</b>: configure DMVPN Phase 1 parameters:<br>[[File:DMVP HUB phase3 example2.png]] | + | <b>Step 2</b>: configure DMVPN Phase 1 parameters: |
| + | |
| + | - Encryption algorithm - AES 128 |
| + | |
| + | - Authentication SHA1 |
| + | |
| + | - DH group - MODP1024 |
| + | |
| + | <br>[[File:DMVP HUB phase3 example2.png]] |
| ---- | | ---- |
− | <b>Step 3</b>: configure DMVPN Phase 2 parameters:<br>[[File:DMVPN HUB Phase3 example3.png]] | + | <b>Step 3</b>: configure DMVPN Phase 2 parameters: |
| + | |
| + | - Encryption algorithm - 3DES |
| + | |
| + | - Hash algorithm - MD5 |
| + | |
| + | - PFS group -MODP768 |
| + | |
| + | <br>[[File:DMVPN HUB Phase3 example3.png]] |
| ---- | | ---- |
− | <b>Step 4</b>: configure DMVPN NHRP parameters:<br>[[File:DMVPN HUB Phase3 example4.png]] | + | <b>Step 4</b>: configure DMVPN NHRP parameters: |
| + | |
| + | <br>[[File:DMVPN HUB Phase3 example4.png]] |
| ---- | | ---- |
| <b>Step 5</b>: save changes | | <b>Step 5</b>: save changes |
Line 47: |
Line 65: |
| Navigate to the <b>Network → Routing → Dynamic Routes → BGP Protocol</b> page and follow the instructions provided below. | | Navigate to the <b>Network → Routing → Dynamic Routes → BGP Protocol</b> page and follow the instructions provided below. |
| | | |
− | <b>Step 1</b>: enable BGP and configure General section:<br>[[File:DMVPN HUB Phase3 example5.png]] | + | <b>Step 1</b>: enable BGP and configure General section: |
| + | |
| + | - Enable vty |
| + | |
| + | - Set AS to 65000 |
| + | |
| + | - Set announcement network(s). Routes to these networks will be shared over BGP. We used 192.168.1.0/24 |
| + | |
| + | <br>[[File:DMVPN HUB Phase3 example5.png]] |
| ---- | | ---- |
− | <b>Step 2</b>: Create BGP Peer Group:<br>[[File:DMVPN HUB Phase3 example6.png]] | + | |
| + | |
| + | <b>Step 2</b>: Create BGP Peer Group: |
| + | |
| + | - Add Neighbor address (We used 10.0.0.1 and 10.0.0.2) |
| + | |
| + | <br>[[File:DMVPN HUB Phase3 example6.png]] |
| ---- | | ---- |
− | <b>Step 3</b>: Add two BGP peers for each spoke:<br>[[File:DMVPN HUB Phase3 example7.png]] | + | |
| + | |
| + | <b>Step 3</b>: Add two BGP peers for each spoke: |
| + | |
| + | Peer 1. |
| + | |
| + | - Set Remote AS to 65001 |
| + | |
| + | - Set Remote address as 10.0.0.1 |
| + | |
| + | Peer 2. |
| + | |
| + | - Set Remote AS to 65002 |
| + | |
| + | - Set Remote address as 10.0.0.2 |
| + | |
| + | <br>[[File:DMVPN HUB Phase3 example7.png]] |
| ---- | | ---- |
| [[File:DMVPN HUB Phase3 example8.png]] | | [[File:DMVPN HUB Phase3 example8.png]] |
Line 61: |
Line 109: |
| Navigate to the <b>Services → VPN → DMVPN</b> page and follow the instructions provided below. | | Navigate to the <b>Services → VPN → DMVPN</b> page and follow the instructions provided below. |
| | | |
− | <b>Step 1</b>: create a new DMVPN instance:<br>[[File:DMVPN HUB Phase3 spoke1 example1.png]] | + | <b>Step 1</b>: create a new DMVPN instance: |
| + | |
| + | - Add HUB address |
| + | |
| + | - Select Tunnel source |
| + | |
| + | - Add Local GRE interface IP address |
| + | |
| + | - Add Remote GRE interface IP address |
| + | |
| + | - Set GRE MTU |
| + | |
| + | - Set Local identifier, Remote identifier as %any and input same Pre-shared key |
| + | |
| + | <br>[[File:DMVPN HUB Phase3 spoke1 example1.png]] |
| ---- | | ---- |
− | <b>Step 2</b>: configure DMVPN Phase 1 parameters:<br>[[File:DMVPN HUB Phase3 spoke example2.png]] | + | |
| + | |
| + | <b>Step 2</b>: configure DMVPN Phase 1 parameters: |
| + | |
| + | - Select Encryption algorithm - AES 128 |
| + | |
| + | - Select Authentication SHA1 |
| + | |
| + | - Select DH group MODP1024 |
| + | |
| + | <br>[[File:DMVPN HUB Phase3 spoke example2.png]] |
| ---- | | ---- |
− | <b>Step 3</b>: configure DMVPN Phase 2 parameters:<br>[[File:DMVPN HUB Phase3 spoke example3.png]] | + | |
| + | |
| + | <b>Step 3</b>: configure DMVPN Phase 2 parameters: |
| + | |
| + | - Select Encryption algorithm 3DES |
| + | |
| + | - Select Hash algorithm MD5 |
| + | |
| + | - Select PFS group MODP768 |
| + | |
| + | <br>[[File:DMVPN HUB Phase3 spoke example3.png]] |
| ---- | | ---- |
− | <b>Step 4</b>: configure DMVPN NHRP parameters:<br>[[File:DMVPN HUB Phase3 spoke example4.png]] | + | |
| + | |
| + | <b>Step 4</b>: configure DMVPN NHRP parameters: |
| + | |
| + | - Leave everything by default |
| + | |
| + | <br>[[File:DMVPN HUB Phase3 spoke example4.png]] |
| ---- | | ---- |
| <b>Step 5</b>: save changes | | <b>Step 5</b>: save changes |
Line 75: |
Line 163: |
| Navigate to the <b>Network → Routing → Dynamic Routes → BGP Protocol</b> page and follow the instructions provided below. | | Navigate to the <b>Network → Routing → Dynamic Routes → BGP Protocol</b> page and follow the instructions provided below. |
| | | |
− | <b>Step 1</b>: enable BGP and configure General section:<br>[[File:DMVPN HUB Phase3 spoke example5.png]] | + | <b>Step 1</b>: enable BGP and configure General section: |
| + | |
| + | - Enable vty |
| + | |
| + | - Set AS to 65001 |
| + | |
| + | - Set Network to 192.168.10.0/24 |
| + | |
| + | <br>[[File:DMVPN HUB Phase3 spoke example5.png]] |
| ---- | | ---- |
− | <b>Step 2</b>: Create BGP Peer:<br>[[File:DMVPN HUB Phase3 spoke example6.png]] | + | |
| + | |
| + | <b>Step 2</b>: Create BGP Peer: |
| + | |
| + | - Set Remote AS to 65000 |
| + | |
| + | - Set Remote address to 10.0.0.254 |
| + | |
| + | <br>[[File:DMVPN HUB Phase3 spoke example6.png]] |
| | | |
| ===Spoke 2 configuration: DMVPN=== | | ===Spoke 2 configuration: DMVPN=== |
Line 83: |
Line 187: |
| Navigate to the <b>Services → VPN → DMVPN</b> page and follow the instructions provided below. | | Navigate to the <b>Services → VPN → DMVPN</b> page and follow the instructions provided below. |
| | | |
− | <b>Step 1</b>: create a new DMVPN instance:<br>[[File:DMVPN HUB Phase3 spoke2 example1.png]] | + | <b>Step 1</b>: create a new DMVPN instance: |
| + | |
| + | - Input your HUB address |
| + | |
| + | - Select Tunnel source interface |
| + | |
| + | - Set Local GRE interface address to 10.0.0.2 |
| + | |
| + | - Set Remote GRE interface IP address to 10.0.0.254 |
| + | |
| + | - Set GRE MTU to 1476 |
| + | |
| + | <br>[[File:DMVPN HUB Phase3 spoke2 example1.png]] |
| ---- | | ---- |
− | <b>Step 2</b>: configure DMVPN Phase 1 parameters:<br>[[File:DMVPN HUB Phase3 spoke2 example2.png]] | + | |
| + | |
| + | <b>Step 2</b>: configure DMVPN Phase 1 parameters: |
| + | |
| + | - Select Encryption algorithm - AES 128 |
| + | |
| + | - Select Authentication SHA1 |
| + | |
| + | - Select DH group MODP1024 |
| + | |
| + | <br>[[File:DMVPN HUB Phase3 spoke2 example2.png]] |
| ---- | | ---- |
− | <b>Step 3</b>: configure DMVPN Phase 2 parameters:<br>[[File:DMVPN HUB Phase3 spoke2 example3.png]] | + | <b>Step 3</b>: configure DMVPN Phase 2 parameters: |
| + | |
| + | - Select Encryption algorithm 3DES |
| + | |
| + | - Select Hash algorithm MD5 |
| + | |
| + | - Select PFS group MODP768 |
| + | |
| + | <br>[[File:DMVPN HUB Phase3 spoke2 example3.png]] |
| ---- | | ---- |
− | <b>Step 4</b>: configure DMVPN NHRP parameters:<br>[[File:DMVPN HUB Phase3 spoke2 example4.png]] | + | |
| + | |
| + | <b>Step 4</b>: configure DMVPN NHRP parameters: |
| + | |
| + | <br>[[File:DMVPN HUB Phase3 spoke2 example4.png]] |
| ---- | | ---- |
| <b>Step 5</b>: save changes | | <b>Step 5</b>: save changes |
Line 97: |
Line 235: |
| Navigate to the <b>Network → Routing → Dynamic Routes → BGP Protocol</b> page and follow the instructions provided below. | | Navigate to the <b>Network → Routing → Dynamic Routes → BGP Protocol</b> page and follow the instructions provided below. |
| | | |
− | <b>Step 1</b>: enable BGP and configure General section:<br>[[File:DMVPN HUB Phase3 spoke2 example5.png]] | + | <b>Step 1</b>: enable BGP and configure General section: |
| + | |
| + | - Enable vty |
| + | |
| + | - Set AS to 65002 |
| + | |
| + | - Set Network to 192.168.20.0/24 |
| + | |
| + | <br>[[File:DMVPN HUB Phase3 spoke2 example5.png]] |
| ---- | | ---- |
− | <b>Step 2</b>: Create BGP Peer:<br>[[File:DMVPN HUB Phase3 spoke2 example6.png]] | + | |
| + | |
| + | <b>Step 2</b>: Create BGP Peer: |
| + | |
| + | - Set Remote AS to 65000 |
| + | |
| + | - Set Remote address to 10.0.0.254 |
| + | |
| + | <br>[[File:DMVPN HUB Phase3 spoke2 example6.png]] |
| | | |
| ===Important Note=== | | ===Important Note=== |
| | | |
| For HUB in Network > Firewall GRE zone change from REJECT to ACCEPT on FORWARD. | | For HUB in Network > Firewall GRE zone change from REJECT to ACCEPT on FORWARD. |
| + | |
| ---- | | ---- |
| [[File:DMVPN HUB Phase3 example Firewall.png]] | | [[File:DMVPN HUB Phase3 example Firewall.png]] |
| ---- | | ---- |
| + | |
| + | |
| For setups behind NAT specify Local identifier in the <b>Services → VPN → DMVPN → IPsec section </b> | | For setups behind NAT specify Local identifier in the <b>Services → VPN → DMVPN → IPsec section </b> |
| + | |
| ---- | | ---- |
| [[File:DMVPN HUB Phase3 example Behind NAT.png]] | | [[File:DMVPN HUB Phase3 example Behind NAT.png]] |