text
stringlengths
0
6.55k
Finally, DNS defines much more than just a few messages. DNS defines protocols, as well as standards for the text names used throughout the world, and a worldwide set of distributed DNS servers. The domain names that people use every day when web browsing, which look like www.example.com, follow the DNS naming standard...
until the server that knows the answer supplies the desired IP address information.
77
3
The Address Resolution Protocol
As discussed in depth throughout this chapter, IP routing logic requires that hosts and rout-ers encapsulate IP packets inside data-link layer frames. For Ethernet interfaces, how does a router know what MAC address to use for the destination? It uses ARP.
On Ethernet LANs, whenever a host or router needs to encapsulate an IP packet in a new Ethernet frame, the host or router knows all the important facts to build that header—except for the destination MAC address. The host knows the IP address of the next device, either another host IP address or the default router IP a...
TCP/IP defines the Address Resolution Protocol (ARP) as the method by which any host or router on a LAN can dynamically learn the MAC address of another IP host or router on the same LAN. ARP defines a protocol that includes the ARP Request, which is a message that makes the simple request “if this is your IP address, ...
Figure 3-15 shows an example that uses the same router and host from the bottom part of the earlier Figure 3-13. The figure shows the ARP Request sent by router R3, on the left of the figure, as a LAN broadcast. All devices on the LAN will then process the received frame. On the right, at Step 2, host PC2 sends back an...
Note that hosts and routers remember the ARP results, keeping the information in their ARP cache or ARP table. A host or router only needs to use ARP occasionally, to build the ARP cache the first time. Each time a host or router needs to send a packet encapsulated in an Ethernet frame, it first checks its ARP cache fo...
||||||||||||||||||||
||||||||||||||||||||
78 CCNA 200-301 Official Cert Guide, Volume 1
Ethernet Broadcast
1 ARP Request R3
Sender IP = R3’s IP Sender MAC = R3’s MAC Target IP = 150.150.4.10 Target MAC = ???
Target IP = R3’s IP Target Mac = R3’s MAC
Sender IP = 150.150.4.10 Sender MAC = 0200.2222.2222
ARP Reply 2
PC2 Ethernet Unicast (to R3)
150.150.4.10 0200.2222.2222
Figure 3-15 Sample ARP Process
NOTE You can see the contents of the ARP cache on most PC operating systems by using the arp -a command from a command prompt.
ICMP Echo and the ping Command
After you have implemented a TCP/IP internetwork, you need a way to test basic IP connec-tivity without relying on any applications to be working. The primary tool for testing basic network connectivity is the ping command.
Ping (Packet Internet Groper) uses the Internet Control Message Protocol (ICMP), sending a message called an ICMP echo request to another IP address. The computer with that IP address should reply with an ICMP echo reply. If that works, you successfully have tested the IP network. In other words, you know that the netw...
Hannah Harold
ping Harold
Eth IP ICMP Echo Request
Eth IP ICMP Echo Reply
Figure 3-16 Sample Network, ping Command
Note that while the ping command uses ICMP, ICMP does much more. ICMP defines many messages that devices can use to help manage and control the IP network.
|||||||||||||||||||| Technet24
||||||||||||||||||||
Chapter 3: Fundamentals of WANs and IP Routing 79
Chapter Review
The “Your Study Plan” element, just before Chapter 1, discusses how you should study and practice the content and skills for each chapter before moving on to the next chapter. That element introduces the tools used here at the end of each chapter. If you haven’t already done so, take a few minutes to read that section....
Review this chapter’s material using either the tools in the book or interactive tools for the 3
same material found on the book’s companion website. Table 3-4 outlines the key review ele-ments and where you can find them. To better track your study progress, record when you completed these activities in the second column.
Table 3-4 Chapter Review Tracking
Review Element Review key topics
Review key terms
Answer DIKTA questions
Review memory tables