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!

Read offline with no ads or diagram watermarks!
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 4 (ICMPv4) Informational Message Types and Formats

Previous Topic/Section
ICMPv4 Timestamp (Request) and Timestamp Reply Messages
Previous Page
Pages in Current Topic/Section
123
4
Next Page
ICMPv4 Address Mask Request and Reply Messages
Next Topic/Section

ICMPv4 Router Advertisement and Router Solicitation Messages
(Page 4 of 4)

Addressing and Use of Router Advertisement and Router Solicitation Messages

If possible, both Router Advertisement and Router Solicitation messages are sent out multicast for efficiency. Router Advertisements use the “all devices” multicast address (224.0.0.1), since they are intended for hosts to hear, while Router Solicitation messages use the “all routers” multicast address (224.0.0.2). If the local network does not supports multicast, messages are instead sent out broadcast (to address 255.255.255.255).

It is important to remember that just like ICMP Redirect messages, Router Advertisement messages are not a generalized method for exchanging routing information. They are a support mechanism only, used to inform hosts about the existence of routers. Detailed information about routes is communicated between routers using routing protocols, like RIP and OSPF.

I should also mention that while I suggested router discovery was the alternative to manual configuration of a host's default router, there are other alternatives as well. For example, a host configuration protocol like DHCP can allow a host to learn the address of a default router on the local network.

Finally, note that when Mobile IP is implemented, Router Advertisement messages are used as the basis for Mobile-IP-aware routers to send Agent Advertisements. One or more special extensions are added to the regular Router Advertisement format to create an Agent Advertisement. This is discussed extensively in the topic on Mobile IP agent discovery.

Key Concept: ICMP Router Advertisement messages are sent regularly by IP routers to inform hosts of their presence and characteristics, so hosts know to use them for delivery of datagrams to distant hosts. A host that is new to a network and wants to find out immediately what routers are present may send a Router Solicitation, which will prompt listening routers to send out Router Advertisements.



Previous Topic/Section
ICMPv4 Timestamp (Request) and Timestamp Reply Messages
Previous Page
Pages in Current Topic/Section
123
4
Next Page
ICMPv4 Address Mask Request and Reply 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.