1
Ethernet and CSMA/CD Reviews
CSC488: Special Topic in Computer Networks
Supanit Angsirikul
Rangsit University
Aloha Protocol: Pure Aloha
2
reschedule
reschedule
B send
Channel
A send
Collision
A and B don’t hear
what they are sending
Carrier Sense Multiple Access: CSMA
Listen Before Talk (LBT)
3
CSMA Operation
4
CSMA with Collision Detection ( CSMA/CD)
5
Max. Round-Trip time
Min. Frame time
150m
1000bit
2x108 m/s
=300/2x108 = 1.5 microsecond
1000x106 bit/s
=1000/1000x106 = 1 microsecond
Ethernet Family
6
LAN Physical Layer Implementations
7
Physical
Data-Link
(MAC Layer)
Ethernet
100baseTX
10BaseT
802.3
10Base5
10Base2
100baseFX
802.3 Specifications for 10-Mbps Ethernet
802.3u Specifications for 100-Mbps (Fast) Ethernet
100baseT4
10BaseF
DIX
Standard
Frame Format (IEEE 802.3)
Ethernet II
8
IEEE 802.3
Dest.�Address
Source�Address
Length
6
6
2
IP
IPX
AppleTalk
CRC
bytes
4
Pad
Length
Info
Min Frame length =round trip time =512 bits (64bytes)
Max Frame length=1518 bytes
PA
SFD
7
1
Dest.�Address
Source�Address
Type
6
6
2
IP
IPX
AppleTalk
CRC
4
Pad
Info
PA
8
LLC
10BASE-5
9
0.5” diameter, 50 ohm
🡪10Base5
2.5m
500 m
10BASE-2
10
0.25” diameter, 50 ohm
10BASE-T
11
10BASE-FX
12
FOIRL
(Fiber Optic Inter-Repeater Link)
10 BASE FX
Fast Ethernet 100BASE-X
13
Comparing Ethernet Media Requirements
14
10Base5
100BaseTX
10BaseT
100BaseFX
Media
Maximum
Segment
Length
Topology
Connector
50-ohm coax (thick)
500 meters
Bus
100 meters
Star
Star
Point-to-point
EIA/TIA Cat
3, 4, 5 UTP
2 pair
EIA/TIA Cat
5 UTP
2 pair
62.5/125-micron multi-mode fiber
AUI
(DB-15)
ISO 8877
(RJ-45)
Duplex media
interface connector
(MIC) ST
ISO 8877
(RJ-45)
400 meters
100 meters
802.3z and 802.3ab Physical Media
15
10 Gigabit Ethernet
16
1
LAN/WAN Cabling
Objectives
18
Cabling the Campus
19
ISDN Cloud
Leased Line/
Frame Relay
Legend
Fast Ethernet/
Ethernet
ISDN
Dedicated
Core Server
Differentiating Between Connections
20
UTP Cable, Jack and Plug
21
UTP Cable
8 Position Jack
RJ45 Plug
Modular Jack Pair Assignments for UTP
22
1
8
Patch Panel
23
Front
Back
Cable terminator
Patch
cable
Wall
Transmission System
24
R
T
T
R
NIC/
Router
HUB/
Switch
R
T
T
R
NIC/
Router
HUB/
Switch
HUB/
Switch
R
T
T
R
NIC/
Router
1
2
3
6
1
2
3
6
1
2
3
6
1
2
3
6
1
2
3
6
1
2
3
6
X
X
X
UTP Implementation Straight-Through
25
�Wires on cable ends are in same order.
Pin Label
1 RD+
2 RD-
3 TD+
4 NC
5 NC
6 TD-
7 NC
8 NC
Cable 10BaseT/�100BaseTX Straight-Through
Pin Label
1 TD+
2 TD-
3 RD+
4 NC
5 NC
6 RD-
7 NC
8 NC
Server/Router
8
1
w
g
g
b
w
o
w
b
o
br
w
br
1
8
Straight-Through Cable
(EIA/568A)
8
1
Hub/Switch
8
1
w
g
g
b
w
o
w
b
o
br
w
br
UTP Implementation Crossover
26
Some wires on cable ends are crossed.
Cable 10BaseT/�100BaseT Crossover
Pin Label
1 RD+
2 RD-
3 TD+
4 NC
5 NC
6 TD-
7 NC
8 NC
Pin Label
1 RD+
2 RD-
3 TD+
4 NC
5 NC
6 TD-
7 NC
8 NC
Crossover Cable
8
1
8
Hub/Switch
Hub/Switch
8
1
w
g
g
b
w
o
w
b
o
br
w
br
1
8
1
w
0
0
b
w
g
w
b
g
br
w
br
UTP Implementation of Straight-Through Versus Crossover
27
1x
2x
3x
4x
1x
2x
3x
4x
1x
2x
3x
4x
Cabling the Campus
28
100-Mbps
Cat 5
Crossover
10-Mbps
Cat 3, 4, 5
Crossover
100-Mbps
Cat 5
Straight-Through
10-Mbps
Cat 3, 4, 5
Straight-Through
10-Mbps
Cat 3, 4, 5
Straight-Through
WAN Physical Layer Implementations
29
PPP
Frame
Relay
EIA/TIA-232
EIA/TIA-449
X.21 V.24 V.35
HSSI
ISDN BRI (with PPP)
RJ-45
NOTE: Pinouts are different from RJ-45 used in campus.
HDLC
Serial Implementation of DTE Versus DCE
30
Data Terminal Equipment:
Data Communications Equipment:
S
S
S
S
S
S
DTE
DTE
DCE
DCE
(CSU/DSU)
Local Loop
Serial
Connection
(CSU/DSU)
Local Loop
Serial
Connection
Differentiating Between WAN Serial Connectors
31
DCE
DTE
CSU/DSU
Local Loop
Service Provider
Serial
Connection
Differentiating Between WAN Serial Connectors
32
Router Connections
Smart Serial/DB60
Network Connections at the CSU/DSU
EIA/TIA-232
EIA/TIA-449
EIA-530
V.35
X.21
CSU/�DSU
End-User Device
DTE
DCE
Service Provider
WAN Connector
33
Serial Connections
34
CSU/�DSU
Clock
DTE
SS/DB60
DCE
V.35
Service Provider
Clock
CSU/�DSU
Router
Router
Typical Serial Connection
Router
Router
Clock
Lab Serial Connection
DTE
SS/DB60
DCE
V.35
DTE
SS/DB60
DCE
V.35
DTE
V.35
DCE
SS/DB60
Setting Up a Console Connection
35
Device with Console
Computer or Terminal Console Connection
36
Modem Connection to Console or Auxiliary Port
37