beautypg.com

Ripng packet format, Basic format, Rte format – H3C Technologies H3C S12500 Series Switches User Manual

Page 306

background image

290

RIPng packet format

Basic format

A RIPng packet consists of a header and multiple route table entries (RTEs). The maximum number of RTEs

in a packet depends on the IPv6 MTU of the sending interface.

Figure 101 RIPng basic packet format

Command—Type of message. 0x01 indicates Request, 0x02 indicates Response.

Version—Version of RIPng. It can only be 0x01.

RTE—Route table entry; it is 20 bytes for each entry.

RTE format

The types of RTEs in RIPng are as follows:

Next hop RTE—Defines the IPv6 address of a next hop.

IPv6 prefix RTE—Describes the destination IPv6 address, route tag, prefix length, and metric in the
RIPng routing table.

Figure 102 Next hop RTE format

IPv6 next hop address is the IPv6 address of the next hop.

Figure 103 IPv6 prefix RTE format

IPv6 prefix—Destination IPv6 address prefix

Route tag—Route tag

Prefix length—Length of the IPv6 address prefix

Metric—Cost of a route

Command

Route table entry 1 (20 octets)

Version

Must be zero

Route table entry n (20 octets)

0

7

15

31