NOTE: Using software to mass-download the site degrades the server and is prohibited.
If you want to read The TCP/IP Guide offline, please consider licensing it. Thank you.

The Book is Here... and Now On Sale!

Get The TCP/IP Guide for your own computer.
The TCP/IP Guide

Google
Web TCP/IP Guide






Table Of Contents  The TCP/IP Guide
 9  TCP/IP Lower-Layer (Interface, Internet and Transport) Protocols (OSI Layers 2, 3 and 4)
      9  TCP/IP Internet Layer (OSI Network Layer) Protocols
           9  Internet Control Message Protocol (ICMP/ICMPv4 and ICMPv6)
                9  ICMP Message Types and Formats
                     9  ICMP Version 6 (ICMPv6) Informational Message Types and Formats

Previous Topic/Section
ICMPv6 Echo Request and Echo Reply Messages
Previous Page
Pages in Current Topic/Section
1
2
3
Next Page
ICMPv6 Neighbor Advertisement and Neighbor Solicitation Messages
Next Topic/Section

ICMPv6 Router Advertisement and Router Solicitation Messages
(Page 2 of 3)

ICMPv6 Router Advertisement Message Format

The formats of the ICMPv6 Router Advertisement and Router Solicitation messages are fairly similar to their counterparts in ICMPv4. The main differences are in the parameters that are communicated. Since routers are responsible for a few more functions in IPv6 than they are in IPv4, the Router Advertisement message in ICMPv6 has a few more fields than the older version.

The format of an ICMPv6 Router Advertisement message is described in Table 109 and shown in Figure 158.


Table 109: ICMPv6 Router Advertisement Message Format

Field Name

Size (bytes)

Description

Type

1

Type: Identifies the ICMPv6 message type; for Router Advertisement messages the value is 134.

Code

1

Code: Not used; set to 0.

Checksum

2

Checksum: 16-bit checksum field for the ICMP header, as described in the topic on the ICMP common message format.

Cur Hop Limit

1

Current Hop Limit: This is a default value the router is telling hosts on the local network they should put in the Hop Limit field of datagrams they send. If 0, the router is not recommending a Hop Limit value in this Router Advertisement.

Autoconfig Flags

1

 

Router Lifetime

2

Router Lifetime: Tells the host receiving this message how long, in seconds, this router should be used as a default router. If 0, tells the host this router should not be used as a default router.

Note that this is an expiration interval only for the status of the router as a default, not for other information in the Router Advertisement message.

Reachable Time

4

Reachable Time: Tells hosts how long, in milliseconds, they should consider a neighbor to be reachable after they have received reachability confirmation. See the Neighbor Discovery topic discussing neighbor unreachability detection for more.

Retrans Timer

4

Retransmission Timer: The amount of time, in milliseconds, that a host should wait before retransmitting Neighbor Solicitation messages.

Options

Variable

Options: Router Advertisement messages may contain three possible options (see the topic on ICMPv6 options for details):

[ Source Link-Layer Address: Included when the router sending the Advertisement knows its link-layer (layer two) address.

[ MTU: Used to tell local hosts the MTU of the local network when this information may not be known by hosts on the network.

[ Prefix Information: Tells local hosts what prefix or prefixes to use for the local network. (Recall that the “prefix” indicates which bits of an IPv6 address are the network identifier compared to the host identifier; it is thus analogous to an IPv4 subnet mask).



Figure 158: ICMPv6 Router Advertisement Message Format

 


Previous Topic/Section
ICMPv6 Echo Request and Echo Reply Messages
Previous Page
Pages in Current Topic/Section
1
2
3
Next Page
ICMPv6 Neighbor Advertisement and Neighbor Solicitation Messages
Next Topic/Section

If you find The TCP/IP Guide useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider purchasing a download license of The TCP/IP Guide. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

The TCP/IP Guide (http://www.TCPIPGuide.com)
Version 3.0 - Version Date: September 20, 2005

© Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.