双向重发布--路由策略实验报告

在这里插入图片描述在这里插入图片描述

题目要求:
1、两个协议间进行多点双向重发布
2、R7环回没有宣告在OPSF中,而是后期重发布进入;
3、解决环路,所有路径选择最优,且存在备份。
**

一、配置底层IP地址

**
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

[R3]int g0/0/0
[R3-GigabitEthernet0/0/1]ip address 34.1.1.1 24
[R3-GigabitEthernet0/0/1]int g0/0/2
[R3-GigabitEthernet0/0/2]ip address 13.1.1.2 24
[R3]int LoopBack 0
[R3-LoopBack0]ip address 3.3.3.3 24

R4
在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述

二、起路由协议

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

[R3]rip
[R3-rip-1]network 13.0.0.0
[R3]ospf 1
[R3-ospf-1]area 0
[R3-ospf-1-area-0.0.0.0]network 3.3.3.3 0.0.0.0
[R3-ospf-1-area-0.0.0.0]network 34.1.1.1 0.0.0.0

[R4]ospf 1
[R4-ospf-1]area 0
[R4-ospf-1-area-0.0.0.0]network 4.4.4.4 0.0.0.0
[R4-ospf-1-area-0.0.0.0]network 24.1.1.1 0.0.0.0
[R4-ospf-1-area-0.0.0.0]network 34.1.1.1 0.0.0.0
[R4-ospf-1-area-0.0.0.0]network 45.1.1.1 0.0.0.0

[R5]ospf 1
[R5-ospf-1]area 0
[R5-ospf-1-area-0.0.0.0]network 5.5.5.5 0.0.0.0
[R5-ospf-1-area-0.0.0.0]network 45.1.1.1 0.0.0.0
[R5-ospf-1-area-0.0.0.0]network 56.1.1.1 0.0.0.0

[R6]ospf 1
[R6-ospf-1]area 0
[R6-ospf-1-area-0.0.0.0]network 6.6.6.6 0.0.0.0
[R6-ospf-1-area-0.0.0.0]network 67.1.1.1 0.0.0.0
[R6-ospf-1-area-0.0.0.0]network 56.1.1.1 0.0.0.0

[R7]ospf 1
[R7-ospf-1]area 0
[R7-ospf-1-area-0.0.0.0]network 67.1.1.1 0.0.0.0

三、重发布配置

[R2]rip
[R2-rip-1]import-route ospf
[R2]ospf 1
[R2-ospf-1]import-route rip

[R3]rip
[R3-rip-1]import-route ospf
[R3]ospf 1
[R3-ospf-1]import-route rip

四、预判分析

对于R4/5/6/7而言在R1/2/3/4形成的环路里会因为重发布清洗度量值而负载均衡出现选路不佳。
【R1】R3环回/24网段/34网段
【R4】到R2环回/12/网段/13网段

五、路由策略

[R2]ip ip-prefix a permit 34.1.1.1 24
[R2]ip ip-prefix c permit 3.3.3.3 24
[R2]ip ip-prefix b permit 13.1.1.1 24
[R2]route-policy qq permit node 10
Info: New Sequence of this List.
[R2-route-policy]if-match ip-prefix a
[R2-route-policy]apply cost 3
[R2]route-policy qq permit node 20
Info: New Sequence of this List.
[R2-route-policy]if-match ip-prefix b
[R2-route-policy]apply cost 3
[R2]route-policy qq permit node 30
Info: New Sequence of this List.
[R2-route-policy]apply cost 3
[R2]route-policy qq permit node 40
Info: New Sequence of this List.
[R2-route-policy]q
[R2]ospf 1
[R2-ospf-1]import-route rip route-policy qq
[R2]rip
[R2-rip-1]import-route ospf route-policy qq

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值