实验拓扑及要求
配IP
配路由
全连mgre
interface Tunnel0/0/0
ip address 10.1.1.1 255.255.255.0
tunnel-protocol gre p2mp
source 16.1.1.1
ospf network-type broadcast
nhrp entry multicast dynamic
nhrp network-id 100
星型mgre
interface Tunnel0/0/1
ip address 20.1.1.1 255.255.255.0
tunnel-protocol gre p2mp
source 61.1.1.1
ospf network-type broadcast
nhrp entry multicast dynamic
nhrp network-id 101
OSPF配置
ospf 1
area 0.0.0.0
network 192.168.1.0 0.0.0.255
network 192.168.7.0 0.0.0.255