1、R6为ISP只能配置ip地址, R1-5的环回为私有网段
2、R1/4/5为全连的MGRE结构, R1/2/3为星型的拓扑结构, R1为中心站点3、所有私有网段可以互相通讯,私有网段使用OSPF协议完成
IP地址的配置:
R1:
R2:
R3:
R4:
R5:
R6:
然后给公网走缺省,测试
![在这里插入图片描述](https://img-blog.csdnimg.cn/6110c0371f1e43e799d67e23f3b32ec2.png?x-oss-process=image/watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA5Zuw5oOR55qEWuWQjOWtpg==,size_20,color_FFFFFF,t_70,g_se,x_16
接着配置R1/2/3为星型的拓扑结构,R1为中心站点
R1:
R2:
R3:
构建R1/4/5为全连的MGRE结构,题目要求全连,R1/R4/R5需要互相注册;
R1:
interface Tunnel0/0/1
ip address 10.1.2.1 24
tunnel-protocol gre p2mp
source 16.1.1.1
ospf network-type broadcast
nhrp entry multicast dynamic
nhrp network-id 100
nhrp entry 10.1.2.4 46.1.1.1 register
nhrp entry 10.1.2.5 56.1.1.1 register
R4:
interface Tunnel0/0/1
ip address 10.1.2.4 24
tunnel-protocol gre p2mp
source 46.1.1.1
ospf network-type broadcast
nhrp entry multicast dynamic
nhrp network-id 100
nhrp entry 10.1.2.1 16.1.1.1 register
nhrp entry 10.1.2.5 56.1.1.1 register
R5:
interface Tunnel0/0/1
ip address 10.1.2.5 24
tunnel-protocol gre p2mp
source 16.1.1.1
ospf network-type broadcast
nhrp entry multicast dynamic
nhrp network-id 100
nhrp entry 10.1.2.4 46.1.1.1 register
nhrp entry 10.1.2.1 16.1.1.1 register
保证畅通的情况下,给路由写OSPF协议