一、要求。
1,R6为ISP只能配置IP地址,R1-R5的环回为私有网段
2,R1/4/5为全连的MGRE结构,R1/2/3为星型的拓扑结构,R1为中心站点
3,所有私有网段可以互相通讯,私有网段使用OSPF完成。
二、建立拓扑
三、IP配置
r1ip配置
r2ip配置
3.r3,r4,r5ip配置
4.ISP的IP配置
5,列出缺省路由
[r1]ip route-static 0.0.0.0 0 15.0.0.2
[r1]ip route-static 0.0.0.0 0 61.0.0.2
[r2]ip route-static 0.0.0.0 0 25.0.0.2
[r3]ip route-static 0.0.0.0 0 35.0.0.2
[r4]ip route-static 0.0.0.0 0 45.0.0.2
[r5]ip route-static 0.0.0.0 0 55.0.0.2
6,ping
四、搭建MGRE环境
r1/r2/r3
中心链路
分支链路
r1/r4/r5
中心链路
五、配置OSPF
改变工作接口类型为p2mp
改变工作接口类型为broadcast.
[R1]int t0/0/1
[R1-Tunnel0/0/1]ospf network-type broadcast