通过桥接技术使OSPF运行在帧中继
试验目的:
通过桥接技术使OSPF运行在FR网络上的行为相当于在以太网。
试验拓扑:
配置:
R1:
- bridge irb
- !
- interface Loopback0
- ip address 1.1.1.1 255.255.255.0
- !
- interface Serial1/0.102 multipoint
- frame-relay map bridge 102 broadcast
- bridge-group 1
- !
- interface Serial1/0.103 multipoint
- frame-relay map bridge 103 broadcast
- bridge-group 1
- interface BVI1
- ip address 192.168.23.1 255.255.255.0
- ip ospf priority 4
- !
- router ospf 100
- router-id 1.1.1.1
- log-adjacency-changes
- network 1.1.1.0 0.0.0.255 area 0
- network 192.168.23.0 0.0.0.255 area 0
- !
- bridge 1 protocol ieee
- bridge 1 route ip
R2:
- bridge irb
- !
- interface Loopback0
- ip address 2.2.2.2 255.255.255.0
- !
- interface Serial1/0
- no ip address
- encapsulation frame-relay
- serial restart-delay 0
- frame-relay map bridge 201 broadcast
- bridge-group 1
- !
- interface BVI1
- ip address 192.168.23.2 255.255.255.0
- ip ospf priority 0
- !
- router ospf 100
- router-id 2.2.2.2
- log-adjacency-changes
- network 2.2.2.0 0.0.0.255 area 0
- network 192.168.23.0 0.0.0.255 area 0
- !
- bridge 1 protocol ieee
- bridge 1 route ip
R3:
- bridge irb
- !
- interface Loopback0
- ip address 3.3.3.3 255.255.255.0
- !
- interface Serial1/0
- no ip address
- encapsulation frame-relay
- serial restart-delay 0
- frame-relay map bridge 301 broadcast
- bridge-group 1
- !
- interface BVI1
- ip address 192.168.23.3 255.255.255.0
- ip ospf priority 0
- !
- router ospf 100
- router-id 3.3.3.3
- log-adjacency-changes
- network 3.3.3.0 0.0.0.255 area 0
- network 192.168.23.0 0.0.0.255 area 0
- !
- bridge 1 protocol ieee
- bridge 1 route ip
验证:
通过上图可看出R1是ROOT
总结:通过上面的分析可以看出OSPF在桥接组中的行为相当于以太网,这样就省去了OSPF在FR路由的麻烦。
转载于:https://blog.51cto.com/692344/984358