mình đang làm thử về cái dual hub dual cloud dmvpn mà không hiểu sao, chỉ có con primary hub thì nhận được dynamic nhrp còn backup hub thì không, mình chỉ mới cấu hình nhrp và mgre
đây là file cấu hình cùa mình
primary hub
ena
conf t
inter s1/0
ip add 172.16.1.1 255.255.255.0
no shut
inter f2/0
ip add 192.168.0.1 255.255.255.0
no shut
inter tunnel 11
ip add 10.0.1.1 255.255.255.0
tunnel mode gre multi
tunnel source s1/0
tunnel key 123
ip nhrp map multi dy
ip nhrp network- 123
ip nhrp holdt 60
exit
ip route 0.0.0.0 0.0.0.0 172.16.1.2
router os 1
netw 172.16.1.0 0.0.0.255 are 0
router ei 1
no auto
network 10.0.0.0
netw 192.168.0.0
exit
inter tunnel 11
no ip split-horiz ei 1
no ip next-hop-se ei 1
delay 5
backup hub
ena
conf t
inter s1/0
ip add 172.26.2.1 255.255.255.0
no shut
inter f2/0
ip add 192.168.0.2 255.255.255.0
no shut
inter tunnel 22
ip add 10.0.2.1 255.255.255.0
tunnel mode gre multi
tunnel source s1/0
tunnel key 456
ip nhrp map multi dyna
ip nhrp network- 456
ip nhrp hold 60
ip route 0.0.0.0 0.0.0.0 172.26.1.2
router os 1
netw 172.26.1.0 0.0.0.255 are 0
router ei 1
no auto
network 10.0.0.0
netw 192.168.0.0
exit
inter tunnel 22
no ip split-horiz ei 1
no ip next-hop-se ei 1
delay 10
branch
ena
conf t
inter s1/0
ip add 172.36.1.1 255.255.255.0
no shut
inter f0/0
ip add 192.168.1.1 255.255.255.0
no shut
inter tunnel 11
ip add 10.0.1.2 255.255.255.0
tunnel mode gre multi
tunnel sour s1/0
tunnel key 123
ip nhrp map 10.0.1.1 172.16.1.1
ip nhrp map multi 172.16.1.1
ip nhrp nhs 10.0.1.1
ip nhrp network- 123
ip nhrp holdtime 60
inter tunnel 22
ip add 10.0.2.2 255.255.255.0
tunnel mode gre multi
tunnel sour s1/0
tunnel key 456
ip nhrp map 10.0.2.1 172.26.1.1
ip nhrp map multi 172.26.1.1
ip nhrp nhs 10.0.2.1
ip nhrp network- 456
ip nhrp holdt 60
exit
ip route 0.0.0.0 0.0.0.0 172.36.1.2
router os 1
netw 172.36.1.0 0.0.0.255 are 0
router ei 1
no auto-s
netw 10.0.0.0
netw 192.168.1.0
exit
inter tunnel 11
delay 5
exit
inter tunnel 22
delay 10
đây là file cấu hình cùa mình
primary hub
ena
conf t
inter s1/0
ip add 172.16.1.1 255.255.255.0
no shut
inter f2/0
ip add 192.168.0.1 255.255.255.0
no shut
inter tunnel 11
ip add 10.0.1.1 255.255.255.0
tunnel mode gre multi
tunnel source s1/0
tunnel key 123
ip nhrp map multi dy
ip nhrp network- 123
ip nhrp holdt 60
exit
ip route 0.0.0.0 0.0.0.0 172.16.1.2
router os 1
netw 172.16.1.0 0.0.0.255 are 0
router ei 1
no auto
network 10.0.0.0
netw 192.168.0.0
exit
inter tunnel 11
no ip split-horiz ei 1
no ip next-hop-se ei 1
delay 5
backup hub
ena
conf t
inter s1/0
ip add 172.26.2.1 255.255.255.0
no shut
inter f2/0
ip add 192.168.0.2 255.255.255.0
no shut
inter tunnel 22
ip add 10.0.2.1 255.255.255.0
tunnel mode gre multi
tunnel source s1/0
tunnel key 456
ip nhrp map multi dyna
ip nhrp network- 456
ip nhrp hold 60
ip route 0.0.0.0 0.0.0.0 172.26.1.2
router os 1
netw 172.26.1.0 0.0.0.255 are 0
router ei 1
no auto
network 10.0.0.0
netw 192.168.0.0
exit
inter tunnel 22
no ip split-horiz ei 1
no ip next-hop-se ei 1
delay 10
branch
ena
conf t
inter s1/0
ip add 172.36.1.1 255.255.255.0
no shut
inter f0/0
ip add 192.168.1.1 255.255.255.0
no shut
inter tunnel 11
ip add 10.0.1.2 255.255.255.0
tunnel mode gre multi
tunnel sour s1/0
tunnel key 123
ip nhrp map 10.0.1.1 172.16.1.1
ip nhrp map multi 172.16.1.1
ip nhrp nhs 10.0.1.1
ip nhrp network- 123
ip nhrp holdtime 60
inter tunnel 22
ip add 10.0.2.2 255.255.255.0
tunnel mode gre multi
tunnel sour s1/0
tunnel key 456
ip nhrp map 10.0.2.1 172.26.1.1
ip nhrp map multi 172.26.1.1
ip nhrp nhs 10.0.2.1
ip nhrp network- 456
ip nhrp holdt 60
exit
ip route 0.0.0.0 0.0.0.0 172.36.1.2
router os 1
netw 172.36.1.0 0.0.0.255 are 0
router ei 1
no auto-s
netw 10.0.0.0
netw 192.168.1.0
exit
inter tunnel 11
delay 5
exit
inter tunnel 22
delay 10