首先进行ip地址划分
配置IP地址和环回地址,在r3 5 6 7配置一条指向r4的缺省路由
[r3]ip route-static 0.0.0.0 0.0.0.0 12.1.1.2
[r5]ip route-static 0.0.0.0 0.0.0.0 23.1.1.1
[r6]ip route-static 0.0.0.0 0.0.0.0 34.1.1.1
[r7]ip route-static 0.0.0.0 0.0.0.0 45.1.1.1
r3 5 6 7做mgre,以r3为中心
[r3]int Tunnel 0/0/0
[r3-Tunnel0/0/0]ip add 10.1.1.1 255.255.255.0
[r3-Tunnel0/0/0]tunnel-protocol gre p2mp
[r3-Tunnel0/0/0]source 12.1.1.1
[r3-Tunnel0/0/0]nhrp entry multicast dynamic
[r3-Tunnel0/0/0]nhrp network-id 100
[r5]int Tunnel 0/0/0
[r5-T