Experiment topology diagram:
1.IP address configuration
2. Configure the default route to the ISP on R1, R3, R4 (that is, to R2)
R1:ip Route 0.0.0.0 0.0.0.0 172.16.12.2
R2:ip Route 0.0.0.0 0.0.0.0 172.16.23.2
R3:ip Route 0.0.0.0 0.0.0.0 172.16.24.2
3. Tunnel port and NhRP on R1, R3 and R4
R1:
int Tunnel 0
IP Add 192.168.1.1 255.255.255.0
Tunnel Source f0/0
Tunnel mode GRE multipoint
Tunnel Key 99
IP NHRP Authentication cisco123
IP NHRP network-id 999
IP NHRP Map Multicast dynamic
R3:
int Tunnel 0
IP Add 192.168.1.3 255.255.255.0
Tunnel Source f0/0
Tunnel mode GRE multipoint
Tunnel Key 99
IP NHRP Authentication cisco123
IP NHRP network-id 999
IP NhRP NHS 192.168.1.1
IP NHRP Map Multicast 172.16.12.1
IP nhrp Map 192.168.1.1 172.16.12.1
R4:
int Tunnel 0
IP Add 192.168.1.4 255.255.255.0
Tunnel Source f2/0
Tunnel mode GRE multipoint
Tunnel Key 99
IP NHRP Authentication cisco123
IP NHRP network-id 999
IP NhRP NHS 192.168.1.1
IP NHRP Map Multicast 172.16.12.1
IP nhrp Map 192.168.1.1 172.16.12.1