IP Routing
19-8
19
Address Resolution Protocol
If IP routing is enabled (page 19-4), the router uses its routing tables to make routing
decisions, and uses Address Resolution Protocol (ARP) to forward traffic from one
hop to the next. ARP is used to map an IP address to a physical layer (i.e., MAC)
address. When an IP frame is received by this router (or any standards-based
router), it first looks up the MAC address corresponding to the destination IP
address in the ARP cache. If the address is found, the router writes the MAC
address into the appropriate field in the frame header, and forwards the frame on to
the next hop. IP traffic passes along the path to its final destination in this way, with
each routing device mapping the destination IP address to the MAC address of the
next hop toward the recipient, until the packet is delivered to the final destination.
If there is no entry for an IP address in the ARP cache, the router will broadcast an
ARP request packet to all devices on the network. The ARP request contains the
following fields similar to that shown in this example:
When devices receive this request, they discard it if their address does not match
the destination IP address in the message. However, if it does match, they write their
own hardware address into the destination MAC address field and send the
message back to the source hardware address. When the source device receives a
reply, it writes the destination IP address and corresponding MAC address into its
cache, and forwards the IP traffic on to the next hop. As long as this entry has not
timed out, the router will be able forward traffic directly to the next hop for this
destination without having to broadcast another ARP request.
Table 19-1 Address Resolution Protocol
destination IP address
10.1.0.19
destination MAC address
?
source IP address
10.1.0.253
source MAC address
00-00-ab-cd-00-00
Summary of Contents for 8926EM
Page 6: ...ii ...
Page 34: ...Getting Started ...
Page 44: ...Introduction 1 10 1 ...
Page 62: ...Initial Configuration 2 18 2 ...
Page 64: ...Switch Management ...
Page 76: ...Configuring the Switch 3 12 3 ...
Page 118: ...Basic Management Tasks 4 42 4 ...
Page 164: ...User Authentication 6 28 6 ...
Page 176: ...Access Control Lists 7 12 7 ...
Page 284: ...Quality of Service 14 8 14 ...
Page 294: ...Multicast Filtering 15 10 15 ...
Page 300: ...Domain Name Service 16 6 16 ...
Page 310: ...Dynamic Host Configuration Protocol 17 10 17 ...
Page 320: ...Configuring Router Redundancy 18 10 18 ...
Page 344: ...IP Routing 19 24 19 ...
Page 356: ...Unicast Routing 20 12 20 Web Click Routing Protocol RIP Statistics Figure 20 5 RIP Statistics ...
Page 386: ...Unicast Routing 20 42 20 ...
Page 388: ...Command Line Interface ...
Page 400: ...Overview of the Command Line Interface 21 12 21 ...
Page 466: ...SNMP Commands 24 16 24 ...
Page 520: ...Access Control List Commands 26 18 26 ...
Page 546: ...Rate Limit Commands 30 2 30 ...
Page 612: ...VLAN Commands 34 24 34 ...
Page 626: ...Class of Service Commands 35 14 35 ...
Page 670: ...DHCP Commands 39 16 39 ...
Page 716: ...IP Interface Commands 41 36 41 ...
Page 768: ...IP Routing Commands 42 52 42 ...
Page 770: ...Appendices ...
Page 791: ......