DMVPN Phase 1 Static configuration and troubleshooting Lab, How to configure DMVPN, VPN process

Опубликовано: 02 Ноябрь 2024
на канале: AL-Networks
49
1

DMVPN Phase 1 Static configuration and troubleshooting Lab, How to configure DMVPN, What is VPN with configuration

Hub Router

configure terminal
hostname HUB
interface FastEthernet0/0
ip address 11.1.1.1 255.255.255.0
no shutdown
exit
interface FastEthernet0/1
ip address 192.168.10.1 255.255.255.0
no shutdown
exit
interface Tunnel100
ip address 100.1.1.1 255.255.255.0

tunnel source FastEthernet0/0
tunnel mode gre multipoint

ip nhrp network-id 1
ip nhrp map 100.1.1.2 12.1.1.1
ip nhrp map 100.1.1.3 13.1.1.1
ip nhrp map 100.1.1.4 14.1.1.1


exit
ip route 0.0.0.0 0.0.0.0 11.1.1.2
ip route 192.168.20.0 255.255.255.0 100.1.1.2
ip route 192.168.30.0 255.255.255.0 100.1.1.3
ip route 192.168.40.0 255.255.255.0 100.1.1.4
exit









Spoke-1 Router

configure terminal
hostname Spoke-1
interface FastEthernet0/0
ip address 12.1.1.1 255.255.255.0
no shutdown
exit
interface FastEthernet0/1
ip address 192.168.20.1 255.255.255.0
no shutdown
exit

interface Tunnel100
ip address 100.1.1.2 255.255.255.0
ip nhrp map 100.1.1.1 11.1.1.1
ip nhrp network-id 2
tunnel source FastEthernet0/0
tunnel destination 11.1.1.1
exit
ip route 0.0.0.0 0.0.0.0 12.1.1.2
ip route 192.168.10.0 255.255.255.0 100.1.1.1
exit



Spoke-2 Router


configure terminal
hostname Spoke-2

interface FastEthernet0/0
ip address 13.1.1.1 255.255.255.0
no shutdown
exit
interface FastEthernet0/1
ip address 192.168.30.1 255.255.255.0
no shutdown
exit

interface Tunnel100
ip address 100.1.1.3 255.255.255.0
ip nhrp map 100.1.1.1 11.1.1.1
ip nhrp network-id 3
tunnel source FastEthernet0/0
tunnel destination 11.1.1.1
exit
ip route 0.0.0.0 0.0.0.0 13.1.1.2
ip route 192.168.10.0 255.255.255.0 100.1.1.1
exit






Spoke-3 Router

configure terminal
hostname Spoke-3

interface FastEthernet0/0
ip address 14.1.1.1 255.255.255.0
no shutdown
exit

interface FastEthernet0/1
ip address 192.168.40.1 255.255.255.0
no shutdown
exit

interface Tunnel100
ip address 100.1.1.4 255.255.255.0
ip nhrp map 100.1.1.1 11.1.1.1
ip nhrp network-id 4
tunnel source FastEthernet0/0
tunnel destination 11.1.1.1
exit

ip route 0.0.0.0 0.0.0.0 14.1.1.2
ip route 192.168.10.0 255.255.255.0 100.1.1.1
exit






ISP Router

configure terminal
hostname ISP

interface FastEthernet0/0
ip address 11.1.1.2 255.255.255.0
no shutdown
duplex auto
speed auto
exit
interface FastEthernet0/1
ip address 12.1.1.2 255.255.255.0
no shutdown
duplex auto
speed auto
exit
interface FastEthernet1/0
ip address 13.1.1.2 255.255.255.0
no shutdown
duplex auto
speed auto
exit
interface FastEthernet2/0
ip address 14.1.1.2 255.255.255.0
no shutdown
duplex auto
speed auto
exit