background image
740 Appendix A: Answers to the "Do I Know This Already?" Quizzes and Q&A Sections
41
Define the purpose of an ICMP redirect message.
The ICMP redirect message enables a router to tell a host to use a different router than
itself because that other router has a better route to the subnet to which the host sent a
packet. The redirect also implies that the router sending the redirect, the host sending the
original packet, and the better router all have interfaces attached to this same subnet.
42
Define the purpose of the trace command. What type of messages is it sending, and what
type of ICMP messages is it receiving?
The trace command learns the current route to a destination address. It uses IP packets
with UDP as the transport layer protocol, with TTL values beginning at 1 and then
incrementing by 1 in successive messages. The result is that intervening routers will find
that the TTL is exceeded and will send ICMP "TTL exceeded" messages back to the
originator of the packet, which is the router where the trace command is being executed.
The source addresses of the "TTL exceeded" packets identify each router. By sending
other packets with TTL=2, then 3, and so on, eventually the packet is received by the host.
The host returns a "port unreachable" ICMP message, which lets the trace command
know that the endpoint host has been reached.
43
What does IP stand for? What does ICMP stand for? Which protocol is considered to be
Layer 3 equivalent when comparing TCP/IP to the OSI protocols?
Internet Protocol and Internet Control Message Protocol. Both protocols are considered
to be part of TCP/IP's protocols equivalent to OSI Layer 3. ICMP is also considered a
Layer 3 protocol because it is used for control and management of IP. However, an IP
header precedes an ICMP header, so it is common to treat ICMP as another Layer 4
protocol, like TCP and UDP. ICMP does not provide services to a higher layer, so it is
really an adjunct part of Layer 3.
44
What causes the output from an IOS ping command to display "UUUUU?"
U is an indication that an unreachable message was received. The type of unreachable
message is not implied by the "U".
45
Describe how to view the IP ARP cache in a Cisco router. Also describe the three key
elements of each entry.
show ip arp displays the IP ARP cache in a Cisco router. Each entry contains the IP
address, the MAC address, and the interface from which the information was learned. The
encapsulation type is also in the table entry.
46
How many hosts are allowed per subnet if the subnet mask used is 255.255.255.192? How
many hosts are allowed for 255.255.255.252?
255.255.255.192 has 6 bits of value 0, giving 2
6
hosts, minus the two reserved numbers,
for 62. The 255.255.255.252 mask leaves 2
2
hosts, minus the two reserved numbers, for
two hosts. 255.255.255.252 is often used on serial links when using VLSM; point-to-point
links need only two IP addresses.
apA.fm Page 740 Monday, March 20, 2000 5:24 PM