比较ospf的5种网络类型,不同的ospf网络类型能否建立邻居?

本文通过实验比较了OSPF的五种网络类型,并探讨了不同类型的网络如何建立邻居关系。展示了点到点与广播型网络的具体配置实例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

实验目的:比较ospf的5种网络类型,不同的ospf网络类型能否建立邻居?

实验拓扑:

clip_image002

接口如果是串口的话,默认的网络类型是点到点,然而接口如果是以太口的话,默认的网络类型是广播型网络。

R2#show ip ospf int s1/0

Serial1/0 is up, line protocol is up

Internet Address 10.1.1.2/24, Area 0

Process ID 1, Router ID 2.2.2.2, Network Type POINT_TO_POINT, Cost: 64

Transmit Delay is 1 sec, State POINT_TO_POINT,

Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

oob-resync timeout 40

Hello due in 00:00:02

Index 2/2, flood queue length 0

Next 0x0(0)/0x0(0)

Last flood scan length is 1, maximum is 1

Last flood scan time is 0 msec, maximum is 0 msec

Neighbor Count is 1, Adjacent neighbor count is 1

Adjacent with neighbor 1.1.1.1

Suppress hello for 0 neighbor(s)

R3#show ip ospf int fa0/0

FastEthernet0/0 is up, line protocol is up

Internet Address 192.168.1.3/24, Area 0

Process ID 1, Router ID 3.3.3.3, Network Type BROADCAST, Cost: 1

Transmit Delay is 1 sec, State BDR, Priority 1

Designated Router (ID) 2.2.2.2, Interface address 192.168.1.2

Backup Designated router (ID) 3.3.3.3, Interface address 192.168.1.3

Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

oob-resync timeout 40

Hello due in 00:00:01

Index 1/1, flood queue length 0

Next 0x0(0)/0x0(0)

Last flood scan length is 1, maximum is 1

Last flood scan time is 0 msec, maximum is 0 msec

Neighbor Count is 1, Adjacent neighbor count is 1

Adjacent with neighbor 2.2.2.2 (Designated Router)

Suppress hello for 0 neighbor(s)

file://D:\实验拓扑\ospf网络类型.xls

Modify Time : 2008年6月11日 9:47:22 File Size : 16896

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值