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

Page 281

Advertising
background image

266

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 100 RIPng basic packet format

Packet header description:

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 following are types of RTEs in RIPng:

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 101 Next hop RTE format

IPv6 next hop address (16 octets)

Must be zero

Must be zero

0xFF

0

7

15

31

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

Figure 102 IPv6 prefix RTE format

IPv6 prefix (16 octets)

Route tag

Prefix length

Metric

0

7

15

31

IPv6 prefix RTE field description:

IPv6 prefix—Destination IPv6 address prefix.

Route tag—Route tag.

Prefix len—Length of the IPv6 address prefix.

Metric—Cost of a route.

Advertising