OSPF综合实验

先分配好IP地址

172.16.0.0/20     骨干链路 

172.16.0.0/23    AR1-AR3,AR2-AR3

172.16.2.0/23     AR6-AR11

172.16.4.0/23    AR11-AR12

172.16.6.0/23    AR7-AR8

172.16.8.0/23    AR8-AR9

172.16.10.0/23    AR9-AR10

172.16.12.0/23    保留

172.16.14.0/23    保留

分配环回

172.16.16.0/20   AR1

172.16.32.0/20   AR2

172.16.48.0/20   AR3

172.16.64.0/20   AR4

172.16.80.0/20   AR5

172.16.96.0/20   AR6

172.16.102.0/20   AR7

172.16.118.0/20    AR8

172.16.134.0/20   AR9

172.16.150.0/20   AR10

172.16.166.0/20   AR11

172.16.172.0/20   AR12loop back 1

172.16.188.0/20   AR12  loop back 2

172.16.220.0/20   保留

tunnel隧道

172.16.188.0/20

 R4为isp,只配置IP,R4与其他直连设备间均使用公有IP

R3为中心站点,构建R3-R5-R6-R7的mgre环境

AR3

AR5

AR6

AR7

在R3开启伪广播功能

[r3-tunnle0/0/0]nhrp entry multicast dynamic

配置通往isp的缺省

[r3]ip route-static 0.0.0.0 0 15.0.0.4

[r5] ip route-static 0.0.0.0 0 25.0.0.4

[6]ip route-static 0.0.0.0 0 35.0.0.4

[7]ip route-static 0.0.0.0 0 45.0.0.4

修改mgre环境tunnel接口ospf类型为broadcast

R3

ospf network-type broadcast

R5

ospf network-type broadcast

R6

ospf network-type broadcast

R7

ospf network-type broadcast

运行ospf协议

 

 

 

 

 

 

 AR9配置双向重发布

 

 

AR12ospf内引入rip

 

ospf下发缺省路由

[r3-ospf-1]default-route-advertise

[r6-ospf-1]default-route-advertise

[r7-ospf-1]default-route-advertise

减少LSA的更新,加快收敛

区域1做成stub

[r3-ospf-1-area-0.0.0.1]stub on-summary

[r2-ospf-1-area-0.0.0.1]stub on-summary

[r1-ospf-1-area-0.0.0.1]stub on-summary

区域2做成nssa

[r6-ospf-1-area-0.0.0.2]nssa on-summary

[r11-ospf-1-area-0.0.0.2]nssa 

[r12-ospf-1-area-0.0.0.2]nssa

区域3做成nssa

[r7-ospf-1-area-0.0.0.3]nssa on-summary

[r8-ospf-1-area-0.0.0.2]nssa 

[r9-ospf-1-area-0.0.0.2]nssa

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值