| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
ICMPv4 Address Mask Request and Reply Messages (Page 2 of 2) ICMPv4 Address Mask Request and Address Mask Reply Message Format The Address Mask Request and Address Mask Reply, like some other request/reply pairs, have the same basic formatthe host creates the request with all fields filled in except the subnet mask value itself, and the router supplies the mask and sends the reply back to the host. The format is described in Table 100 and Figure 150.
The Identifier and Sequence Number fields can be used to match up requests and replies, as they are for Echo and Echo Reply messages. However, a host won't normally send multiple requests for subnet masks the way it might send Echo messages for testing. For this reason, the Identifier and Sequence Number fields may be ignored by some implementations.
The use of Address Mask Request and Address Mask Reply messages is optional, just as the router discovery described in the previous topic is. Other methods besides these messages or manual configuration may be used to tell a host what subnet mask to use. Again, a common alternative to ICMP for this is a host configuration protocol like the TCP/IP Dynamic Host Configuration Protocol (DHCP). Routers do have to be able to respond to Address Mask Requests for hosts that choose to send them.
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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||