双向多点重发布,路由策略实验

  1. 配置ip地址及其环回

[r1]dis ip in b

*down: administratively down

^down: standby

(l): loopback

(s): spoofing

The number of interface that is UP in Physical is 4

The number of interface that is DOWN in Physical is 1

The number of interface that is UP in Protocol is 4

The number of interface that is DOWN in Protocol is 1

Interface IP Address/Mask Physical Protocol

GigabitEthernet0/0/0 12.1.1.1/24 up up

GigabitEthernet0/0/1 13.1.1.1/24 up up

GigabitEthernet0/0/2 unassigned down down

LoopBack0 1.1.1.1/24 up up(s)

NULL0 unassigned up up(s)

[r2-LoopBack0]dis ip in b

*down: administratively down

^down: standby

(l): loopback

(s): spoofing

The number of interface that is UP in Physical is 4

The number of interface that is DOWN in Physical is 1

The number of interface that is UP in Protocol is 4

The number of interface that is DOWN in Protocol is 1

Interface IP Address/Mask Physical Protocol

GigabitEthernet0/0/0 12.1.1.2/24 up up

GigabitEthernet0/0/1 24.1.1.1/24 up up

GigabitEthernet0/0/2 unassigned down down

LoopBack0 2.2.2.2/24 up up(s)

NULL0 unassigned up up(s)

.........

2.配置rip及其ospf

再将R7上环回重发布进入OSPF

[r7-ospf-1]ospf 1

[r7-ospf-1]import-route direct

在R2、R3上进行双点双向重发布

[r2]ospf 1

[r2-ospf-1]

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

[r2]rip 1

[r2-rip-1]

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

3.解决路由回馈问题

路由回馈出现原因:

一个是OSPF内部学习到的/32的路由,另一个是R3重发布进rip,再由R2重发布进了OSPF学习到了/24的路由,导致了路由回馈。

修改R3的环回OSPF的接口工作方式为broadcast

[r3]int l0

[r3-LoopBack0]ospf net

[r3-LoopBack0]ospf network-type b

[r3-LoopBack0]ospf network-type broadcast

  1. 结果

<r1>ping 7.7.7.7

PING 7.7.7.7: 56 data bytes, press CTRL_C to break

Request time out

Request time out

Request time out

Request time out

Request time out

--- 7.7.7.7 ping statistics ---

5 packet(s) transmitted

0 packet(s) received

100.00% packet loss

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值