Beruflich Dokumente
Kultur Dokumente
Ethernet
Fundamentals
1
Version 3.0
Why is Ethernet so Successful?
• In 1973, it could carry data at 3 Mbps
• Now, it can carry data at 10 Gbps
• It is also:
– Simple & has low maintenance
– Can incorporate new technologies
– Is reliable
– Installation and upgrade is relatively inexpensive
• Bandwidth can be increased without changing the underlying
technology (scalable)
• Still uses 802.3 standard
• Uses multiple user access on a shared medium (first developed
by the University of Hawaii and called “Alohanet”
2
Version 3.0
What’s in a Name?
Ethernet naming rules:
10 Base T
Transmission Rate Copper unshielded
twisted pair
Baseband signaling
Uses the entire bandwidth of the transmission medium
3
Version 3.0
Layer 1 & Layer 2
4
Version 3.0
Ethernet Standards
5
Version 3.0
Standard Maximum Cable Length in
Meters
10Base5 500
10Base2 185
10BaseT 100
100Base-TX 100
100Base-FX 400
6
Version 3.0
The MAC Address
• 48 bits in length
• 12 hexadecimal digits
• Burned into ROM on the NIC
7
Version 3.0
Layer 2 Framing
• Generic frames would have:
– Start Frame field
– Address field
– Length/type field
– Data field
– Frame Check sequence field
Or DIX
versions
If Type field is
> 0x600 – Ethernet II
9
Version 3.0
Timing
info Data bytes added
finished, to the rest of the
frame
now
Frame Fields frame must not
exceed 1518 bytes
begins
Timing
synchron
ization
for
slower
Ethernet
Checks
MAC – < 0x600, then value is for
unicast, length – LLC provides damaged
multicast, MAC – protocol frames
broadcast from the > 0x600, then type and
source contents of the Data field
are decoded per the
protocol indicated.
Media Access Control
• 2 categories
– Deterministic (taking turns)
• Ex. Token Ring & FDDI
• CSMA/CA
• No collisions
– Non-deterministic (first-come, first-served)
• Ex. Ethernet
• CSMA/CD
• Collisions because of shared media
11
Version 3.0
Collision detection
CSMA/CD functions:
12
Version 3.0
Collision detection flowchart
A network device knows
a collision has taken
place because the
amplitude of the signal
on the media increases.
After a collision,
each node again
has an equal
chance to transmit
– no priority given.
13
Version 3.0
Ethernet Timing
• There is a natural delay in the forwarding of frames
• If a station does not detect any transmission on the media, it will
begin its transmission – but there is always a delay simply
because it takes some time for the signal to travel
• Not a problem with full duplex as there are different receiving
and sending channels
• The time it takes to transmit the frame must be long enough that
the transmitting station will not finish transmitting before
detecting any collision that might possibly occur to its frame.
• This duration is called a slot time and depends on the minimum
frame size, the link bandwidth, and the link length.
• If the station detects a collision, then the station continues
transmitting until the total time of its transmission is at least one
slot time (to ensure that all other transmitting stations detect the
collision).
• http://www.wildpackets.com/compendium/EN/EN-Ifgap.html
14
Version 3.0
Interframe Spacing
• The minimum interval, in bit-times, that a station has to wait
before sending another frame
• Allows slower stations to process the frame and “get ready” for
the next frame
15
Version 3.0
Sending the Frame
16
Version 3.0
Collisions and Errors
17
Version 3.0
3 types of collisions
Detected late in the
Less than 64 bytes, transmission – NIC
CRC is garbled (will does not know
Same as local,
be on the local about – upper layer
except filtered over
segment) protocols have to
from another
segment (the other handle
side of the repeater)
18
Version 3.0
Module 6
Ethernet
Fundamentals
19
Version 3.0