メインコンテンツまでスキップ

5. NLRI Encoding (NLRI エンコーディング)

The Network Layer Reachability information is encoded as one or more 2-tuples of the form <length, prefix>, whose fields are described below: ネットワーク層到達可能性情報は、以下のフィールドを持つ <length, prefix> 形式の 1 つ以上の 2 つ組としてエンコードされます。

                   +---------------------------+
| Length (1 octet) |
+---------------------------+
| Prefix (variable) |
+---------------------------+

The use and the meaning of these fields are as follows: これらのフィールドの使用法と意味は以下の通りです。

a) Length: a) 長さ:

The Length field indicates the length, in bits, of the address prefix. A length of zero indicates a prefix that matches all (as specified by the address family) addresses (with prefix, itself, of zero octets). Length フィールドは、アドレスプレフィックスの長さをビット単位で示します。長さ 0 は、すべてのアドレス(アドレスファミリで指定されている通り)に一致するプレフィックス(プレフィックス自体は 0 オクテット)を示します。

b) Prefix: b) プレフィックス:

The Prefix field contains an address prefix followed by enough trailing bits to make the end of the field fall on an octet boundary. Note that the value of trailing bits is irrelevant. Prefix フィールドには、アドレスプレフィックスが含まれ、フィールドの終わりがオクテット境界になるように十分な後続ビットが続きます。後続ビットの値は無関係であることに注意してください。