通过桥接技术使OSPF运行在帧中继

试验目的:

通过桥接技术使OSPF运行在FR网络上的行为相当于在以太网。 

试验拓扑:

 

配置:

R1:

  1. bridge irb
  2. !
  3. interface Loopback0
  4.  ip address 1.1.1.1 255.255.255.0
  5. !
  6. interface Serial1/0.102 multipoint
  7.  frame-relay map bridge 102 broadcast
  8.  bridge-group 1
  9. !
  10. interface Serial1/0.103 multipoint
  11.  frame-relay map bridge 103 broadcast
  12.  bridge-group 1
  13. interface BVI1
  14.  ip address 192.168.23.1 255.255.255.0
  15.  ip ospf priority 4
  16. !
  17. router ospf 100
  18.  router-id 1.1.1.1
  19.  log-adjacency-changes
  20.  network 1.1.1.0 0.0.0.255 area 0
  21.  network 192.168.23.0 0.0.0.255 area 0
  22. !
  23. bridge 1 protocol ieee
  24. bridge 1 route ip

R2:

  1. bridge irb
  2. !
  3. interface Loopback0
  4.  ip address 2.2.2.2 255.255.255.0
  5. !
  6. interface Serial1/0
  7.  no ip address
  8.  encapsulation frame-relay
  9.  serial restart-delay 0
  10.  frame-relay map bridge 201 broadcast
  11.  bridge-group 1
  12. !
  13. interface BVI1
  14.  ip address 192.168.23.2 255.255.255.0
  15.  ip ospf priority 0
  16. !
  17. router ospf 100
  18.  router-id 2.2.2.2
  19.  log-adjacency-changes
  20.  network 2.2.2.0 0.0.0.255 area 0
  21.  network 192.168.23.0 0.0.0.255 area 0
  22. !
  23. bridge 1 protocol ieee
  24. bridge 1 route ip

R3:

  1. bridge irb
  2. !
  3. interface Loopback0
  4. ip address 3.3.3.3 255.255.255.0
  5. !
  6. interface Serial1/0
  7. no ip address
  8. encapsulation frame-relay
  9. serial restart-delay 0
  10. frame-relay map bridge 301 broadcast
  11. bridge-group 1
  12. !
  13. interface BVI1
  14. ip address 192.168.23.3 255.255.255.0
  15. ip ospf priority 0
  16. !
  17. router ospf 100
  18. router-id 3.3.3.3
  19. log-adjacency-changes
  20. network 3.3.3.0 0.0.0.255 area 0
  21. network 192.168.23.0 0.0.0.255 area 0
  22. !
  23. bridge 1 protocol ieee
  24. bridge 1 route ip 

验证:

 

通过上图可看出R1是ROOT

总结:通过上面的分析可以看出OSPF在桥接组中的行为相当于以太网,这样就省去了OSPF在FR路由的麻烦。

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值