2025-02-05 10:03:58 +01:00
|
|
|
ip forwarding
|
2025-02-05 10:17:20 +01:00
|
|
|
!debug nhrp all
|
2025-02-05 10:03:58 +01:00
|
|
|
interface nhc2-eth0
|
|
|
|
ip address 192.168.2.5/24
|
|
|
|
!
|
|
|
|
ip route 192.168.1.0/24 192.168.2.6
|
|
|
|
interface nhc2-gre0
|
|
|
|
ip address 172.16.1.5/32
|
|
|
|
no link-detect
|
|
|
|
ipv6 nd suppress-ra
|
2025-02-05 10:17:20 +01:00
|
|
|
ip nhrp holdtime 10
|
|
|
|
ip nhrp network-id 42
|
|
|
|
ip nhrp nhs dynamic nbma 192.168.1.1
|
|
|
|
ip nhrp nhs dynamic nbma 192.168.1.2
|
|
|
|
ip nhrp nhs dynamic nbma 192.168.1.3
|
|
|
|
ip nhrp registration no-unique
|
|
|
|
ip nhrp shortcut
|
|
|
|
tunnel source nhc2-eth0
|
2025-02-05 10:03:58 +01:00
|
|
|
!
|
|
|
|
interface nhc2-eth1
|
|
|
|
ip address 10.5.5.5/24
|
|
|
|
!
|
|
|
|
ip route 0.0.0.0/0 172.16.1.1 50
|
|
|
|
ip route 0.0.0.0/0 172.16.1.2 60
|
|
|
|
ip route 0.0.0.0/0 172.16.1.3 70
|