拓扑图
配置IP地址
配置静态路由
r1
id route-static 0.0.0.0 0 15.0.0.1
id route-static 0.0.0.0 0 16.0.0.1
建立通道
r1
interface Tunnel0/0/0
ip address 10.1.1.1 255.255.255.0
tunnel-protocol gre p2mp
source 15.0.0.1
nhrp entry multicast dynamic
interface Tunnel0/0/
shutdown
ip address 10.1.2.1 255.255.255.0
tunnel-protocol gre p2mp
source 16.0.0.1
nhrp entry 10.1.2.4 45.0.0.4 reg
nhrp entry 10.1.2.5 55.0.0.5 reg
检查网络是否连通
OSPF
r1
area 0.0.0.0
network 10.1.0.0 0.0.255.255
network 192.168.1.0 0.0.0.255