6,7
6,7
Network
Lecture 1
Link-layer Basics
Ethernet LAN technology
Multiple-access Link
Topic’s objectives
find out the answers to:
2. Framing
3. Error detection
4. Reliable
delivery
5. Access
Mediation
Network Adapter
Responsible for the mentioned link-layer tasks
Wired LAN
Encoding
How to encode bits into signals that the link can carry
Framing
Error Detection
Basic mechanism is to add redundancy to
determine errors.
Reliable Transmission
Fundamental
mechanisms:
1. Acknowledgements
2. Timeouts
Automatic Repeat Request (ARQ)
Shared access networks:
Ethernet
Example Multiple Access
Links
Shared RF
(e.g., 802.11 WiFi)
Shared wire
(e.g., cabled
Ethernet)
Shared acoustical
waves
Shared RF
Different approaches to MAC
Three broad classes:
• Channel Partitioning
– Divide channel into smaller “pieces”
(time slots, frequency, code) and
allocate for exclusive use
• Random Access
– Channel not divided, allow (and recover
from) collisions
• “Taking turns”
Random Access Protocol
• When node has packet to send
– transmit at full channel data rate R.
– no a priori coordination among nodes
802.3 Standard
10 Mbps – Ethernet
100 Mbps – Fast Ethernet
1 Gbps – Gigabit Ethernet
CSMA/CD (Collision
Detection)
CSMA/CD: carrier sensing, collision
detection
“Collisions” detected within short time
Colliding transmissions aborted
Human analogy: the polite conversationalist
Collision detection:
Easy in wired LANs (used in Ethernet)
How do collisions occur?
Propagation delay:
d
Thicknet – 10Base5
Controller
Vampire Tap
Ethernet Bus
Transceiver
Transceiver Controller
Controller
Segment length
< 100m
Hub: multi-port repeater
Ethernet Hub
Collision Collision
domain domain
Bridge/
Switch
methodology
Section 2.6:
Direct Link
Networks [P&D]
Chapter 5:
Link Layer and
LANs [K&R]
?? ns /
sti o
u e
Q si o n s?
u
?
o nf
C
or u m
f
on g.com /
th e u s s i in
Us e d c
iosmpnet s . n
at:te/
/c e n t 20si
p: /
ge m e3
htt
l e dsite/c s
n owom/
A c k .c
s / le
dit s.go o g
: