Arp
Arp
1 Ethernet Protocol
5.2 Address Resolution Protocol
5.3 LAN Switches
Ethernet Operation
LLC and MAC Sublayers
Ethernet
One of the most widely used LAN technologies
Operates in the data link layer and the physical layer
Family of networking technologies that are defined in the IEEE 802.2 and 802.3
standards
Supports data bandwidths of 10, 100, 1000, 10,000, 40,000, and 100,000 Mbps
(100 Gbps)
Ethernet Standards
Define Layer 2 protocols and Layer 1 technologies
Two separate sub layers of the data link layer to operate – Logical link control
(LLC) and the MAC sublayers
Ethernet Operation
LLC and MAC Sublayers (cont.)
LLC
Handles communication between upper and lower layers.
Takes the network protocol data and adds control information to help deliver
the packet to the destination.
MAC
Constitutes the lower sublayer of the data link layer.
Implemented by hardware, typically in the computer NIC.
Two primary responsibilities:
Data encapsulation
Media access control
Ethernet Operation
MAC Sublayer (cont.)
Data encapsulation
Frame assembly before transmission and frame disassembly upon reception
of a frame.
MAC layer adds a header and trailer to the network layer PDU.
Ethernet II and IEEE 802.3 standards define the minimum frame size as 64
bytes and the maximum as 1518 bytes
Less than 64 bytes in length is considered a "collision fragment" or "runt
frame”
If size of a transmitted frame is less than the minimum or greater than the
maximum, the receiving device drops the frame
At the physical layer, different versions of Ethernet vary in their method for
detecting and placing data on the media
Ethernet Frame Attributes
Ethernet Frame Size (cont.)
The figure displays the fields contained in the 802.1Q VLAN tag
Ethernet Frame Attributes
Introduction to the Ethernet Frame
IP Address
Similar to the address of a person
Based on where the host is actually located
Known as a logical address because assigned logically
Assigned to each host by a network administrator
Both the physical MAC and logical IP addresses are required for a
computer to communicate just like both the name and address of a
person are required to send a letter.
Ethernet MAC
End-to-End Connectivity, MAC, and IP
ARP Request
Layer 2 broadcast to all devices on the Ethernet LAN.
The node that matches the IP address in the broadcast will reply.
If no device responds to the ARP request, the packet is dropped
because a frame cannot be created.
Note: Static map entries can be entered in an ARP table, but this is
rarely done.
ARP
ARP Operation
ARP
ARP Operation (cont.)
ARP
ARP Operation (cont.)
ARP
ARP Operation (cont.)
ARP
ARP Functions/Operation (cont.)
ARP
ARP Role in Remote Communication
If the destination IPv4 host is on the local network, the frame will use
the MAC address of this device as the destination MAC address.
If the destination IPv4 host is not on the local network, the source
uses the ARP process to determine a MAC address for the router
interface serving as the gateway.
In the event that the gateway entry is not in the table, an ARP
request is used to retrieve the MAC address associated with the IP
address of the router interface.
ARP
Removing Entries from an ARP Table
The ARP cache
timer removes ARP
entries that have
not been used for
a specified period
of time.
Commands may
also be used to
manually remove
all or some of the
entries in the ARP
table.
ARP
ARP Tables on Networking Devices
ARP Issues
How ARP Can Create Problems
ARP Issues
Mitigating ARP Problems
Switching
Switch Port Fundamentals
Layer 2 LAN Switch
5. The switch enters the source MAC address of PC 2 and the port
number of the switch port that received the frame into the address
table. The destination address of the frame and its associated port is
found in the MAC address table.
6. The switch can now forward frames between source and destination
devices without flooding, because it has entries in the address table
that identify the associated ports.
Layer 3 Switching
Layer 2 versus Layer 3 Switching
Layer 3 Switching
Types of Layer 3 Interfaces
The major types of Layer 3 interfaces are:
• Switch Virtual Interface (SVI) – Logical interface on a switch associated with
a virtual local-area network (VLAN).
• Routed Port – Physical port on a Layer 3 switch configured to act as a router
port. Configure routed ports by putting the interface into Layer 3 mode with
the no switchport interface configuration command.
• Layer 3 EtherChannel – Logical interface on a Cisco device associated with
a bundle of routed ports.