Professional Documents
Culture Documents
Network Fundamentals
Network Fundamentals
Network Fundamentals
Communication Model
Trans-
Trans- Destination
Source mission Receiver
mitter
System
(b) Example
Communications Tasks
Data Communication Model
Trans-
Trans- Destination
Source mission Receiver
mitter
System
1 2 3 4 5 6
Input Input data Transmitted Received Output data Output
information g(t) signal signal g'(t) information
m s(t) r(t) m'
Telephone
Codec
Digital
Transceiver
Electromagnetic Spectrum in Communications
Frequency
(Hertz) 102 103 104 105 106 107 108 109 1010 1011 1012 1013 1014 1015
ELF VF VLF LF MF HF VHF UHF SHF EHF
Twisted Pair
Optical
Fiber
Coaxial Cable
Wavelength 106 105 104 103 102 101 100 10-1 10–2 10–3 10–4 10–5 10–6
in space
(meters)
Outer sheath
Outer conductor
Insulation
Inner
conductor
Buffer
coating
Core Cladding
25 2.5
26-AWG (0.4 mm)
Attenuation (dB/km)
Attenuation (dB/km)
24-AWG (0.5 mm)
20 22-AWG (0.6 mm) 2.0
19-AWG (0.9 mm)
15 1.5
10 1.0
5 0.5
0 0
102 103 104 105 106 107 800 900 1000 1100 1200 1300 1400 1500 1600 1700
Frequency (Hz) Wavelength in vacuum (nm)
(a) Twisted pair (based on [REEV95]) (c) Optical fiber (based on [FREE02])
30 30
25 25
0.5 mm
Attenuation (dB/km)
Attenuation (dB/km)
twisted pair
20 20
3/8" cable
(9.5 mm)
15 15
9.5 mm
coax
10 10
typical optical
fiber
5 5
0 0
105 106 107 108 103 106 109 1012 1015
1 kHz 1 MHz 1 GHz 1 THz
Frequency (Hz)
Frequency (Hz)
1 Without
to attenuatoin at 1000 Hz
5
2 With
equalization
–5
0 500 1000 1500 2000 2500 3000 3500
Frequency (Herz)
(a) Attenuation
4000
Relative envelope delay (microseconds)
1 Without
3000 equalization
2000
1000
2
With
equalization
0
0 500 1000 1500 2000 2500 3000 3500
Frequency (Herz)
(b) Delay distortion
Figure 3.14 Attenuation and Delay Distortion Curves for a Voice Channel
Delay Distortion
➢ Occurs in transmission cables such as twisted
pair, coaxial cable, and optical fiber
⚫ Does not occur when signals are transmitted through
the air by means of antennas
➢ Occurs because propagation velocity of a signal
through a guided medium varies with frequency
➢ Various frequency components arrive at different
times resulting in phase shifts between the
frequencies
➢ Particularly critical for digital data since parts of
one bit spill over into others causing intersymbol
interference
Noise
Unwanted signals
inserted between
transmitter and
receiver
Bandwidth
Error rate
The bandwidth
Data rate of the Noise The rate at
transmitted
which errors The main
signal as The greater the
occur, where an constraint on
The rate, in bits constrained by The average bandwidth of a
error is the achieving
per second the transmitter level of noise facility, the
reception of a 1 efficiency is
(bps) at which and the nature over the greater the cost
when a 0 was noise
data can be of the communications
transmitted or
communicated transmission path
the reception of
medium,
a 0 when a 1
expressed in
cycles per was transmitted
second, or hertz
Nyquist Bandwidth
In the case of a channel that is noise free:
➢ The limitation of data rate is simply the bandwidth of the
signal
⚫ If the rate of signal transmission is 2B then a signal with
frequencies no greater than B is sufficient to carry the signal rate
⚫ Given a bandwidth of B, the highest signal rate that can be
carried is 2B
➢ For binary signals, the data rate that can be supported
by B Hz is 2B bps
➢ With multilevel signaling, the Nyquist formula becomes:
C = 2B log2M
➢ Data rate can be increased by increasing the number of
different signal elements
⚫ This increases burden on receiver
⚫ Noise and other impairments limit the practical value of M
Shannon Capacity Formula
➢ Considering the relation of data rate, noise and
error rate:
⚫ Faster data rate shortens each bit so bursts of noise
corrupts more bits
⚫ Given noise level, higher rates mean higher errors
➢ Shannon developed formula relating these to
signal to noise ratio (in decibels)
➢ SNRdb=10 log10 (signal/noise)
➢ Capacity C = B log2(1+SNR)
⚫ Theoretical maximum capacity
⚫ Get much lower rates in practice
SNRdB
–30 –20 –10 0 10 20 30
10
Spectral efficiency (bps/Hz)
0.1
0.01
0.001
0.001 0.10 0.1 1 10 100 1000
SNR
Local Area
Network Router
Router
Router
Residential
subscribers
Backbone Backbone
ISP ISP
Regional
ISP
g
pe erin
va te
Pri
Server
ISP Web
farm
LAN Regional
switch ISP
Regional
ISP
Server
Server
Corporate
LAN open circle = NAP
filled circle = POP
To transfer data
several tasks
must be
performed:
• Control
information for
Semantics coordination and
error handling
• Speed matching
Timing and sequencing
A Simple Protocol Architecture
Communication Layers
Network address
Network access
Computer B
1 2 t
( ) ( ) or
sp
"to port 2 on computer B" an
Tr
from to data
1 2
k
( ) or
t w ss
e e
"to computer B" N acc
a
dat from to from to data
to A B 1 2
m 2
fro
to 1
m B
fro
A
Communications
Network
fr A
om
Computer B
to
n
B
io
fr 1
at
om
ic
Entity Y p pl
data A
to
2
1 2
da
t
( ) ( ) or
ta
sp
an
from to data Tr
1 2
k
( ) or
t w ss
"this is to me" e e
N acc
from to from to data
A B 1 2
Transport
Transfer of data between
end points. May provide TCP, UDP
error control, flow control,
congestion control, reliable
delivery.
Internet ICMP,
OSPF,
Shield higher layers from
RSVP
details of physical network IPv4, IPv6 ARP
configuration. Provides
routing. May provide QoS,
congestion control.
Network Access/
Data Link
Logical interface to network Ethernet, WiFi, ATM, frame relay
hardware. May be stream or
packet oriented. May
provide reliable delivery.
Physical
Transmission of bit stream;
specifies medium, signal Twisted pair, optical fiber, satellite,
encoding technique, data terrestrial microwave
rate, bandwidth, and
physical connector.
Internet Layer
interconnected
networks
Internet Layer
Uses the
Implemented Internet
in end Protocol (IP)
systems and to provide
routers routing
function
Host-to-Host (Transport) Layer
Transmission
Control Protocol
Application Layer
➢ Contains the logic needed to support the
various user applications
➢ A separate module is needed for each
different type of application that is peculiar
to that application
Host A Host B
App X App Y
App Y App X
Port
1 2 3 2 4 6
Logical connection
(TCP connection)
TCP TCP
Global internet
IP address IP
NAP 1 NAP 2
Network 1 Network 2
Physical Physical
TCP TCP
header segment
IP IP
header datagram
Network Network-level
header packet
Sequence Number
20 octets
Acknowledgement Number
Header
Reserved Flags Window
length
Options + Padding
Bit: 0 16 31
Source Address
Destination Address
Options + Padding
Bit: 0 4 10 12 16 24 31
Bit: 0 4 10 12 16 24 31
Source Address
40 octets
Destination Address
TCP UDP
IP