公网配置
[r3-Serial4/0/0]ip add 34.0.0.1 24
[r3]ip route-static 0.0.0.0 0 34.0.0.2
[r3-Tunnel0/0/0]ip add 172.16.1.1 29
[r3-Tunnel0/0/0]tunnel-protocol gre p2mp
[r3-Tunnel0/0/0]source 34.0.0.1
[r3-Tunnel0/0/0]nhrp network-id 100
[r3-Tunnel0/0/0]nhrp entry multicast dynamic
[isp-Serial4/0/0]ip add 34.0.0.2 24
[isp-Serial4/0/1]ip add 45.0.0.2 24
[isp-Serial3/0/0]ip add 46.0.0.2 24
[isp-GigabitEthernet0/0/0]ip add 47.0.0.2 24
[isp-LoopBack0]ip add 4.4.4.4 24
[r5-Serial4/0/0]ip add 45.0.0.1 24
[r5]ip route-static 0.0.0.0 0 45.0.0.2
[r5-Tunnel0/0/0]ip add 172.16.1.2 29
[r5-Tunnel0/0/0]tunnel-protocol gre p2mp
[r5-Tunnel0/0/0]source s 4/0/0
[r5-Tunnel0/0/0]nhrp network-id 100
[r5-Tunnel0/0/0]nhrp entry 172.16.1.1 34.0.0.1 register
[r5-LoopBack0]ip add 172.16.2.1 24
[r6-Serial4/0/0]ip add 46.0.0.1 24
[r6]ip route-static 0.0.0.0 0 46.0.0.2
[r6-Tunnel0/0/0]ip add 172.16.1.3 29
[r6-Tunnel0/0/0]tunnel-protocol gre p2mp
[r6-Tunnel0/0/0]source s 4/0/0
[r6-Tunnel0/0/0]nhrp network-id 100
[r6-Tunnel0/0/0]nhrp entry 172.16.1.1 34.0.0.1 register
[r6-LoopBack0]ip add 172.16.3.1 24
[r7-GigabitEthernet0/0/0]ip add 47.0.0.1 24
[r7]ip route-static 0.0.0.0 0 47.0.0.2
[r7-Tunnel0/0/0]ip add 172.16.1.4 29
[r7-Tunnel0/0/0]tunnel-protocol gre p2mp
[r7-Tunnel0/0/0]nhrp network-id 100
[r7-Tunnel0/0/0]nhrp entry 172.16.1.1 34.0.0.1 register
[r7-LoopBack0]ip add