扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
综合实验:不同网络环境下OSPF的配置3
description Connected to Frame-Relay Network
no ip address
encapsulation frame-relay IETF
serial restart-delay 0
!
interface Serial2/0.1 point-to-point
ip address 192.168.3.1 255.255.255.252
ip ospf network non-broadcast
frame-relay interface-dlci 205
!
interface Serial2/0.2 point-to-point
ip address 192.168.3.5 255.255.255.252
ip ospf network non-broadcast
frame-relay interface-dlci 206
!
interface Serial2/0.3 multipoint
ip address 192.168.4.1 255.255.255.0
ip ospf network point-to-multipoint
frame-relay interface-dlci 207
frame-relay interface-dlci 208
!
!
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
network 192.168.1.0 0.0.0.3 area 0
network 192.168.2.0 0.0.0.255 area 0
network 192.168.3.0 0.0.0.3 area 0
network 192.168.3.4 0.0.0.3 area 0
network 192.168.4.0 0.0.0.255 area 0
neighbor 192.168.3.6 (接口的网络类型为non-broadcast,所以需要指定邻居)
neighbor 192.168.3.2
!
3.路由器R3:
!
interface FastEthernet0/0
description Connected to Switch
ip address 192.168.2.2 255.255.255.0
ip ospf priority 0 (确保R2为DR)
speed 100
full-duplex
!
router ospf 1
router-id 3.3.3.3
log-adjacency-changes
network 192.168.2.0 0.0.0.255 area 0
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者