一、拓扑
二、对路由器进行配置,互为HUB SPOKEN
[r7]interface Tunnel 0/0/0
[r7-Tunnel0/0/0]ip add 10.1.1.3 24
[r7-Tunnel0/0/0]tunnel-protocol gre p2mp
[r7-Tunnel0/0/0]source 20.1.1.2
[r7-Tunnel0/0/0]nhrp entry multicast dynamic
[r7-Tunnel0/0/0]nhrp entry 10.1.1.1 25.1.1.1 register
[r7-Tunnel0/0/0]nhrp entry 10.1.1.2 16.1.1.2 register
[r7-Tunnel0/0/0]nhrp entry 10.1.1.4 22.1.1.2 register
[r7-Tunnel0/0/0]nhrp network-id 100
2.rlp宣告
[r3]rip 1
[r3-rip-1]version 1
[r3-rip-1]network 34.0.0.0
[r3-rip-1]network 35.0.0.0
[r3-rip-1]network 10.0.0.0
引流
[r7]ip route-static 25.1.1.0 24 22.1.1.1
[r7]ip route-static 57.1.1.0 24 22.1.1.1
[r7]ip route-static 12.1.1.0 24 22.1.1.1