Routing Protocols over DMVPN Phase 1 RIPv2

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

Routing Protocols over DMVPN Phase-1 RIPv2

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



exit
ip route 0.0.0.0 0.0.0.0 11.1.1.2

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

tunnel source 12.1.1.1
tunnel destination 11.1.1.1

ip nhrp nhs 100.1.1.1

ip nhrp network-id 2

ip nhrp map 100.1.1.1 11.1.1.1

exit

ip route 0.0.0.0 0.0.0.0 12.1.1.2

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

tunnel source 13.1.1.1
tunnel destination 11.1.1.1

ip nhrp network-id 3
ip nhrp nhs 100.1.1.1
ip nhrp map 100.1.1.1 11.1.1.1


exit
ip route 0.0.0.0 0.0.0.0 13.1.1.2
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

tunnel source 14.1.1.1
tunnel destination 11.1.1.1

ip nhrp network-id 4
ip nhrp nhs 100.1.1.1
ip nhrp map 100.1.1.1 11.1.1.1
exit

ip route 0.0.0.0 0.0.0.0 14.1.1.2
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





















router rip
network 100.1.1.0
network 192.168.10.0
version 2
no auto-summary



interface tunnel 100
ip nhrp map multicast dynamic




no ip split-horizon