1 of 9

Module 9: Address Resolution

CCNA Routing and Switching:

Introduction to Networks v7.0 (ITN)

This Slides is prepared by:

Eng. Rawan Aljamal

​

Cisco Certified CCNA Instructor Trainer

​

1

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

2 of 9

Address Resolution Overview

  • There are two primary addresses assigned to a device on an Ethernet LAN:
          • Layer 2 physical address (the MAC address) – Used for NIC-to-NIC communications on the same Ethernet network.
          • Layer 3 logical address (the IP address) – Used to send the packet from the source device to the destination device. 

​

      • Sometimes a host must send a message, but it only knows the IP address of the destination device. The host needs to discover the MAC address of that device. This is where address resolution becomes critical.

​

  • How to get the MAC address that is associated with a known IP address:
          • ARP (Address Resolution Protocol) is used by IPv4 to associate the IPv4 address of a device with the MAC address of the device NIC in the local network.
          • Neighbor Discovery (ND) is used by IPv6 to associate the IPv6 address of a device with the MAC address of the device NIC in the local network.

​

​

2

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

3 of 9

Destination on Same Network

​

Layer 2 addresses are used to deliver frames from one NIC to another NIC on the same network. If a destination IP address is on the same network, the destination MAC address will be that of the destination device.

​

  • In the figure, PC1 wants to send a packet to PC2. The figure displays the Layer 2 destination and source MAC addresses and the Layer 3 IPv4 addressing that would be included in the packet sent from PC1.

​

3

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

4 of 9

Destination on Remote Network

When the destination IP address is on a remote network, the destination MAC address is that of the default gateway, i.e., the router interface.

​

In the figure, PC1 wants to send a packet to PC2. PC2 is located on a remote network. Because the destination IPv4 address is not on the same local network as PC1, the destination MAC address is that of the local default gateway.

4

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

5 of 9

ARP Overview and functions

A device uses ARP to determine the destination MAC address of a local device when it knows its IPv4 address. ARP provides two basic functions:

    • Resolving IPv4 addresses to MAC addresses
    • Maintaining an ARP table of IPv4 to MAC address mappings.

​

To send a frame, a device will search its ARP table for a destination IPv4 address and a corresponding MAC address. The ARP table temporarily saves (caches) the mapping for the devices on the LAN.

    • If the packet’s destination IPv4 address is on the same network, the device will search the ARP table for the destination MAC address.
    • If the destination IPv4 address is on a different network, the device will search the ARP table for the MAC address of the default gateway.
    • If there is no ARP table entry is found, then the device sends an ARP request.

​

5

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

6 of 9

IPv6 Neighbor Discovery Messages

IPv6 Neighbor Discovery (ND) protocol provides:

    • Address resolution
    • Router discovery
    • Redirection services

​

​

  • ICMPv6 Neighbor Solicitation التماس/حث (NS) and Neighbor Advertisement (NA) messages are used for device-to-device messaging such as address resolution.
  • ICMPv6 Router Solicitation (RS) and Router Advertisement (RA) messages are used for messaging between devices and routers for dynamic address allocation.
  • ICMPv6 Redirect messages are returned by routers to hosts to inform them of a better next hop for reaching a destination.
  • Network Interface Controller (NIC)
  • Media Access Control (MAC) 
  • Internet Protocol (IP)
  • Internet Control Message Protocol (ICMP) 

6

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

7 of 9

IPv6 Neighbor Discovery – Address Resolution

  • IPv6 devices use ND to resolve the MAC address of a known IPv6 address.
  • ICMPv6 Neighbor Solicitation messages are sent using special IPv6 multicast addresses called "solicited-node".

7

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

8 of 9

Suggested Lab Work

Page #

Activity Name

9.1.3

Identify MAC and IP Addresses

9.2.9

Examine the ARP Table

9.3.4

IPv6 Neighbor Discovery

8

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

9 of 9

9

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential