Chapter 1 Merged
Chapter 1 Merged
Internet and
Fundamental of Data and Signal
Network Type
• By size :
• Personal Area Network
• Local Area Network
• Metro Area Network
• Wide Area Network
• Connection:
• Wired
• Wireless
• Ownership:
• Private
• Public
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 22
Personal Area Network-to-Workstation
Layout (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 33
Local Area Network-to-Local Area Network
Layout (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 44
Local Area Network-to-Metropolitan Area
Network Layout (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 55
Local Area Network-to-Wide Area Network
Layout (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 66
INTERNET OF THINGS
7
Wireless Sensor Networks (WSN)
End-user
Core network
Gateway e.g. Internet
Sink
Gateway Computer services
node
8
People Connecting to Things
ECG sensor
Internet
Motion sensor
Motion sensor
Motion sensor
9
Things Connecting to Things
10
CLOUD COMPUTING
11
What is Cloud Computing?
Forecasted
Infrastructure
Demand
Capital
Time
13
Acceptable Surplus
Forecasted
Infrastructure
Demand
Surplus Forecasted
Infrastructure
Capital Demand
Capital
Time Time
14
“Actual” demand
Capital
Capital
Actual
Actual
Infrastructure
Infrastructure
Demand
Demand
Time
Time
15
Unacceptable Surplus
Surplus
Surplus
Capital
Capital
Time
Time
16
Unacceptable Deficit
Deficit
Capital
Time
17
Utility Infrastructure Model with Cloud
Capital
Capital
Actual
Infrastructure
Actual
Demand
Infrastructure
Demand
Time
Time
18
Secret of Cloud Computing
21
THE CORE TECHNOLOGY
22
Network Architectures
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 23
The TCP/IP Protocol Suite
Note: Some authors show only four layers, combining the two
bottom layers.
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 24
The TCP/IP Protocol Suite (continued)
• Application layer
– Where the application using the network resides
– Common network applications include web browsing,
e-mail, file transfers, and remote logins
• Transport layer
– Performs a series of miscellaneous functions (at the
end-points of the connection) necessary for
presenting the data package properly to the sender or
receiver
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 25
The TCP/IP Protocol Suite (continued)
• Network (Internet or internetwork or IP) layer
– Responsible for creating, maintaining and ending network
connections
– Transfers data packet from node to node (e.g. router to router)
within network
• Network access (data link) layer
– Responsible for taking the data and transforming it into a frame
with header, control and address information, and error detection
code, then transmitting it between the workstation and the
network
• Physical layer
– Handles the transmission of bits over a communications channel
– Includes voltage levels, connectors, media choice, modulation
techniques
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 26
The TCP/IP Protocol Suite (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 27
The Open Systems Interconnection (OSI)
Model
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 28
Logical and Physical Connections
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 29
Logical and Physical Connections
(continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 30
Network Layouts in Action
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 31
The TCP/IP Protocol Suite in Action
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 32
The TCP/IP Protocol Suite in Action
(continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 33
TRENDS
34
35
Cellular communication trends
36
37
38
39
40
41
42
Download Bandwidth Ranking 2013 (1)
[Link]
43
Download Bandwidth Ranking 2013 (2)
45
Convergence
The Internet
Wireless Fixed
Technologies Telecom.
Convergence
Information
Broadcasters
Technologies
Others Cable TV 46
Trend of Telecom Convergence
- Forces from computer and media industries
electronic
Media Industry (content) publishing and
entertainment
47
How are the networks changing?
Extensions
More nodes, more connections, IPv6, 6LowPan,...
Any TIME, Any PLACE + Any THING
M2M, IoT
Billions of interconnected devices,
Everybody connected.
Expansions
Broadband
Enhancements
Smart networks
Data-centric and content-oriented networking
Context-aware (autonomous) systems
48
Future Networks
49 49
49
DATA AND SIGNAL
50
Introduction to Data and Signals
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 51
Data and Signals
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 52
Analog vs. Digital
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 53
Analog vs. Digital (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 54
Analog vs. Digital (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 55
Analog vs. Digital (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 56
Analog vs. Digital (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 57
Fundamentals of Signals
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 58
Fundamentals of Signals – Amplitude
• Amplitude
– The height of the wave above or below a given
reference point
– Amplitude is usually measured in volts
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 59
Fundamentals of Signals – Amplitude
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 60
Fundamentals of Signals – Frequency
• Frequency
– The number of times a signal makes a complete cycle
within a given time frame; frequency is measured in Hertz
(Hz), or cycles per second (period = 1 / frequency)
– Spectrum – Range of frequencies that a signal spans from
minimum to maximum
– Bandwidth – Absolute value of the difference between the
lowest and highest frequencies of a signal
– For example, consider an average voice
• The average voice has a frequency range of roughly 300 Hz
to 3100 Hz
• The spectrum would be 300 – 3100 Hz
• The bandwidth would be 2800 Hz
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 61
Fundamentals of Signals – Frequency
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 62
Fundamentals of Signals – Phase
• Phase
– The position of the waveform relative to a given
moment of time or relative to time zero
– A change in phase can be any number of angles
between 0 and 360 degrees
– Phase changes often occur on common angles,
such as 45, 90, 135, etc.
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 63
Fundamentals of Signals – Phase
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 64
Fundamentals of Signals
• Phase
– If a signal can experience two different phase
angles, then 1 bit can be transmitted with each
signal change (each baud)
– If a signal can experience four different phase
angles, then 2 bits can be transmitted with each
signal change (each baud)
– Note: number of bits transmitted with each signal
change = log2 (number of different phase angles)
– (You can replace “phase angles” with “amplitude levels” or
“frequency levels”)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 65
Decibels unit
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 66
Decibels unit
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 67
Loss of Signal Strength (in dB)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 69
1. Transmitting Analog Data with
Analog Signals
• In order to transmit analog data, you can
modulate the data onto a set of analog signals
• Broadcast radio and the older broadcast
television are two very common examples of this
• We modulate the data onto another set of
frequencies so that all the different channels can
coexist at different frequencies
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 70
1. Transmitting Analog Data with
Analog Signals (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 71
2. Transmitting Digital Data with Digital
Signals: Digital Encoding Schemes
• There are numerous techniques available to
convert digital data into digital signals. Let’s
examine five:
– NRZ-L
– NRZI
– Manchester
– Differential Manchester
– Bipolar AMI
• These are used in LANs and some telephone
systems
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 72
2. Transmitting Digital Data with Digital
Signals: Digital Encoding Schemes
(continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 73
3. Transmitting Digital Data with
Discrete Analog Signals
• Three basic techniques:
– Amplitude shift keying
– Frequency shift keying
– Phase shift keying
• One can then combine two or more of these
basic techniques to form more complex
modulation techniques (such as quadrature
amplitude modulation)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 74
Amplitude Shift Keying
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 75
Amplitude Shift Keying (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 76
Frequency Shift Keying
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 77
Phase Shift Keying
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 78
Phase Shift Keying (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 79
Phase Shift Keying (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 80
4. Transmitting Analog Data with
Digital Signals
• To convert analog data into a digital signal, there
are two techniques:
– Pulse code modulation (the more common)
– Delta modulation
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 81
Pulse Code Modulation (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 82
Pulse Code Modulation (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 83
Pulse Code Modulation (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 84
Pulse Code Modulation (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 85
Pulse Code Modulation (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 86
Pulse Code Modulation (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 88
Delta Modulation (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 89
Four combinations of data and signals
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 90
Bandwidth and Bit-rate
The Relationship Between Frequency and
Bits Per Second
• Higher Data Transfer Rates
– How do you send data faster?
• Use a higher frequency signal (make sure the
medium can handle the higher frequency
• Use a higher number of signal levels
– In both cases, noise can be a problem
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 92
The Relationship Between Frequency and
Bits Per Second (continued)
• Shannon’s theorem gives the capacity of a
system in the presence of noise.
C = B log2(1 + SNR)
– C: capacity, bit rate
– B: Bandwidth
– SNR: Signal to Noise Ratio
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 93
The Relationship Between Frequency and
Bits Per Second (continued)
• Maximum Data Transfer Rates
– How do you calculate a maximum data rate?
– Use Shannon’s equation
• S(f) = f x log2 (1 + S/N)
– Where f = signal frequency (bandwidth), S is the signal power
in watts, and N is the noise power in watts
– For example, what is the data rate of a 3400 Hz signal with
0.2 watts of power and 0.0002 watts of noise?
• S(f) = 3400 x log2 (1 + 0.2/0.0002)
= 3400 x log2 (1001)
= 3400 x 9.97
= 33898 bps
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 94
Data Codes
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 95
EBCDIC
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 96
ASCII
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 97
Unicode
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 98
Summary
• Data and signals are two basic building blocks of computer
networks
– All data transmitted is either digital or analog
– Data is transmitted with a signal that can be either digital or
analog
• All signals consist of three basic components: amplitude,
frequency, and phase
• Two important factors affecting the transfer of a signal over a
medium are noise and attenuation
• Four basic combinations of data and signals are possible:
analog data converted to an analog signal, digital data
converted to a digital signal, digital data converted to a
discrete analog signal, and analog data converted to a digital
signal
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 99
Summary (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 10
0
Summary (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 10
1
Chapter Two
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 2
Twisted Pair Wire
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 3
Twisted Pair Wire summary
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 4
Twisted Pair Summary
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 5
Coaxial Cable
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 6
Coaxial Cable (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 7
Coaxial Cable Summary
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 8
Fiber-Optic Cable
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 9
Fiber-Optic Cable Summary
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 11
Wireless Media
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 12
Electromagnetic wave Spectrum
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 13
Terrestrial Microwave Transmission
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 14
Terrestrial Microwave Transmission
(continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 15
Satellite Microwave Transmission
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 16
Satellite Microwave Transmission
(continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 17
Satellite Microwave Transmission
(continued)
• LEO (Low-Earth-Orbit) – 100 to 1000 miles out
– Used for wireless e-mail, special mobile telephones, pagers,
spying, videoconferencing
• MEO (Middle-Earth-Orbit) – 1000 to 22,300 miles
– Used for GPS (global positioning systems) and government
• GEO (Geosynchronous-Earth-Orbit) – 22,300 miles
– Always over the same position on earth (and always over the
equator)
– Used for weather, television, government operations
• HEO (Highly Elliptical Earth orbit) – satellite follows an
elliptical orbit
• Used by the military for spying and by scientific
organizations for photographing celestial bodies
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 18
Satellite Microwave Transmission
(continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 19
Satellite, Radar, Radio Bands
Geo Stationary Satellites
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 21
Overview of MEO LEO communications
Iridium Globalstar ICO Teledesic
# satellites 66 + 6 48 + 4 10 + 2 288
altitude 780 1414 10390 ca. 700
(km)
coverage global 70° latitude global global
min. 8° 20° 20° 40°
elevation
frequencies 1.6 MS 1.6 MS 2 MS 19
[GHz 29.2 2.5 MS 2.2 MS 28.8
(circa)] 19.5 5.1 5.2 62 ISL
23.3 ISL 6.9 7
access FDMA/TDMA CDMA FDMA/TDMA FDMA/TDMA
method
ISL yes no no yes
bit rate 2.4 kbit/s 9.6 kbit/s 4.8 kbit/s 64 Mbit/s
2/64 Mbit/s
# channels 4000 2700 4500 2500
Lifetime 5-8 7.5 12 10
[years]
cost 4.4 B$ 2.9 B$ 4.5 B$ 9 B$
estimation
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 22
Cellular Telephones
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 23
Cellular Telephones (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 24
Cellular Telephones (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 25
Cellular Telephones (continued)
• 1st Generation
– AMPS (Advanced Mobile Phone Service) – first
popular cell phone service; used analog signals
and dynamically assigned channels
– D-AMPS (Digital AMPS) – applied digital
multiplexing techniques on top of AMPS analog
channels
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 26
Cellular Telephones (continued)
• 2nd Generation
– PCS (Personal Communication Systems) –
essentially all-digital cell phone service
– PCS phones came in three technologies:
• TDMA – Time Division Multiple Access
• CDMA – Code Division Multiple Access
• GSM – Global System for Mobile Communications
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 27
Cellular Telephones (continued)
• 2.5 Generation
– AT&T Wireless, Cingular Wireless, and T-Mobile
now using GPRS (General Packet Radio Service)
in their GSM networks (can transmit data at 30
kbps to 40 kbps)
– Verizon Wireless, Alltel, [Link], and Sprint
PCS are using CDMA2000 1xRTT (one carrier
radio- transmission technology) (50 kbps to 75
kbps)
– Nextel (Sprint, ptt phone) uses IDEN (integrated
digital enhanced network) technology
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 28
Cellular Telephones (continued)
• 3rd Generation
– UMTS (Universal Mobile Telecommunications
System) – also called Wideband CDMA
• The 3G version of GPRS
• UMTS not backward compatible with GSM (thus
requires phones with multiple decoders)
– 1XEV (1 x Enhanced Version) –3G replacement
for 1xRTT
• two forms:
– 1xEV-DO for data only
– 1xEV-DV for data and voice
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 29
Cellular Telephones (continued)
• 4th Generation
– LTE (Long Term Evolution) – theoretical speeds
of 100 Mbps or more, actual download speeds
10-15 Mbps (Verizon currently has LTE)
– WiMax – introduced in a couple slides –
theoretical speeds of 128 Mbps; actual download
speeds 4 Mbps (Sprint and Clearwire)
– HSPA (High Speed Packet Access) – 14 Mbps
downlink, 5.8 Mbps uplink; is this 3.5G or 4G?
– HSPA+ – theoretical downlink of 84 Mbps, 22
Mbps uplink (T-Mobile) 3.5G or 4G?
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 30
5G
• 5G is to be a new technology that will provide all the possible applications,
by using only one universal device, and interconnecting most of the already
existing communication infrastructures.
• The 5G terminals will be a reconfigurable multimode and cognitive radio-
enabled.
• It will have software defined radio modulation schemes. All the required
reconfigurable software should be downloaded from the Internet on the run.
• The 5G mobile networks will focus on the development of the user
terminals where the terminals will have access to different wireless
technologies at the same time and will combine different flows from
different technologies.
• Besides, the terminal will make the final choice among different
wireless/mobile access network providers for a given service.
• The 5G core is to be a Re-configurable, Multi-Technology Core.
• The core could be a convergence of new technologies such as
nanotechnology, cloud Computing and cognitive Radio, Artificial
Intelligence and based on All IP Platform.
31
Evolution
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 32
Infrared Transmissions
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 33
WiMax - Broadband Wireless Systems
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 34
WiMax (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 35
Bluetooth
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 36
Bluetooth (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 37
Wireless Local Area Networks
(IEEE 802.11)
• This technology transmits data between
workstations and local area networks using high-
speed radio frequencies
• Current technologies allow up to 100 Mbps
(theoretical) data transfer at distances up to
hundreds of feet
• Three popular standards: IEEE 802.11b, a, g, n
• More on this in Chapter Seven (LANs)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 38
Free Space Optics and Ultra-Wideband
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 39
Free Space Optics and
Ultra-Wideband (continued)
• Free space optics (continued)
– Current speeds go from T-3 (45 Mbps) to OC-48
(2.5 Gbps) with faster systems in development
– Major weakness is transmission thru fog
– A typical FSO has a link margin of about 20 dB
– Under perfect conditions, air reduces a system’s
power by approximately 1 dB/km
– Scintillation is also a problem (especially in hot
weather)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 40
Free Space Optics and
Ultra-Wideband (continued)
• Ultra-wideband
– UWB not limited to a fixed bandwidth but
broadcasts over a wide range of frequencies
simultaneously
– Many of these frequencies are used by other
sources, but UWB uses such low power that it
“should not” interfere with these other sources
– Can achieve speeds up to 100 Mbps but for small
distances such as wireless LANs
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 41
Free Space Optics and
Ultra-Wideband (continued)
• Ultra-wideband (continued)
– Proponents for UWB say it gets something for
nothing, since it shares frequencies with other
sources. Opponents disagree
– Cell phone industry against UWB because CDMA
most susceptible to interference of UWB
– GPS may also be affected
– One solution may be to have two types of
systems – one for indoors (stronger) and one for
outdoors (1/10 the power)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 42
UWB Spectrum
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 43
ZigBee
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 44
Wireless Media (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 45
Wireless Media (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 46
Media Selection Criteria
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 47
COMPUTER INTERFACES
Input/ Memory
Output
Units
CPU
Storage
Units (Central Processing Unit)
Buffering;
Voltage conversion;
FIREWIRE, FIBRECHANNEL,
INFINIBAND, SCSI
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 2
Definition
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 3
Definition (cont)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 4
Multiplexing Methods
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 5
Frequency Division Multiplexing
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 7
Frequency Division Multiplexing (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 8
FDM concept
Frequency Band
Frequency Band
Frequency Band
Frequency Band
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 9
FDMA Applications
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 11
TDM concept
Slot 3
Slot 1
Slot 2
Slot 4
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 12
Synchronous Time Division Multiplexing
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 13
Synchronous Time Division Multiplexing
(continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 14
Synchronous Time Division Multiplexing
(continued)
• If one device generates data at faster rate than
other devices, then the multiplexor must either
sample the incoming data stream from that
device more often than it samples the other
devices, or buffer the faster incoming stream
• If a device has nothing to transmit, the
multiplexor must still insert something into the
multiplexed stream
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 15
Synchronous Time Division Multiplexing
(continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 16
Synchronous Time Division Multiplexing
(continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 17
Synchronous Time Division Multiplexing
(continued)
• So that the receiver may stay synchronized with
the incoming data stream, the transmitting
multiplexor can insert alternating 1s and 0s into
the data stream
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 18
Synchronous Time Division Multiplexing
(continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 19
Statistical Time Division Multiplexing
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 20
Statistical Time Division Multiplexing
(continued)
• A statistical multiplexor accepts the incoming
data streams and creates a frame containing the
data to be transmitted
• To identify each piece of data, an address is
included
• If data size varies, then length of data must be
included too
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 21
Statistical Time Division Multiplexing
(continued)
• If the data is of variable size, a length is also included
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 22
Wavelength Division Multiplexing
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 23
Wavelength Division Multiplexing
(continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 24
FDMA TDMA combination
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 25
FDMA+TDMA in GSM
ms ms ms ms ms ms ms ms ms
0.577 0.577 0.577 0.577 0.577 0.577 0.577 0.577 0.577
ms ms ms ms ms ms ms ms ms
0.577 0.577 0.577 0.577 0.577 0.577 0.577 0.577 0.577
ms ms ms ms ms ms ms ms ms
0.577 0.577 0.577 0.577 0.577 0.577 0.577 0.577 0.577
ms ms ms ms ms ms ms ms ms
1 2 3 4 5 6 7 8 1
Voice Channels 26
Signalling Channels
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
Code Division Multiplexing
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 27
Code Division Multiplexing (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 28
Code Division Multiplexing (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 29
Code Division Multiplexing (continued)
• Example (continued)
– Three signals transmitted:
• Mobile A sends a 1, or 11110000, or ++++----
• Mobile B sends a 0, or 01010101, or -+-+-+-+
• Mobile C sends a 1, or 00110011, or --++--++
– Summed signal received by base station: -1, +1,
+1, +3, -3, -1, -1, +1
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 30
Code Division Multiplexing (continued)
• Example (continued)
– Base station decode for Mobile A:
• Signal received: -1, +1, +1, +3, -3, -1, -1, +1
• Mobile A’s code: +1, +1, +1, +1, -1, -1, -1, -1
• Product result: -1, +1, +1, +3, +3, +1, +1, -1
– Sum of Products: +8
– Decode rule: For result near +8, data is binary 1
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 31
Code Division Multiplexing (continued)
• Example (continued)
– Base station decode for Mobile B:
• Signal received: -1, +1, +1, +3, -3, -1, -1, +1
• Mobile B’s code: +1, -1, +1, -1, +1, -1, +1, -1
• Product result: -1, -1, +1, -3, -3, +1, -1, -1
– Sum of Products: -8
– Decode rule: For result near -8, data is binary 0
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 32
CDM concept
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 33
CDMA Applications
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 34
Comparison of Multiplexing Techniques
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 35
Compression: Lossless versus Lossy
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 36
Compression–Lossless versus Lossy
(continued)
• Compress a program file?
– You want lossless
• Compress a video image, movie, or audio file?
– Lossy is OK
• Examples of lossless compression include:
– Huffman codes, run-length compression, and
Lempel-Ziv compression
• Examples of lossy compression include:
– MPEG, JPEG, MP3
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 37
Lossless Compression
• Run-length encoding
• Runs of data (that is, sequences in which the
same data value occurs in many consecutive
data elements) are stored as a single data value
and count.
wwwwaaadexxxxxx
w4a3d1e1x6
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 41
Video compression
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 42
Video Compression (continued)
5762866356 5762866356
6575563247 6576563237
8468564885 8468564885
5129865566 5139865576
First Frame Second Frame
0000000000
0 0 0 1 0 0 0 0 -1 0
0000000000
0010000010
Difference
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 43
Lossy Image Compression
• Image Compression
– One image (JPEG) or continuous images
(MPEG)
– A color picture can be defined by red/green/blue,
or luminance/chrominance/chrominance which
are based on RGB values
• Either way, you have 3 values, each 8 bits, or 24
bits total (224 colors!)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 44
Lossy Compression (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 45
Lossy Image Compression (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 46
Error Free transmission
• Noise Source
• Error Prevention
• Error Detection
• Error Control
• Error Correction
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 47
NOISE/ERROR SOURCE
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 48
Introduction
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 49
White Noise
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 50
White Noise (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 51
Impulse Noise
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 52
Impulse Noise (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 53
Crosstalk
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 54
Echo
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 55
Jitter
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 56
Other noises
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 57
ERROR PREVENTION
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 58
Error Prevention
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 59
ERROR DETECTION
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 60
Error Detection
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 61
Parity Checks
• Simple parity
– If performing even parity, add a parity bit such
that an even number of 1s are maintained
– If performing odd parity, add a parity bit such that
an odd number of 1s are maintained
– For example, send 1001010 using odd parity
– For example, send 1001011 using even parity
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 62
Parity Checks (longitudinal)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 63
Parity Checks (summary)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 64
Arithmetic Checksum
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 65
Cyclic Redundancy Checksum
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 66
Cyclic Redundancy Checksum (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 67
Cyclic Redundancy Checksum (continued)
• 14 bits of message
• 3-bit CRC
• polynomial x3 + x + 1.
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 68
Cyclic Redundancy Checksum (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 69
Cyclic Redundancy Checksum (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 70
Cyclic Redundancy Checksum (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 71
ERROR CONTROL
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 72
Error Control
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 73
Do Nothing (Toss the Frame/Packet)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 74
Return A Message
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 75
Stop-and-Wait Error Control
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 76
Stop-and-Wait Error Control (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 77
Sliding Window Error Control
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 79
ERROR CORRECTION
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 80
Correct the Error
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 81
Correct the Error (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 82
Correct the Error (continued)
• Example (continued):
– c8 will perform a parity check on bits b12, b11, b10,
and b9
– c4 will perform a parity check on bits b12, b7, b6 and
b5
– c2 will perform a parity check on bits b11, b10, b7, b6
and b3
– c1 will perform a parity check on bits b11, b9, b7, b5,
and b3
• The next slide shows the check bits and their values
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 83
Correct the Error (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 84
Correct the Error (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 86
Correct the Error (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 87
Business Multiplexing In Action
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 88
Business Multiplexing In Action (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 89
Business Multiplexing In Action (continued)
• Possible solutions
– Connect each terminal to the mainframe computer
using separate point-to-point lines
– Connect all the terminals to the mainframe computer
using one multipoint line
– Connect all the terminal outputs and use microwave
transmissions to send the data to the mainframe
– Collect all the terminal outputs using multiplexing and
send the data to the mainframe computer using a
conducted line
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 90
Terimakasih
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 91
Local Area Network and IP addressing
Primary Function of Local Area Networks
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 2
Primary Function of Local Area Networks
(continued)
• To provide access to hardware and software resources
that will allow users to perform one or more of the
following activities (continued):
• Manufacturing support
• LANs can support manufacturing and industrial
environments
• Academic support
• In classrooms, labs, and wireless
• E-mail support
• Interconnection between multiple systems
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 3
Primary Function of Local Area Networks
(continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 4
Medium Access Control Protocols
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 5
Contention-Based Protocols
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 6
Contention-Based Protocols (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 7
CSMA/CD flow chart
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
Round Robin based protocol
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
LAN TOPOLOGY
The First Local Area Network –
The Bus/Tree
• The original topology
• Workstation has a network interface card (NIC)
that attaches to the bus (a coaxial cable) via a
tap
• Data can be transferred using either baseband
digital signals or broadband analog signals
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 11
Bus/Tree (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 12
A More Modern LAN –
The Star-Wired Bus
• Logically operates as a bus, but physically looks
like a star
• Star design is based on hub
• All workstations attach to hub
• Unshielded twisted pair usually used to connect
workstation to hub
• Originally, hub takes incoming signal and
immediately broadcasts it out all connected links
• Hubs can be interconnected to extend size of
network
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 13
Star-Wired Bus (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 14
Star-Wired Bus (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 15
Star-Wired Bus (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 16
Switch
• Switches provide a unique network segment on each
port, thereby separating collision domains.
• Today, network designers are replacing hubs in their
wiring closets with switches to increase their network
performance and bandwidth while protecting their
existing wiring investments.
• Like bridges, switches learn certain information about
the data packets that are received from various
computers on the network.
• Switches use this information to build forwarding tables
to determine the destination of data being sent by one
computer to another computer on the network.
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 17
Switches: Dedicated Access
• Hosts have direct connection to A
switch
• Switching: A-to-A’ and B-to-B’ C’ B
simultaneously, no collisions
• Switches can be cascaded to
expand the network switch
B’ A’
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 18
Switches
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 19
SWITCH vs HUB
SWITCH
HUB
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
Switches (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 21
Switches (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 22
Switches (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 23
Switches (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 24
Switches (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 25
Switches (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 26
Switches (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 27
Switches (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 28
Isolating Traffic Patterns and
Providing Multiple Access
• Whether shared or dedicated segments are
involved, the primary goal of a switch is to
isolate a particular pattern of traffic from other
patterns of traffic or from the remainder of the
network
• Switches, because of their backplane, can also
allow multiple paths of communications to
simultaneously occur
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 29
Isolating Traffic Patterns and
Providing Multiple Access (continued)
• Using a pair of routers, it is possible to
interconnect two switched segments, essentially
creating one large local area network
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 30
Isolating Traffic Patterns and
Providing Multiple Access (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 31
Full-Duplex Switches
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 32
Full Duplex Switches (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 33
Virtual LANs
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 34
Virtual LANs (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 35
WIRED AND WIRELESS
Wired Ethernet
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 37
Wired Ethernet (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 38
Wired Ethernet (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 39
Wired Ethernet (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 40
Wired Ethernet (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 41
Wireless Ethernet
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 43
Wireless Ethernet (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 44
Wireless Ethernet (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 45
Wireless Ethernet (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 46
Wireless Ethernet (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 47
Wireless Ethernet (continued)
• IEEE 802.11g
• Another fast standard, introduced in 2002
• Also capable of transmitting data at 54 Mbps
(theoretical) but using the same frequencies as
802.11b (2.4-GHz)
• Is backwards compatible with 802.11b
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 48
Wireless Ethernet (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 49
Wireless CSMA/CA
• CA (Collision avoidance)
• Protocol does not listen and detect collisions
• Instead, tries to avoid collisions before they happen
• How does CSMA/CA do this?
• All devices, before they transmit, must wait an
amount of time called an inter frame space (IFS)
• Some applications have a short IFS, while others
have a long IFS
• If two applications want to transmit at same time, the
application with shorter IFS will go first
• *IFS values are technology dependent
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 50
CSMA/CA algorithm
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
Wireless LAN problem: Hidden Terminal
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
Solution (partial) : RTS/CTS
RTS: Request To Send
CTS: Clear To Send
RTS CTS
C
A B
CTS
STEPS CTS
•A sends RTS to B
•B replies with CTS
•A can send data
•Any other nodes receiving CTS or RTS Hidden: CTS, no RTS
•should refrain for some time D Exposed: RTS, no CTS
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
Exposed Terminal Problem
R1 CTS
1 2 3
S1 RTS DATA
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
RTS CTS Frame Sequence
Station AP
RTS
CTS
Data
ACK
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
2.4GHz band channels
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
Frequency Planning
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
Wireless Standard
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
802.11 a, b and g
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
IP ADDRESS AND
SUBNETTING
IP Addresses and subnetting
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 61
IP Addresses (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 62
IP Addresses (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 63
IP Addresses (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 64
IP Addresses (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 65
IP Addresses (continued)
• IP subnet masking
• Sometimes you have a large number of IP
addresses to manage
• By using subnet masking, you can break the
host ID portion of the address into a subnet ID
and host ID
• Example – subnet mask [Link] applied
to a class B address will break the host ID
(normally 16 bits) into an 8-bit subnet ID and an
8-bit host ID
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 66
IP Addresses (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 67
IP Addresses (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 68
Subnetting
©
Need for Subnetting
©
Using Host IDs to Subnet
140 15 1 0
Subnet 1
Full Class B Network
140 15 2 0
140 15 0 0
Subnet 2
140 15 3 0
Subnet 3
Third octet is borrowed to be used for subnet IDs
Subnet Configuration
140 15 1 0
140 15 1 255
Broadcast ID
Slash notation
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 74
First and last address
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 75
Examples(1)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 76
Examples(2)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 77
IPv6
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 78
IPv6 (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 79
IPv6 Addressing
• IPv6 Addressing rules are covered by multiples RFC’s
• Architecture defined by RFC 3513 (obsoletes RFC 2373)
• Address Types are :
• Unicast : One to One (Global, Link local, Site local,
Compatible)
• Anycast : One to Nearest (Allocated from Unicast)
• Multicast : One to Many
• Reserved
• A single interface may be assigned multiple IPv6
addresses of any type (unicast, anycast, multicast)
• No Broadcast Address -> Use Multicast
IPv6 Address Representation
• 16-bit fields in case insensitive colon hexadecimal
representation
• 2031:0000:130F:0000:0000:09C0:876A:130B
LAN: 3ffe:b00:c18:1::/64
Ethernet0
interface Ethernet0
ipv6 address 2001:410:213:1::/64 eui-64
MAC address: 0060.3e47.1530
Fragment
Identification Flags
Offset
Next
Payload Length Hop Limit
Header
Time to Live Protocol Header Checksum
Source Address
Destination Address
Source Address
Options Padding
Legend
Transition Mechanism
Transition Options:
Dual Stack
IPv6-IPv4 Tunnel
IPv6-IPv4 Translation
IPv6
Transition Mechanism
IPv6
interface GigabitEthernet0/1
description Connected to IITK
ip address [Link] 255.
ipv6 address 2001:DF0:92::1/64
ipv6 enable
!
interface GigabitEthernet0/2
description Airtel IPv6 Connectivity
ip address [Link] [Link]
ipv6 address 2404:A800:2:D::2/64
ipv6 enable
!
IPv6
IP6-IP4 Translation
This allows communication between IPv4 only and
IPv6 only end stations.
10
Forwarding Table
Can display forwarding table using “netstat -rn”
Sometimes called “routing table”
U flag: Is route up ?
Statically Dynamically
Administrator Routers exchange network reachability
manually configures information using ROUTING PROTOCOLS.
forwarding table entries Routers use this to compute best routes
+ More control + Can rapidly adapt to changes
+ Not restricted to in network topology
destination-based + Can be made to scale well
forwarding - Complex distributed algorithms
- Doesn’t scale - Consume CPU, Bandwidth, Memory
- Slow to adapt to - Debugging can be difficult
network failures - Current protocols are destination-based
j
i
k
Distance Vector (DV) Approach
Consistency Condition: D(i,j) = c(i,k) + D(k,j)
The DV (Bellman-Ford) algorithm evaluates this recursion
iteratively.
In the mth iteration, the consistency criterion holds,
assuming that each node sees all nodes and links m-
hops (or smaller) away from it (i.e. an m-hop view)
B 1 C 1
B B C
7 7 7
A 8 2 A A 8
1 1 1
E D E E D
2 2
B 1 C 1
B B C
7 7 7
A 8 2 A A 8
1 1 1
E D E E D
2 2
DV(Y) [ 4 0 1] [ 60 0 1] [ 60 0 1] [ 51 0 1]
DV(Z) [ 5 1 0] [ 5 1 0] [ 50 1 0] [ 7 1 0]
Dijkstra’s algorithm: example
Step set N D(B),p(B) D(C),p(C) D(D),p(D) D(E),p(E) D(F),p(F)
0 A 2,A 5,A 1,A infinity infinity
1 AD 2,A 4,D 2,D infinity
2 ADE 2,A 3,E 4,E
3 ADEB 3,E 4,E
4 ADEBC 4,E
5 ADEBCF
DEST PORT
5 Result: A Local
3
Router A B 1
B C 5
2 table C 2
A 2 1 F
3 D 2
1 2 E 2
D E
1 F 2
C Dijkstra’s algorithm
C
D
E D
E
F
G F
H
G
H
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 38
User Datagram Protocol (UDP)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
339
The Transmission Control Protocol (TCP)
(continued)
• The TCP layer can ensure that the receiver is
not overrun with data (end-to-end flow control)
using the Window field
• TCP can perform end-to-end error correction
– Checksum
• TCP allows for the sending of high priority data
– Urgent Pointer
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 40
The Transmission Control Protocol (TCP)
(continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 41
Internet Control Message Protocol (ICMP)
• ICMP
– Used by routers and nodes
– Performs error reporting for the Internet Protocol
• ICMP reports errors such as invalid IP address,
invalid port address, and the packet has hopped
too many times
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 42
Multiprotocol Label Switching
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
443
Multiprotocol Label Switching
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
444
Address Resolution Protocol (ARP)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
446
Dynamic Host Configuration Protocol
(DHCP)
• An IP address can be assigned to a workstation
permanently (static assignment) or dynamically
– Dynamic IP address assignment is a more
efficient use of scarce IP addresses
– When DHCP client issues an IP request, DHCP
server looks in its static table
• If no entry exists, server selects an IP address
from available pool
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
447
Dynamic Host Configuration Protocol
(DHCP) (continued)
• The address assigned by DHCP server is
temporary
– Part of agreement includes specific period of time
• If no time period specified, the default is one hour
– DHCP clients may negotiate for a renewal before
the time period expires
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
448
Network Address Translation (NAT)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
449
Network Address Translation (NAT)
(continued)
• Since the outside world cannot see into LAN,
you do not need to use registered IP addresses
on inside LAN
• We can use the following blocks of addresses
for private use:
– [Link] – [Link]
– [Link] – [Link]
– [Link] – [Link]
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
550
Network Address Translation (NAT)
(continued)
• When a user on inside sends packet to outside,
the NAT interface changes the user’s inside
address to global IP address
– This change is stored in a cache
• When the response comes back, the NAT looks
in cache and switches the addresses back
– If not the packet is dropped
• Unless NAT has a service table of fixed IP address
mappings
– This service table allows packets to originate from
the outside
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
551
NAT: network address translation
[Link]
[Link]
[Link]
[Link]
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
553
The World Wide Web
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
554
Locating a Document on the Internet
(continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
555
Domain Name System
The Domain Name System (DNS) is the “phone book
for the Internet”
Translates human-friendly hostnames into IP
addresses
Every domain name entry within a top-level domain
list (e.g., the .com “phone book”) must be unique
There is a single organization that controls each top-
level list and makes sure that no duplicates arise
E.g., the .com list is managed by the firm Network
Solutions
5
Domain Name System
5
Root level
There are servers throughout the Internet that keep track of all the
names and their associated “phone numbers” (read, IP
addresses).
Such a server is called a Domain Name Server
Or, simply: DNS – note reuse of same acronym
A DNS accepts requests from programs & other DNS to convert
domain names into IP addresses
Interesting aspect of the DNS system -- it is completely distributed
throughout the world on millions of machines, yet behaves like
a single, integrated database!
How does it work?
…How do you lookup a name in this global “Internet phone book?”
It starts with your local DNS.
Local DNS: The name server that is your machine’s first contact
when converting domain names to IP addresses.
6
Your PC’s domain name resolution process from
your apartment
Step 2: IP address of
Step 1: IP address of
[Link] ?
[Link]?
Root name
Step 3: IP address of server
[Link]?
6
Choosing a domain name
Consider making your company’s website name…
“extensible”
e.g., what does [Link] have to do with books?
Memorable, Short
6
Choosing a domain name
6
Buying the name
6
Buying the name
Current lessee has the option to renew name before end
of lease
And, most good names are already being leased!
How do you check if a name is available?
Any registrar’s site will have a “WHO-IS” search capability that
searches the DNS for top-level domains
6
Managing domain names
6
Let’s register our own domain names
6
Agenda
7
Web hosting
7
Web hosting
A web hosting account has several initial key pieces of information
associated with it:
username (in this case, based on DuckID, as per last slide)
password (you will choose, can change later)
domain name with extension (e.g., .com)
email address (for confirmation)
7
Web hosting
7
Web hosting
Logging in via:
[Link] [Link]
…shows your webserver
account “Control Panel”
Next use
GoDaddy to point
our new domain
name at our new
webhosting account
7
Point domain name to web server
tell the Registrar (GoDaddy, in this case) what Domain Name
Server is the one that knows about our web hosting account
The Domain Name Server affiliated with our web hosting server
has the name:
[Link]
..and a back-up server: [Link]
go into GoDaddy account and configure our new domain name
with those two DNS server names
In GoDaddy:
All ProductsDomainsDomain Management
Click on your Domain Name and then click on
“Set Nameservers” near lower left
Then enter the two name servers listed above
7
Point domain name to web server
7
Point domain name to web server
7
Access using browser
7
Managing email accounts
Use cPanel to manage email accounts
8
Install database-driven software app: WP
8
WP admin interface
8
cPanel file and database management
8
Internet Services
• The Internet provides many types of services, including
several very common ones:
– Electronic mail (e-mail)
– File transfer protocol (FTP)
– Remote login (Telnet)
– Internet telephony
– Listservs
– Usenet
– Streaming audio and video
– Instant Messaging
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
885
The Internet and Business
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
886
Cookies and State Information
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
887
Cookies and State Information
client server
ebay 8734
usual http request msg Amazon server
cookie file creates ID
usual http response
1678 for user create backend
ebay 8734
set-cookie: 1678 entry database
amazon 1678
usual http request msg
cookie: 1678 cookie- access
specific
usual http response msg action
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition
889
Internet Services in the Market
9
INTERNET GOVERNANCE: Definition
9
Evolution of Internet Governance
9
Evolution .. (cont)
9
Infrastructure and Standardizations
9
IP Address distribution mechanism
9
Registrar di Indonesia
9
9
9
1
1
Thank You
1
A: 200 Mbps ID-Ren Ind
B: 200 Mbps ID-Ren Mora
Internet C: 5 Gbps IP-transit Ind
Internet
D: 5 Gbps IP-transit Mora
E: 1 Gbps Domestik OpenIXP
A C
B C E
1 Gbps Server
Router
Inherent UI 10 Gbps 10 Gbps Farm
Switch
Router BGP DMZ Router
Server
10 Gbps 10 Gbps Farm
Switch
Router UI
Trunk Switch
Wifi Router Router untuk PC dg
basis jaringan kabel
UTP
Fakultas 1 Fakultas 2 Fakultas 3 PAU
Trunk Switch
VLAN Fak 1 VLAN Fak 2 VLAN Fak 3 VLAN Fak 4 VLAN PAU
Aruba Controller
1
Chapter Six
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 2
Introduction
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 3
Security? What is that?
MAIN IDEA: PREVENT ILLEGAL ENTRY
NORMALLY THROUGH LOGIN OR PORTS
Computers are complex programmable machines
Whoever programs them controls them (and not you)
No guarantees that there is no flaws
No clear definitions of doors/walls/windows/roofs/etc
Networks are ubiquitous
Carries genuine/good as well as bad/malicious traffic
Bottom line:
Complete computer security is unattainable,
it is a cat and mouse game
Similar to crime vs. law enforcement
Goals of Computer Security (CIA+)
Confidentiality
The information must just be accessible to the
authorized people
Integrity:
Guarantee that the data is what we expect
Availability
Guarantee that data can be accessed when needed
Plus others: authenticity, Reliability, etc
Authentication (ID Check)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 6
Passwords and ID Systems
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 7
Access Control
8
Access Rights
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 9
Access Rights (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 10
Computer Security Issues
Patch
Risk available
Vulnerability
widely known
Vulnerabilitiy fixed
(Patch installed)
Vulnerability
detected
passive
Fingerprinting (identify topologies & systems)
network layout, operating systems, services
Sniffing (collect network traffic) passive
addresses, names, information (passwords, ...) or
Enumeration (collect access information) active
list of user accounts, share names, …
make unavailable
access to accounts, resources, ...
read,
write,
Escalate privileges (pilfering, vulnerab.)
admin, root access, ...
Need to know:
Data structures, algorithms, cryptography
Social Engineering
*[Link]
Social Engineering
Need to know:
How to win friends (victims) and influence (scam)
people (not CS).
Social engineering
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 19
Cyberwar: Stuxnet (2009)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 26
VULNERABILITIES, ATTACKS, THREATS
SECURITY ISSUES
[Link]
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 27
Physical Protection
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 28
Surveillance
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 29
NETWORK SECURITY
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 30
Securing Communications
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 31
Wireless Security
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 32
Wireless Security (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 33
Network Firewall
Router/Bridge based Firewall
A firewall running on a bridge or a router protects from a
group of devices to an entire network. Cisco has firewall
feature sets in their IOS operating system.
Computer-based Network Firewall
A network firewall runs on a computer (such as a PC or
Unix computer).
Many free products are available including IPFilter , PF
(found on OpenBSD 3.0 and later) and IPTables (found on
Linux).
Commercial products include: Checkpoint Firewall-1.
Apple OSX includes IPFW (part of OS).
Why use Firewall
Protect a wide range of machines from general probes and
many attacks including machines lacking in security.
34
How does a firewall work?
35
Sample rules:
Can you find the problem?
(For this example, when a rules matches a packet, rule processing stops.)
36
SECURITY POLICY AND
MANAGEMENT
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 37
Attackers Advantage
It is faster to attack than to discover!
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 38
Can you achieve 100% security? Never!
users have to practice “safe computing”
Not downloading from unsafe websites
Not opening attachments
Not trusting what you see on websites
Avoiding Scams
Intruder succeed by chance LUCK
Good guys succeed by thoroughness (have to
protect everything all the time) HARD WORK
Follow the standard (Cobit, ISO, etc)
Awareness and Certifications
Working together (CERTs, etc)
Security Policy Design Issues
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 40
RISK > PROTECTION
41
RISK < PROTECTION
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 43
Auditing (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 44
CRYPTO TECHNIQUES
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 45
Definitions
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 46
What is Encryption?
Ciphers
Classical Modern
Rotor Machines
Steganography
Stream Block
Monoalphabetic Substitution-Based Ciphers
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 49
Steganography
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 50
ENIGMA Technology (1930)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 51
ENIGMA Wiring Diagram ( example of A encoding to H )
Left Middle Right Entry
Reflector Rotor Rotor Rotor Drum
B
F
J M
P X O
N
Q W E R T Z U I O - B
A
T
Light Panel H T
A S D F G H J K E
R
P Y X C V B N M L + Y
Q W E R T Z U I O
Keyboard A S D F G J K
A H
P Y X C V B N M L
Q W E R T Z U I O
A S D F G H J K O
Plugboard
P Y X C V B N M L
The History and Technology of the Enigma Cipher Machine M 52
Copyright © 2016 [Link] and [Link]
Data Encryption Standard
Created in 1977 and in operation into the 1990s, the
Data Encryption Standard took a 64-bit block of data and
subjected it to 16 levels of encryption
The choice of encryption performed at each of the 16
levels depends on the 56-bit key applied
Even though 56 bits provides over 72 quadrillion
combinations, a system using this standard has been
cracked (in 1998 by Electronic Frontier Foundation in 3
days)
Enhanced by 3DES (triple DES) in 1998, effectively
tripling key size. Heavy computation!
Only used by legacy devices.
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 53
Advanced Encryption Standard
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 54
Public Key Cryptography (PKC)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 55
Public Key Infrastructure
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 56
Public Key Infrastructure (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 57
Public Key Infrastructure (continued)
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 58
Public Key Infrastructure (continued)
S3 S4
S1 S2
Certificate
Generator
C4(S4)
C1(S1)
C2(S2) C3(S3)
Certificate Servers
Certificate
manager Search based on resource Hash
name, user DN, and attribute Generator
Alternative: Pretty Good Privacy
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 62
Alternative: Kerberos
64
Kerberos Weaknesses and Solutions
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 66
Interesting sites
[Link]
breaches-hacks/
2. BLACKMARKET
[Link]
trade-stolen-data-malware-and-attack-services
NETWORK DESIGN
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 68
NETWORK DESIGN
Design goals
Design choices
Design approaches
The design process
Capacity planning
Design goals
Balance of distribution
Level of transparency
Security
Connectivity technology
Green technology (esp. low power)
Design approaches
Greenfield or
Greenfield sites have no legacy constraints but…
It is difficult to determine the real network loads and stresses
Needs more detail of application use and underlying protocols
Could use simulation to predict performance
Existing site
Limited access
Access to live network could be restricted but…
Bottlenecks more obvious
Can use traffic/network analysis tools
Design Stages - Planning
Uses information on
Hosts, users, services, and their internetworking
needs
Iterative process of
Conceptual design
Analysis
Refinement
Involving
Brainstorming, design reviews, modelling tools
Leading to final draft design
Connectivity options
Technology choices
LANs (Ethernet, Token ring, ATM)
MANs (MPLS, FDDI, SMDS, ATM, SONET/SDH)
WANS (IP routing, Frame relay, ATM, ISDN, X.25,
PDCs, Satellite)
Wireless (802.11, Bluetooth, GPRS, GSM)
Dial-up lines
Serial links
Connectivity option determinants
Concerned with
User response times
Application behaviour and performance
characteristics
Network utilisation
Needed to
Minimise downtime
Maximise service to customers
Minimise costs of procurement and maintenance
Avoid unscheduled maintenance or re-design
Avoid costly upgrades and bad publicity
Capacity Planning - Stages
Data Communications and Computer Networks: A Business User's Approach, Sixth Edition 91