Ethernet: Introduction To Networks
Ethernet: Introduction To Networks
Ethernet
Introduction to Networks
Chapter 5: Objectives
Upon completion of this chapter, you will be able to:
Describe the operation of the Ethernet sublayers.
Identify the major fields of the Ethernet frame.
Describe the purpose and characteristics of the Ethernet MAC
address.
Describe the purpose of ARP.
Explain how ARP requests impact network and host
performance.
Explain basic switching concepts.
Compare fixed configuration and modular switches.
Configure a Layer 3 switch.
Chapter 5
5.0
5.1
5.2
5.3
5.4
Introduction
Ethernet Protocol
Address Resolution Protocol
LAN Switches
Summary
Ethernet Operation
Ethernet Operation
Ethernet Operation
Data encapsulation
Media access control
Ethernet Operation
MAC Sublayer
Ethernet Operation
Ethernet Operation
Ethernet Operation
Ethernet Operation
Ethernet Operation
Ethernet Operation
Ethernet Operation
Ethernet Operation
Frame Processing
MAC addresses assigned to workstations, servers, printers,
switches, and routers.
Example MACs:
00-05-9A-3C-78-00
00:05:9A:3C:78:00
0005.9A3C.7800.
When a device is forwarding a message to an Ethernet
network, attaches header information to the packet, contains
the source and destination MAC address.
Each NIC views information to see if the destination MAC
address in the frame matches the devices physical MAC
address stored in RAM.
No match, the device discards the frame.
Matches the destination MAC of the frame, the NIC passes the
frame up the OSI layers, where the de-encapsulation process
takes place.
Ethernet Encapsulation
Early versions of
Ethernet were slow
at 10 Mb/s.
Now operate at 10
Gb/s per second and
faster.
Ethernet frame
structure adds
headers and trailers
around the Layer 3
PDU to encapsulate
the message being
sent.
Ethernet II is the
Ethernet frame format
used in TCP/IP
networks.
The figure displays the fields contained in the 802.1Q VLAN tag
Length/Type Field
Defines the exact
length of the frame's
data field; describes
which protocol is
implemented.
Ethernet MAC
Ethernet MAC
Ethernet MAC
Ethernet MAC
Ethernet MAC
MAC and IP
MAC and IP
MAC Address
This address does not change
Similar to the name of a person
Known as physical address because physically assigned to
the host NIC
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
Ethernet MAC
ARP
Introduction to ARP
ARP Purpose
Sending node needs a way to find the MAC address of the
destination for a given Ethernet link
The ARP protocol provides two basic functions:
Resolving IPv4 addresses to MAC addresses
Maintaining a table of mappings
ARP
ARP
ARP Functions/Operation
ARP Table
Used to find the data link layer address that is mapped to the
destination IPv4 address.
As a node receives frames from the media, it records the
source IP and MAC address as a mapping in the ARP table.
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
ARP
ARP
ARP Functions/Operation
(cont.)
ARP
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
ARP
ARP Issues
ARP Issues
Switching
Switching
Switching
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.
Switching
Duplex Settings
Switching
Auto-MDIX
Switching
Switching
Cut-through Switching
Fast-forward switching:
Lowest level of latency
immediately forwards a
packet after reading the
destination address,
typical cut-through
method of switching
Fragment-free switching:
Switch stores the first
64 bytes of the frame
before forwarding, most
network errors and
collisions occur during
the first 64 bytes
Switching
Fixed or Modular
Fixed or Modular
Fixed or Modular
Layer 3 Switching
Layer 3 Switching
Layer 3 Switching
Layer 3 Switching
Chapter 5
Summary
Chapter 5
Summary (cont.)