beautypg.com

Ripng packet processing procedure, Request packet, Response packet – H3C Technologies H3C S7500E Series Switches User Manual

Page 283: Protocols and standards

background image

8-3

Figure 8-2 Next hop RTE format

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

Figure 8-3

shows the format of the IPv6 prefix RTE.

Figure 8-3 IPv6 prefix RTE format

IPv6 prefix (16 octets)

Route tag

Prefix length

Metric

0

7

15

31

z

IPv6 prefix: Destination IPv6 address prefix.

z

Route tag: Route tag.

z

Prefix len: Length of the IPv6 address prefix.

z

Metric: Cost of a route.

RIPng Packet Processing Procedure

Request packet

When a RIPng router first starts or needs to update some entries in its routing table, generally a

multicast request packet is sent to ask for needed routes from neighbors.

The receiving RIPng router processes RTEs in the request. If there is only one RTE with the IPv6

prefix and prefix length both being 0, and with a metric value of 16, the RIPng router will respond with

the entire routing table information in response messages. If there are multiple RTEs in the request

message, the RIPng router will examine each RTE, update its metric, and send the requested routing

information to the requesting router in the response packet.

Response packet

The response packet containing the local routing table information is generated as:

z

A response to a request

z

An update periodically

z

A trigged update caused by route change

After receiving a response, a router checks the validity of the response before adding the route to its

routing table, such as whether the source IPv6 address is the link-local address and whether the port

number is correct. The response packet that failed the check will be discarded.

Protocols and Standards

z

RFC 2080: RIPng for IPv6