跳到主要内容

邻居 Hello/I Heard You 消息

 0                   1                   2                   3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
! EGP Version # ! Type ! Code ! Status !
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
! Checksum ! Autonomous System # !
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
! Sequence # !Min Poll Intvl ! Zero !
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
! Last Poll Id # !
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

说明:

外部邻居使用 EGP Neighbor Hello 和 I Heard You 消息来判断邻居的连通性。当网关收到来自邻居的 EGP Neighbor Hello 消息时,应当以一条 EGP I Heard You 消息作为响应。

EGP Version #(EGP 版本号)

1

Type(类型)

5

Code(代码)

Code = 0 for Hello
Code = 1 for I Heard you

Checksum(校验和)

EGP 校验和是对 EGP 消息(从 EGP 版本号字段开始)的反码和再取 16 位反码。计算校验和时,校验和字段应为零。

Autonomous System #(自治系统号)

这个 16 位数字标识包含本消息源网关的自治系统。

Sequence Number(序列号)

用于帮助匹配请求和应答的序列号。

Status(状态)

0  No status given
1 You appear reachable to me
2 You appear unreachable to me due to neighbor
reachability protocol
3 You appear unreachable to me due to network
reachability information (such as 1822 "destination
dead" messages from ARPANET)
4 You appear unreachable to me due to problems
with my network interface

Last Poll Id Number(最近轮询标识号)

最近从本消息目的邻居处收到的 NR 轮询消息的标识号。

Minimum Polling Interval(最小轮询间隔)

向本网关轮询 NR 消息的频率不应高于每这么多分钟一次。