Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
EEL4595
Data and Computer Comm.
Professor George
Stallings – Chapter 16
Wired (a.k.a. High-Speed)
Local-Area Networks
NOTE: Many figures and other materials in this presentation are borrowed from
required and reference textbooks cited on the class web page.
1
EEL4595 University of Florida Fall 2004
IEEE 802.3
Ethernet
2
EEL4595 University of Florida Fall 2004
Ethernet (CSMA/CD)
CSMA/CD
Carrier Sense, Multiple Access with Collision
Detection
First developed by Xerox – “Ethernet”
Basis for IEEE Std 802.3
802.3 Medium Access Control
Random Access
Stations access medium randomly
Contention
Stations contend for time on medium
3
EEL4595 University of Florida Fall 2004
ALOHA
Precursor to CSMA/CD is Aloha network
Packet radio applications
Random access, contention
Characteristics
When station has frame, it sends
Then station listens (for max round-trip time) plus small increment
If ACK received, all is fine
If not, then retransmit
If no ACK after repeated transmissions, give up
Error checking at receiver
Frame check sequence (as in HDLC)
If frame OK and address matches receiver, send ACK
Frame may be damaged by noise or by another station transmitting at
same time (collision)
Any overlap of frames causes collision
Studies showed very limited performance
Max channel utilization of ~18%
4
EEL4595 University of Florida Fall 2004
Slotted ALOHA
Extended form of Aloha
Characteristics
Time in uniform slots equal to frame transmission time
Need central clock (or other sync mechanism)
Transmission begins at slot boundary
Frames either miss or overlap/collide totally
Better than Aloha, but still limited
Max channel utilization of ~37%
5
EEL4595 University of Florida Fall 2004
CSMA
Aloha schemes failed to use key feature of LANs
Between stations, propagation time << transmission time (i.e. a << 1)
CSMA leverages this feature
All stations almost immediately know when a transmission has started!
CSMA characteristics
First listen for clear medium (carrier sense)
If medium busy, wait (e.g. until idle); when medium idle, transmit
But, if two stations start at about same instant, collision occurs
To handle potential collision
Wait reasonable time (round-trip time + contention to put ACK on network)
If no ACK received, assume collision and retransmit
Max utilization far exceeds Aloha schemes
How high depends upon two parameters
Propagation time (medium length) and frame length
Longer frame and/or shorter propagation gives better utilization
Options in MAC for simple CSMA related to persistence
Non-persistent CSMA (selfless)
1-persistent CSMA (selfish)
p-persistent CSMA (hybrid)
6
EEL4595 University of Florida Fall 2004
Persistence in CSMA
Non-persistent protocol
If medium is idle, then transmit
If medium is busy, wait random time and try again
Problem: wasted capacity (medium often left idle at end of a transmission even if
station(s) are waiting to transmit)
1-persistent protocol
If medium is idle, then transmit
If medium is busy, listen until idle then immediately transmit
Problem: if >1 stations waiting, collision is guaranteed
Access sorted out after collision
CSMA/CD
Glaring inefficiency with CSMA
Collision occupies medium for duration of
transmission of both damaged frames
For long frames (relative to propagation time), wasted
capacity can be considerable
Can improve using Collision Detection (CD)
Stations listen while transmitting
If collision detected, cease transmitting
Summary
1. If medium idle then transmit, otherwise go to step 2
2. If busy, listen for and await idle, then transmit
3. If collision detected, jam then cease transmission
4. After jam, wait random time then start from step 1
8
EEL4595 University of Florida Fall 2004
9
EEL4595 University of Florida Fall 2004
10
EEL4595 University of Florida Fall 2004
CSMA/CD Operation
11
EEL4595 University of Florida Fall 2004
12
EEL4595 University of Florida Fall 2004
13
EEL4595 University of Florida Fall 2004
14
EEL4595 University of Florida Fall 2004
15
EEL4595 University of Florida Fall 2004
17
EEL4595 University of Florida Fall 2004
18
EEL4595 University of Florida Fall 2004
100BASE-X Media
Two physical medium specifications
100BASE-TX
Two pairs of twisted-pair cable
One pair for transmission and one for reception
STP and Category 5 UTP allowed
MLT-3 signaling scheme is used
100BASE-FX
Two optical fiber cables
One for transmission and one for reception
Intensity modulation used to convert 4B/5B-NRZI code group
stream into optical signals
1 represented by pulse of light
0 by either absence of pulse or very low intensity pulse
19
EEL4595 University of Florida Fall 2004
100BASE-T4
100-Mbps over lower-quality Cat 3 UTP
Taking advantage of large installed base
Cat 5 optional
Does not transmit continuous signal between packets
Useful in battery-powered applications
Cannot get 100 Mbps on single twisted pair
Data stream split into three separate streams
Each with an effective data rate of 33.33 Mbps
Four twisted pairs used
Data transmitted and received using three pairs
Two pairs configured for bidirectional transmission
NRZ encoding not used
Would require signaling rate of 33 Mbps on each pair
Does not provide synchronization
Ternary signaling scheme (8B6T)
20
EEL4595 University of Florida Fall 2004
Full-Duplex Operation
Traditional Ethernet is half duplex
Either transmit or receive but not both simultaneously
With full-duplex, station can transmit and receive
simultaneously
Fast Ethernet in full-duplex mode, theoretical transfer
rate is 200 Mb/s
Attached stations must have full-duplex adapter cards
Use L2 switch instead of hub
Each station constitutes separate collision domain
In fact, no collisions
CSMA/CD algorithm no longer needed
802.3 MAC frame format used
Attached stations can continue CSMA/CD
21
EEL4595 University of Florida Fall 2004
Gigabit Ethernet
GigE simply a new medium and transmission spec. within 802.3
Retains much from its predecessors
Same CSMA/CD frame format and MAC protocol as 10 and 100 Mb/s
predecessors in 802.3
Compatible with 100BASE-T and 10BASE-T
For GigE with shared-media hub, two enhancements
Carrier extension (invisible padding)
Appends special symbols to end of short MAC frames ensuring frame length
of transmission longer than propagation time at 1 Gb/s
Frame bursting
Allows multiple short frames transmitted consecutively (up to a limit) w/o
relinquishing control for CSMA/CD between frames
With switched GigE, these enhancements not needed
Signal encoding scheme is 8B/10B (fiber)
22
EEL4595 University of Florida Fall 2004
23
EEL4595 University of Florida Fall 2004
24
EEL4595 University of Florida Fall 2004
GBIC
Gigabit interface converter (GBIC) allows
network managers to configure switch on a port-
by-port basis for various physical interfaces
26
EEL4595 University of Florida Fall 2004
27
EEL4595 University of Florida Fall 2004
28
EEL4595 University of Florida Fall 2004
10GigE Advantages
No expensive, bandwidth-consuming conversion
between Ethernet packets and ATM cells et al.
Network is Ethernet, end to end
IP and Ethernet together offer QoS and traffic policing
approach ATM
Advanced traffic engineering technologies available to
users and providers
Variety of standard optical interfaces (wavelengths and
link distances) specified for 10 Gb/s Ethernet
Optimizing operation and cost for LAN, MAN, or WAN
29
EEL4595 University of Florida Fall 2004
10GigE Links
Maximum link distances cover 300 m to 40 km
10GBASE-S (short):
850 nm on multimode fiber
Up to 300 m
10GBASE-L (long)
1310 nm on single-mode fiber
Up to 10 km
10GBASE-E (extended)
1550 nm on single-mode fiber
Up to 40 km
10GBASE-LX4:
1310 nm on single-mode or multimode fiber
Up to 10 km
Wavelength-division multiplexing (WDM) bit stream across four light waves
30
EEL4595 University of Florida Fall 2004
31
EEL4595 University of Florida Fall 2004
IEEE 802.5
Token Ring
32
EEL4595 University of Florida Fall 2004
33
EEL4595 University of Florida Fall 2004
Token
Ring
Operation
34
EEL4595 University of Florida Fall 2004
35
EEL4595 University of Florida Fall 2004
36
EEL4595 University of Florida Fall 2004
Priority
Scheme
37
EEL4595 University of Florida Fall 2004
38
EEL4595 University of Florida Fall 2004
40
EEL4595 University of Florida Fall 2004
Fiber Distributed
Data Interface (FDDI)
41
EEL4595 University of Florida Fall 2004
FDDI
Another form of token-ring network
Single or dual rings
Secondary ring in case of primary ring failure
Single- or dual-ring station interfaces
LAN and MAN applications
Some basic characteristics
100 Mb/s per ring (predates HSTR)
Data symbols defined in 4-bit chunks
Optical fiber, UTP, or STP
2km x 100 repeaters = 200km max. length (fiber)
100m x 100 repeaters = 10km max. length (TP)
4B/5B encoding (fiber), MLT-3 (TP)
Many similarities to 802.5, but some clear exceptions
802.5 uses reservation and priority fields
FDDI uses capacity allocation
42
EEL4595 University of Florida Fall 2004
44
EEL4595 University of Florida Fall 2004
45
EEL4595 University of Florida Fall 2004
FDDI
Example
(2)
46
EEL4595 University of Florida Fall 2004
Fibre Channel
48
EEL4595 University of Florida Fall 2004
Network connection
Interconnected access points
Software-based protocols in solution (but h/w too!)
Flow control, error detection, and error recovery
Manages transfers between end systems over
varying distances (LAN, MAN, WAN)
49
EEL4595 University of Florida Fall 2004
Fibre Channel
Best of both technologies; storage-area network
Channel-oriented
Data-type qualifiers for routing frame payload into
particular interface buffers
Link-level constructs associated with individ. I/O ops
Protocol interface specs to support existing I/O
architectures
e.g. SCSI
Network-oriented
Full multiplexing between multiple destinations
Peer-to-peer connectivity
Internetworking to other connection technologies
50
EEL4595 University of Florida Fall 2004
52
EEL4595 University of Florida Fall 2004
53
EEL4595 University of Florida Fall 2004
55
EEL4595 University of Florida Fall 2004
Alternative Topologies
Point-to-point topology
Only two ports
Directly connected, with no intervening switches
No routing
Arbitrated loop topology (FCAL)
Simple, low-cost topology
Up to 126 nodes in loop
Operates roughly equivalent to token ring
Topologies, transmission media, and data rates
may be combined
56
EEL4595 University of Florida Fall 2004
Appendices
16A: Digital Signal Encoding for LANs
Extends our previous studies on signal encoding
4B/5B-NRZI
MLT-3
8B6T
8B/10B
57