c语言单播,OSPF单播、多播及网络类型

OSPF属于链路状态协议,利用HELLO包来发现邻居、建立关系,利用UPDATE包来发送更新,NOTIFICATION包来告知错误等等,我们列张表来看

1、Hello

2、Database Description

3、Link State Request

4、Link State Update

5、Link State Acknowledgement

链路状态协议的特点之一就是它的多播特性,取代了距离矢量协议中的广播特性,但是并非所有的包,在任何时候所发的包是多播的,单播也是它的重要工具。

一、今天我们只讨论HELLO包中的单播特例:

单播

1、NBMA

2、Virtual-Link

多播

3、Broadcast

4、Point-to-Point

5、Point-to-Multipoint

二、顺带提一句,HELLO时间与DEAD时间为10秒,40秒的是(4倍关系):

point-to-point

broadcast

HELLO时间DEAD时间为40秒,120秒的是

Point-to-Multipoint

NBMA

三、DR与BDR的选举

需要选举DR、BDR的是

Broadcast               自动选举

Point-to-Multipoint     自动选举

NBMA                    手动指定

不需选举DR、BDR的是

Point-to-Point          不需选举

02f,18aug03,agi added #include 02e,02jun03,agi removed #include "rwproto.h" 02d,02jun03,agi changed #include "rwos.h" to include "ospf_rwos.h" 02c,29may03,agi removed unused includes, added new includes 02c,08may03,asr Changes to make OSPF virtual stack compatible 02b,09may03,agi added #include , removed #include 02a,17feb02,ram SPR 81808 Added OSPF memory partition support 21,13october01,kc Dynamic configuration changes. 20,21september01,kc Removed unused raw socket specific declarations. 19,26september00,reshma Added WindRiver CopyRight 18,25september00,reshma RFC-1587 implementation for OSPF NSSA Option, also tested against ANVL. 17,20july00,reshma Unix compatibility related changes. 16,06july00,reshma Removed unnecessary header files and defines. 15,23february00,reshma Changes for ospf mib 14,23december99,reshma Compatibility with VxWorks-IP and VxWorks RTM-interface 13,13august99,jack compilation fixes no IP case 12,05august99,nishit Replaced including IP header files by the new ospf_ip_structures.h 11,17may99,jack Added new include file ospf_patricia_32_bits_key_prototypes.h 10,28december98,jack Compiled and added some comments 09,25november98,rajive Deleted socket include file 08,11november98,jack Config changes, linted and big endian changes 07,30october98,jack Incorporate changes for compilation on Vxworks 06,12february98,release engineer code style changes, feature enhancements, complete CISCO and BAY compaltibility. OSPF v4.2.0 05,10july97,cindy Pre-release v1.52b 04,10february97,cindy Release Version 1.52 03,22october97,cindy Release Version 1.50 02,05june96,cindy Including visnpstr.h as a kludge for the first beta release. 01,05june96,cindy First Beta Release
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值