25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Redirect (5)<br />

If this message is received from an intermediate router, it means that the host<br />

should send future datagrams for the network to the router whose <strong>IP</strong> address is<br />

specified in the ICMP message. This preferred router will always be on the same<br />

subnet as the host that sent the datagram <strong>and</strong> the router that returned the <strong>IP</strong><br />

datagram. The router forwards the datagram to its next hop destination. This<br />

message will not be sent if the <strong>IP</strong> datagram contains a source route.<br />

The ICMP header code field will have one of the following values:<br />

0 Network redirect<br />

1 Host redirect<br />

2 Network redirect for this type of service<br />

3 Host redirect for this type of service<br />

See Figure 3-32 for more details.<br />

0 8 16 31<br />

router <strong>IP</strong> address<br />

<strong>IP</strong> header - 64 bits of original data of the datagram<br />

Figure 3-32 ICMP: Redirect<br />

Router Advertisement (9) <strong>and</strong> Router Solicitation (10)<br />

ICMP messages 9 <strong>and</strong> 10 are optional. They are described in RFC 1256, which<br />

is elective. See Figure 3-33 <strong>and</strong> Figure 3-34 on page 114 for details.<br />

0 8 16 31<br />

number<br />

entry length<br />

router address 1<br />

preference level 1<br />

TTL<br />

/ / / /<br />

router address n<br />

preference level n<br />

Figure 3-33 ICMP: Router Advertisement<br />

Chapter 3. Internetworking protocols 113

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!