Professional Documents
Culture Documents
source destination
M application application M message
Metcalfe’s Ethernet
sketch
Ethernet Technologies: 10Base2
nodes
hub
Ethernet hubs and switches
By definition of the term, Ethernet hubs:
Operate solely at Ethernet Layer 1
Repeat (regenerate) electrical signals to improve cabling
distances
Forward signals received on a port out all other ports (no
buffering)
Switches have the same cabling and signal
regeneration benefits as hubs, but switches do a lot
more—including sometimes reducing or even
eliminating collisions by buffering frames
When switches receive multiple frames on different
switch ports, they store the frames in memory buffers
to prevent collisions
Collision Domains
A collision domain is a set of devices that can send
frames that collide with frames sent by another device
in that same set of devices
Before the advent of LAN switches, Ethernets were
either physically shared (10BASE2 and 10BASE5) or
shared by virtue of shared hubs and their Layer 1
“repeat out all other ports” logic
Ethernet switches greatly reduce the number of
possible collisions, both through frame buffering and
through their more complete Layer 2 logic
Ethernet hubs and switches
Collision detection
CSMA/CD
The original Ethernet specifications expected collisions to occur
on the LAN
The media is shared
Any electrical signal induced onto the wire could collide with a
signal induced by another device
When two or more Ethernet frames overlap on the transmission
medium at the same instant in time, a collision occurs
The collision results in bit errors and lost frames
The original Ethernet specifications defined the Carrier Sense
Multiple Access with Collision Detection (CSMA/CD) algorithm to
deal with the inevitable collisions
CSMA/CD minimizes the number of collisions
CSMA/CD
A device with a frame to send listens until the Ethernet is not
busy (in other words, the device cannot sense a carrier signal
on the Ethernet segment).
When the Ethernet is not busy, the sender begins sending the
frame.
The sender listens to make sure that no collision occurred.
If there was a collision, all stations that sent a frame send a
jamming signal to ensure that all stations recognize the
collision.
After the jamming is complete, each sender of one of the
original collided frames randomizes a timer and waits that
long before resending. (Other stations that did not create the
collision do not have to wait to send.)
After all timers expire, the original senders can begin again
with Step 1
Ethernet :
Framing and Addressing
In many documents, the word frame refers to the bits and
bytes that include the Layer 2 header and trailer, along
with the data encapsulated by that header and trailer
The term packet is most often used to describe the Layer
3 header and data, without a Layer 2 header or trailer
Ethernet’s Layer 2 specifications relate to the creation,
forwarding, reception, and interpretation of Ethernet
frames
The original Ethernet specifications were owned by the
combination of Digital Equipment Corp., Intel, and Xerox—
hence the name “Ethernet (DIX)”
Ethernet :
Framing and Addressing
Ethernet at the Data Link layer is responsible for
Ethernet addressing, commonly referred to as
hardware addressing or MAC addressing
Ethernet is also responsible for framing packets
received from the Network layer and preparing them
for transmission on the local network
There are four different types of Ethernet frames
available:
Ethernet-II
IEEE 802.3
IEEE 802.2
SNAP
Ethernet :
Framing and Addressing
Ethernet :
Framing and Addressing
Following are the details of the different fields in the
802.3 and Ethernet frame types: