FR上的OSPF之五:点到多点非广播
实验拓扑图
实验目的
调试在帧中继环境下的OSPF配置,NBMA网络模式
实验配置
(一) 配置IP地址
(二) 运行OSPF并通告网络
(三) 配置命令
1. 中心路由器物理接口配置帧中继封装模式
R1#show run int s0/0
Building configuration...
Current configuration : 124 bytes
!
interface Serial0/0
no ip address
encapsulation frame-relay
serial restart-delay 0
no dce-terminal-timing-enable
end
2. 中心路由器起多点子接口并配置ospf的网络模式为点到多点非广播
在子接口配置IP地址,并且设置MAP广播
interface Serial0/0.1 multipoint
ip address 123.1.1.1 255.255.255.0
ip ospf network point-to-multipoint non-broadcast
frame-relay map ip 123.1.1.3 103 broadcast
frame-relay map ip 123.1.1.1 103
frame-relay map ip 123.1.1.2 102 broadcast
3. 在中心路由器上指定两个分支为邻居
router ospf 110
router-id 1.1.1.1
log-adjacency-changes
network 1.1.1.0 0.0.0.255 area 0
network 123.1.1.0 0.0.0.255 area 0
neighbor 123.1.1.3
neighbor 123.1.1.2
4. 分支上不起子接口,利用物理接口做配置
R3的配置
interface Serial0/0
ip address 123.1.1.3 255.255.255.0
encapsulation frame-relay
ip ospf network point-to-multipoint non-broadcast
serial restart-delay 0
no dce-terminal-timing-enable
frame-relay map ip 123.1.1.3 301
frame-relay map ip 123.1.1.1 301 broadcast
frame-relay map ip 123.1.1.2 301 broadcast
(四) 总结
1.hello时间为30秒,hello包为单播包
2.不选举DR,不用配置邻居的优先级
3.在中心路由器上需手工配置邻居
转载于:https://blog.51cto.com/liu008qing/455761