L8-Module 9
L8-Module 9
L8-Module 9
2023
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 3
Feature Description
Hands-On Labs Labs designed for working with physical equipment.
Class Activities These are found on the Instructor Resources page. Class Activities are
designed to facilitate learning, class discussion, and collaboration.
Self-assessments that integrate concepts and skills learned throughout the
Module Quizzes series of topics presented in the module.
Module Summary Briefly recaps module content.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 4
1
16.01.2023
Module Objectives
Module Title: Address Resolution
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10
10
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11
11
2
16.01.2023
MAC and IP
Destination on Same Network
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.
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.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 12
12
MAC and IP
Destination on Remote Network
When the destination IP address is on a remote network, the destination MAC address is
that of the default gateway.
• ARP is used by IPv4 to associate the IPv4 address of a device with the MAC address
of the device NIC.
• ICMPv6 is used by IPv6 to associate the IPv6 address of a device with the MAC
address of the device NIC.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 13
13
MAC and IP
Packet Tracer – Identify MAC and IP Addresses
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 14
14
3
16.01.2023
9.2 ARP
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 15
15
ARP
ARP Overview
A device uses ARP to determine the
destination MAC address of a local
device when it knows its IPv4 address.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 16
16
ARP
ARP Functions
To send a frame, a device will search its ARP table for a destination IPv4 address and a
corresponding MAC address.
• If the packet’s destination IPv4 address is on the same network, the device will
search the ARP table for the destination IPv4 address.
• If the destination IPv4 address is on a different network, the device will search the
ARP table for the IPv4 address of the default gateway.
• If the device locates the IPv4 address, its corresponding MAC address is used as the
destination MAC address in the frame.
• If there is no ARP table entry is found, then the device sends an ARP request.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 17
17
4
16.01.2023
ARP
Video - ARP Request
This video will cover an ARP request for a MAC address.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 18
18
ARP
Video – ARP Operation - ARP Reply
This video will cover an ARP reply in response to an ARP request.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 19
19
ARP
Video - ARP Role in Remote Communications
This video will cover how an ARP request will provide a host the MAC address
of the default gateway.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 20
20
5
16.01.2023
ARP
Removing Entries from an ARP Table
• Entries in the ARP table are not permanent and are removed when an ARP cache
timer expires after a specified period of time.
• The duration of the ARP cache timer differs depending on the operating system.
• ARP table entries can also be removed manually by the administrator.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 21
21
ARP
ARP Tables on Networking Devices
• The show ip arp command displays the ARP table on a Cisco router.
• The arp –a command displays the ARP table on a Windows 10 PC.
C:\Users\PC> arp -a
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 22
22
ARP
ARP Issues – ARP Broadcasting and ARP Spoofing
• ARP requests are received and processed by every device on the local network.
• Excessive ARP broadcasts can cause some reduction in performance.
• ARP replies can be spoofed by a threat actor to perform an ARP poisoning attack.
• Enterprise level switches include mitigation techniques to protect against ARP attacks.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 23
23
6
16.01.2023
ARP
Packet Tracer – Examine the ARP Table
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 24
24
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 25
25
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 26
26
7
16.01.2023
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 27
27
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 28
28
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 29
29
8
16.01.2023
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 30
30
31
33