SlideShare a Scribd company logo
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
COMPUTER NETWORKS
OSI MODEL:
Physical Layer
Data Link
Network
Varna Free University
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
Source
1. Computer Networks, Andrew S.
Tanenbaum
2. www.cisco.com
3. www.novell.com
4. www.rad.com
5. www.3com.com
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
INTRODUCTION
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
NETWORK GOALS
The two main benefits of networking computers are…
Communications
Information can be distributed very quickly, such as
email and video conferencing.
Saving Money
Resources such as information, software, and
hardware can be shared.
CPUs and hard disks can be pooled together to
create a more powerful machine.
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
APPLICATIONS
A lot of things we take for granted are the result of
computer networks.
• Email
• Chat
• Web sites
• Sharing of documents and pictures
• Accessing a centralized database of information
• Mobile workers
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
NETWORK STRUCTURE
The subnet interconnects hosts.
Subnet
Carries messages from host to host. It is made up
of telecommunication lines (i.e. circuits, channels,
trunks) and switching elements (i.e. IMPs, routers).
Hosts
End user machines or computers.
Q: Is the host part of the subnet?
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
NETWORK ARCHITECTURES
A set of layers and protocols is called the network
architecture.
1. Protocol Hierarchies
Networks are organized as layers to reduce design
complexity. Each layer offers services to the higher
layers. Between adjacent layers is an interface.
Services – connection oriented and
connectionless.
Interface – defines which primitives and services
the lower layer will offer to the upper layer.
Primitives – operations such as request, indicate,
response, confirm.
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
NETWORK ARCHITECTURES
2. Design Issues for the Layers
• Mechanism for connection establishment
• Rules for data transfer
• Error control
• Fast sender swamping a slow receiver
• Inability of processes to accept long messages
• Routing in the case of multiple paths
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
OSI REFERENCE MODEL
The Open Systems Interconnection is the model
developed by the International Standards Organization.
Benefits
• Interconnection of different systems (open)
• Not limited to a single vendor solution
Negative Aspect
• Systems might be less secure
• Systems might be less stable
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
OSI REFERENCE MODEL
1. Physical Layer
a) Convert the logical 1’s and 0’s coming from
layer 2 into electrical signals.
b) Transmission of the electrical signals over a
communication channel.
Main topics:
• Transmission mediums
• Encoding
• Modulation
• RS232 and RS422 standards
• Repeaters
• Hubs (multi-port repeater)
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
OSI REFERENCE MODEL
2. Data Link Layer
a) Error control to compensate for the
imperfections of the physical layer.
b) Flow control to keep a fast sender from
swamping a slow receiver.
Main topics:
• Framing methods
• Error detection and correction methods
• Flow control
• Frame format
• IEEE LAN standards
• Bridges
• Switches (multi-port bridges)
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
OSI REFERENCE MODEL
3. Network Layer
a) Controls the operation of the subnet.
b) Routing packets from source to destination.
c) Logical addressing.
Main topics:
• Internetworking
• Routing algorithms
• Internet Protocol (IP) addressing
• Routers
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
OSI REFERENCE MODEL
4. Transport Layer
a) Provides additional Quality of Service.
b) Heart of the OSI model.
Main topics:
• Connection-oriented and connectionless services
• Transmission Control Protocol (TCP)
• User Datagram Protocol (UDP)
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
OSI REFERENCE MODEL
5. Session Layer
a) Allows users on different machines to establish
sessions between them.
b) One of the services is managing dialogue
control.
c) Token management.
d) Synchronization.
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
OSI REFERENCE MODEL
6. Presentation Layer
a) Concerned with the syntax and semantics of the
information.
b) Preserves the meaning of the information.
c) Data compression.
d) Data encryption.
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
OSI REFERENCE MODEL
7. Application Layer
a) Provides protocols that are commonly needed.
Main topics:
• File Transfer Protocol (FTP)
• HyperText Transfer Protocol (HTTP)
• Simple Mail Transfer Protocol (SMTP)
• Simple Network Management Protocol (SNMP)
• Network File System (NFS)
• Telnet
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
SERVICES
Each layer provides services to the layer above it.
1. Terminologies
Entities – active elements in each layer (e.g.
process, intelligent I/O chip).
Peer Entities – entities in the same layer on
different machines.
Service Provider – Layer N.
Service User – Layer N + 1.
Service Access Points – places where layer N + 1
can access services offered by layer N.
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
SERVICES
2. Connection-Oriented and Connectionless
Connection-Oriented – before data is sent, the
service from the sending computer must establish
a connection with the receiving computer.
Connectionless – data can be sent at any time by
the service from the sending computer.
Q: Is downloading a music file from the Internet
connection-oriented or connectionless?
Q: Is email connection-oriented or connectionless?
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
SERVICES
3. Service Primitives
Request – entity wants the service to do some
work
Indicate – entity is to be informed about an event
Response – entity responds to an event
Confirm – entity is to be informed about its request
Sending Computer Receiving Computer
3 Network
1. request
3 Network
2. indicate 3. response
4. confirm
4 Transport 4 Transport
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
BANDWIDTH
The capacity of the medium to transmit data.
Analog Bandwidth
• Measurement is in Hertz (Hz) or cycles/sec.
Digital Bandwidth
• Measurement is in bits per second (bps).
Q: Is 100MHz = 100Mbps?
Q: Is 100Mbps = 100MBps?
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
Hello
Hello
AH
Hello
AH
PH
Hello
AH
PH
SH
Hello
AH
PH
SH
TH
Hello
AH
PH
SH
TH
NH
Hello
AH
PH
SH
TH
NH
DH DT
Bits
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
PHYSICAL LAYER
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
OVERVIEW
1. Signals
• Fourier analysis
• Maximum data rate of a channel
2. Transmission Media
• Guided and Unguided
3. Analog Transmission
• Modulation
• Modems
• RS-232, RS-422
4. Digital Transmission
• Encoding schemes
• Repeaters and hubs
5. Transmission and Switching
• Multiplexing (FDM and TDM)
• Circuit vs. packet switching
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
SIGNALS
1. Fourier Analysis
a) All signals can be represented mathematically.
b) A periodic function can be constructed by adding
a number of sine and cosine functions.
Fundamental frequency – where f = 1/T
Harmonics – integer multiples of the fundamental
frequency
Baud – number of signal level changes per second
Q: Is baud and data rate different terms?
Q: Is 1 baud equal to 1bps?
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
SIGNALS
2. Maximum Data Rate of a Channel
Nyquist
Maximum data rate = 2H log2V (bits/sec)
H = line bandwidth
V = a signal with V discrete levels
Example:
A noiseless 3kHz channel cannot transmit binary (2
level) signals at a rate faster than 6000bps
2(3k) log22 = 6000bps
logAV = (1 / ln A) ln V
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
SIGNALS
Shannon
Maximum data rate (bits/sec) = H log2(1+ PS/PN)
H = line bandwidth
PS = signal strength in watts
PN = noise strength in watts
Example:
A 3kHz channel with a noise ratio of 30dB
(PS/PN = 1000) cannot transmit at a rate faster
than 30,000bps
(3k) log2(1001) = 30,000bps
Note: SNR = 10log10(PS/PN)
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
SIGNALS
3. Attenuation vs. Amplification
Attenuation
The signal received is weaker than the signal sent.
Attenuation (dB) = 10log10(P1/P2)
Amplification
The signal received is stronger than the signal
sent.
Amplification (dB) = 10log10(P2/P1)
Note:
P1 = transmitted signal power in watts
P2 = received signal power in watts
Q: If the result of the attenuation formula is negative, what
happened to the signal?
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
TRANSMISSION MEDIA
1. Guided
Data is sent via a wire or optical cable.
Twisted Pair
Two copper wires are twisted together to reduce
the effect of crosstalk noise. (e.g. Cat5, UTP, STP)
Baseband Coaxial Cable
A 50-ohm cable used for digital transmission. Used
in 10Base2 and 10Base5.
Broadband Coaxial Cable
A 75-ohm cable used for analog transmission such
as Cable TV.
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
TRANSMISSION MEDIA
Fiber Optic Cables
Two general types are multimode and single mode.
In multimode, light is reflected internally. Light
source is an LED.
In single mode, the light propagates in a straight
line. Light source come from expensive laser
diodes. Faster and longer distances as compared
to multimode.
* Fiber optic cables are difficult to tap (higher security)
and are normally used for backbone cabling.
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
TRANSMISSION MEDIA
2. Unguided
Data is sent through the air.
Line-of-sight
Transmitter and receiver must “see” each other,
such as a terrestrial microwave system.
Communication Satellites
A big microwave repeater in the sky. Data is
broadcasted, and can be “pirated.”
Radio
Term used to include all frequency bands, such as
FM, UHF, and VHF television.
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
ANALOG TRANSMISSION
1. Modulation
Modulating a sine wave carrier to convey data.
Amplitude Modulation (AM)
Amplitude is increased/decreased while frequency
remains constant.
Frequency Modulation (FM)
Frequency is increased/decreased while amplitude
remains constant.
Phase Modulation
Wave is shifted, while amplitude and frequency
remains constant.
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
ANALOG TRANSMISSION
2. Modems
A device that accepts digital signals and outputs a
modulated carrier wave, and vice versa.
It is used to interconnect the digital computer to the
analog telephone network.
* Modems for PC’s can be external or internal.
* Nokia makes modems for leased line connections.
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
ANALOG TRANSMISSION
3. RS-232 and RS-449
Two well known physical layer standards.
RS-232
• 20 kbps
• Cables up to 15 meters
• Unbalanced transmission (common ground)
RS-422
• 2 Mbps at 60 meters
• 1 Mbps at 100 meters
• Balanced transmission (a pair of wires for Tx, Rx)
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
DIGITAL TRANSMISSION
1. Encoding Schemes
Converting logical data into electrical signals
suitable for transmission.
Manchester
• Mid bit transition for clock synchronization and
data
• Logic 0 = high to low transition
• Logic 1 = low to high transition
Differential Manchester
• Mid bit transition for clock synchronization only
• Logic 0 = transition at the beginning of each bit
period
• Logic 1 = no transition at the beginning of each
bit period
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
DIGITAL TRANSMISSION
2. Repeaters and Hubs
These are physical layer devices.
Repeaters
• Restores the strength of an attenuated signal.
• Used to increase the transmission distance.
• Does not filter data traffic.
Hubs
• Multi-port repeater.
• Interconnects several computers.
• Does not filter data traffic.
* Picture from 3com.com
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
NETWORK LAYER
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
OVERVIEW
1. Routing Algorithms
• Shortest Path
• Flooding
• Flow-based
• Distance Vector
• Link State
• Hierarchical
• Broadcast
• Multicast
• Routing for Mobile Hosts
2. Congestion control
3. IP Addressing
4. Routers
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
ROUTING ALGORITHMS
1. Shortest Path
A
C
D
B
E
F
2
2
2
1
2
1
1
3
3 2
B(A,2)
A(-,-)
E(A,2)
C(B,3)
D(E,3)
F(E,4)
A – E – D – F
A – E – F is the answer.
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
ROUTING ALGORITHMS
2. Flooding
IMP
B
Packet
Packet to IMP C
Packet to IMP D
Packet to IMP E
To prevent packets from circulating indefinitely, a
packet has a hop counter. Every time a packet arrives
at an IMP, the hop counter is decrease by 1. Once the
hop counter of a packet reaches 0, the packet is
discarded.
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
IP ADDRESSING
Format
x x x x x x x x . x x x x x x x x . x x x x x x x x . x x x x x x x x
where x is either 0 or 1
Example 1:
1 1 1 1 1 1 1 1 . 1 1 1 1 1 1 1 1 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
255.255.0.0
Example 2:
1 1 1 1 1 1 1 1 . 1 1 1 1 1 1 1 1 . 1 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0
255.255.192.0
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
IP ADDRESSING
Network Address
Example 1:
IP address of computer 180.100.7.1
Mask 255.255.0.0
Network address 180.100.0.0
Example 2:
IP address of computer 180.100.7.1
Mask 255.255.255.0
Network address 180.100.7.0
Example 3:
IP address of computer 180.100.7.2
Mask 255.255.192.0
Network address 180.100.0.0
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
IP ADDRESSING
Mask
Valid mask are contiguous 1’s from left to right.
Examples:
Valid
255.0.0.0
255.255.0.0
255.255.255.0
Invalid
255.1.0.0
255.0.255.0
255.255.64.0
200.255.0.0
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
IP ADDRESSING
Subnets
The Internet is running out of IP address. One solution
is to subnet a network address.
This is done by borrowing host bits to be used as
network bits.
Example:
Class B mask 255.255.0.0
Borrowing 1 bit gives a subnet mask of 255.255.128.0
Borrowing 2 bits gives a subnet mask of 255.255.192.0
Borrowing 3 bits gives a subnet mask of 255.255.224.0
Borrowing 4 bits gives a subnet mask of 255.255.240.0
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
IP ADDRESSING
Example:
Given an IP address of 180.200.0.0, subnet by
borrowing 4 bits.
Subnet mask = 255.255.240.0
The 4 bits borrowed are value 128, 64, 32, 16. This will
create 16 sub networks, where the first and last will be
unusable.
Sub network address:
180.200.0.0
180.200.16.0
180.200.32.0
180.200.48.0
180.200.64.0
etc…
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
IP ADDRESSING
The first 3 usable sub networks are:
180.200.16.0
180.200.32.0
180.200.48.0
For sub network 180.200.16.0, the valid IP address
are:
180.200.16.1 to 180.200.31.254
Directed broadcast address is:
180.200.31.255
7 Application
6 Presentation
5 Session
4 Transport
1 Physical
2 Data Link
3 Network
ROUTERS
A layer 3 device that is used to interconnect 2 or more
logical networks.
Can filter broadcast traffic, preventing broadcast traffic
from one network from reaching another network.
180.200.0.0 202.5.3.0

More Related Content

Similar to Computer-Networks--OSI_MODEL.ppt

Ccna day1
Ccna day1Ccna day1
C C N A Day1
C C N A  Day1C C N A  Day1
C C N A Day1
darulquthni
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
Sanjeev Jain
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
Dwi Yulianto
 
OSI(Open System Interconnection) model
OSI(Open System Interconnection) modelOSI(Open System Interconnection) model
OSI(Open System Interconnection) model
Namra Afzal
 
Cs8591 Computer Networks
Cs8591 Computer NetworksCs8591 Computer Networks
Cs8591 Computer Networks
Kathirvel Ayyaswamy
 
OSI model ,Layers in OSI model, Detail .pptx
OSI model ,Layers in OSI model, Detail .pptxOSI model ,Layers in OSI model, Detail .pptx
OSI model ,Layers in OSI model, Detail .pptx
Milind Potdar
 
CN Module 1 ppt final 20.08.2020.ppt
CN Module 1 ppt final 20.08.2020.pptCN Module 1 ppt final 20.08.2020.ppt
CN Module 1 ppt final 20.08.2020.ppt
deeplearning6
 
Lecture 1.pdf
Lecture 1.pdfLecture 1.pdf
Lecture 1.pdf
jalallazem
 
6 osi vimp
6 osi vimp6 osi vimp
6 osi vimp
Vinod Jadhav
 
OSI MODEL
OSI MODELOSI MODEL
OSI MODEL
Mousa_k
 
computer network
computer networkcomputer network
computer network
mr hatke
 
Network layers
Network layersNetwork layers
Network layers
GermaineGenove
 
OSI model (7 LAYER )
OSI model (7 LAYER )OSI model (7 LAYER )
OSI model (7 LAYER )
AAKASH S
 
IP NETWORKS
IP NETWORKSIP NETWORKS
IP NETWORKS
Kathirvel Ayyaswamy
 
Computer networking (nnm)
Computer networking (nnm)Computer networking (nnm)
Computer networking (nnm)
nnmaurya
 
Basic networking 07-2012
Basic networking 07-2012Basic networking 07-2012
Basic networking 07-2012
Samuel Dratwa
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
Chaynika Verma
 
3131471Scanned.ppt
3131471Scanned.ppt3131471Scanned.ppt
3131471Scanned.ppt
ssuserf21d85
 
OSI model.pptx
OSI model.pptxOSI model.pptx
OSI model.pptx
SmtArunaAsafAliGovtP
 

Similar to Computer-Networks--OSI_MODEL.ppt (20)

Ccna day1
Ccna day1Ccna day1
Ccna day1
 
C C N A Day1
C C N A  Day1C C N A  Day1
C C N A Day1
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
 
OSI(Open System Interconnection) model
OSI(Open System Interconnection) modelOSI(Open System Interconnection) model
OSI(Open System Interconnection) model
 
Cs8591 Computer Networks
Cs8591 Computer NetworksCs8591 Computer Networks
Cs8591 Computer Networks
 
OSI model ,Layers in OSI model, Detail .pptx
OSI model ,Layers in OSI model, Detail .pptxOSI model ,Layers in OSI model, Detail .pptx
OSI model ,Layers in OSI model, Detail .pptx
 
CN Module 1 ppt final 20.08.2020.ppt
CN Module 1 ppt final 20.08.2020.pptCN Module 1 ppt final 20.08.2020.ppt
CN Module 1 ppt final 20.08.2020.ppt
 
Lecture 1.pdf
Lecture 1.pdfLecture 1.pdf
Lecture 1.pdf
 
6 osi vimp
6 osi vimp6 osi vimp
6 osi vimp
 
OSI MODEL
OSI MODELOSI MODEL
OSI MODEL
 
computer network
computer networkcomputer network
computer network
 
Network layers
Network layersNetwork layers
Network layers
 
OSI model (7 LAYER )
OSI model (7 LAYER )OSI model (7 LAYER )
OSI model (7 LAYER )
 
IP NETWORKS
IP NETWORKSIP NETWORKS
IP NETWORKS
 
Computer networking (nnm)
Computer networking (nnm)Computer networking (nnm)
Computer networking (nnm)
 
Basic networking 07-2012
Basic networking 07-2012Basic networking 07-2012
Basic networking 07-2012
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
 
3131471Scanned.ppt
3131471Scanned.ppt3131471Scanned.ppt
3131471Scanned.ppt
 
OSI model.pptx
OSI model.pptxOSI model.pptx
OSI model.pptx
 

Recently uploaded

BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
RidwanHassanYusuf
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
khuleseema60
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
EduSkills OECD
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Henry Hollis
 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
National Information Standards Organization (NISO)
 
Data Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsxData Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsx
Prof. Dr. K. Adisesha
 
SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
zuzanka
 
Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
deepaannamalai16
 
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptxA Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
OH TEIK BIN
 
CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...
Nguyen Thanh Tu Collection
 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
indexPub
 
Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
nitinpv4ai
 
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
ImMuslim
 
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapitolTechU
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
Nguyen Thanh Tu Collection
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
giancarloi8888
 
How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17
Celine George
 

Recently uploaded (20)

BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
 
Data Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsxData Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsx
 
SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
 
Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
 
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptxA Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
 
CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...
 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
 
Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
 
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
 
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
 
How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17
 

Computer-Networks--OSI_MODEL.ppt

  • 1. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network COMPUTER NETWORKS OSI MODEL: Physical Layer Data Link Network Varna Free University
  • 2. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network Source 1. Computer Networks, Andrew S. Tanenbaum 2. www.cisco.com 3. www.novell.com 4. www.rad.com 5. www.3com.com
  • 3. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network INTRODUCTION
  • 4. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network NETWORK GOALS The two main benefits of networking computers are… Communications Information can be distributed very quickly, such as email and video conferencing. Saving Money Resources such as information, software, and hardware can be shared. CPUs and hard disks can be pooled together to create a more powerful machine.
  • 5. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network APPLICATIONS A lot of things we take for granted are the result of computer networks. • Email • Chat • Web sites • Sharing of documents and pictures • Accessing a centralized database of information • Mobile workers
  • 6. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network NETWORK STRUCTURE The subnet interconnects hosts. Subnet Carries messages from host to host. It is made up of telecommunication lines (i.e. circuits, channels, trunks) and switching elements (i.e. IMPs, routers). Hosts End user machines or computers. Q: Is the host part of the subnet?
  • 7. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network NETWORK ARCHITECTURES A set of layers and protocols is called the network architecture. 1. Protocol Hierarchies Networks are organized as layers to reduce design complexity. Each layer offers services to the higher layers. Between adjacent layers is an interface. Services – connection oriented and connectionless. Interface – defines which primitives and services the lower layer will offer to the upper layer. Primitives – operations such as request, indicate, response, confirm.
  • 8. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network NETWORK ARCHITECTURES 2. Design Issues for the Layers • Mechanism for connection establishment • Rules for data transfer • Error control • Fast sender swamping a slow receiver • Inability of processes to accept long messages • Routing in the case of multiple paths
  • 9. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network OSI REFERENCE MODEL The Open Systems Interconnection is the model developed by the International Standards Organization. Benefits • Interconnection of different systems (open) • Not limited to a single vendor solution Negative Aspect • Systems might be less secure • Systems might be less stable
  • 10. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network OSI REFERENCE MODEL 1. Physical Layer a) Convert the logical 1’s and 0’s coming from layer 2 into electrical signals. b) Transmission of the electrical signals over a communication channel. Main topics: • Transmission mediums • Encoding • Modulation • RS232 and RS422 standards • Repeaters • Hubs (multi-port repeater)
  • 11. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network OSI REFERENCE MODEL 2. Data Link Layer a) Error control to compensate for the imperfections of the physical layer. b) Flow control to keep a fast sender from swamping a slow receiver. Main topics: • Framing methods • Error detection and correction methods • Flow control • Frame format • IEEE LAN standards • Bridges • Switches (multi-port bridges)
  • 12. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network OSI REFERENCE MODEL 3. Network Layer a) Controls the operation of the subnet. b) Routing packets from source to destination. c) Logical addressing. Main topics: • Internetworking • Routing algorithms • Internet Protocol (IP) addressing • Routers
  • 13. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network OSI REFERENCE MODEL 4. Transport Layer a) Provides additional Quality of Service. b) Heart of the OSI model. Main topics: • Connection-oriented and connectionless services • Transmission Control Protocol (TCP) • User Datagram Protocol (UDP)
  • 14. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network OSI REFERENCE MODEL 5. Session Layer a) Allows users on different machines to establish sessions between them. b) One of the services is managing dialogue control. c) Token management. d) Synchronization.
  • 15. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network OSI REFERENCE MODEL 6. Presentation Layer a) Concerned with the syntax and semantics of the information. b) Preserves the meaning of the information. c) Data compression. d) Data encryption.
  • 16. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network OSI REFERENCE MODEL 7. Application Layer a) Provides protocols that are commonly needed. Main topics: • File Transfer Protocol (FTP) • HyperText Transfer Protocol (HTTP) • Simple Mail Transfer Protocol (SMTP) • Simple Network Management Protocol (SNMP) • Network File System (NFS) • Telnet
  • 17. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network SERVICES Each layer provides services to the layer above it. 1. Terminologies Entities – active elements in each layer (e.g. process, intelligent I/O chip). Peer Entities – entities in the same layer on different machines. Service Provider – Layer N. Service User – Layer N + 1. Service Access Points – places where layer N + 1 can access services offered by layer N.
  • 18. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network SERVICES 2. Connection-Oriented and Connectionless Connection-Oriented – before data is sent, the service from the sending computer must establish a connection with the receiving computer. Connectionless – data can be sent at any time by the service from the sending computer. Q: Is downloading a music file from the Internet connection-oriented or connectionless? Q: Is email connection-oriented or connectionless?
  • 19. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network SERVICES 3. Service Primitives Request – entity wants the service to do some work Indicate – entity is to be informed about an event Response – entity responds to an event Confirm – entity is to be informed about its request Sending Computer Receiving Computer 3 Network 1. request 3 Network 2. indicate 3. response 4. confirm 4 Transport 4 Transport
  • 20. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network BANDWIDTH The capacity of the medium to transmit data. Analog Bandwidth • Measurement is in Hertz (Hz) or cycles/sec. Digital Bandwidth • Measurement is in bits per second (bps). Q: Is 100MHz = 100Mbps? Q: Is 100Mbps = 100MBps?
  • 21. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network Hello Hello AH Hello AH PH Hello AH PH SH Hello AH PH SH TH Hello AH PH SH TH NH Hello AH PH SH TH NH DH DT Bits
  • 22. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network PHYSICAL LAYER
  • 23. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network OVERVIEW 1. Signals • Fourier analysis • Maximum data rate of a channel 2. Transmission Media • Guided and Unguided 3. Analog Transmission • Modulation • Modems • RS-232, RS-422 4. Digital Transmission • Encoding schemes • Repeaters and hubs 5. Transmission and Switching • Multiplexing (FDM and TDM) • Circuit vs. packet switching
  • 24. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network SIGNALS 1. Fourier Analysis a) All signals can be represented mathematically. b) A periodic function can be constructed by adding a number of sine and cosine functions. Fundamental frequency – where f = 1/T Harmonics – integer multiples of the fundamental frequency Baud – number of signal level changes per second Q: Is baud and data rate different terms? Q: Is 1 baud equal to 1bps?
  • 25. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network SIGNALS 2. Maximum Data Rate of a Channel Nyquist Maximum data rate = 2H log2V (bits/sec) H = line bandwidth V = a signal with V discrete levels Example: A noiseless 3kHz channel cannot transmit binary (2 level) signals at a rate faster than 6000bps 2(3k) log22 = 6000bps logAV = (1 / ln A) ln V
  • 26. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network SIGNALS Shannon Maximum data rate (bits/sec) = H log2(1+ PS/PN) H = line bandwidth PS = signal strength in watts PN = noise strength in watts Example: A 3kHz channel with a noise ratio of 30dB (PS/PN = 1000) cannot transmit at a rate faster than 30,000bps (3k) log2(1001) = 30,000bps Note: SNR = 10log10(PS/PN)
  • 27. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network SIGNALS 3. Attenuation vs. Amplification Attenuation The signal received is weaker than the signal sent. Attenuation (dB) = 10log10(P1/P2) Amplification The signal received is stronger than the signal sent. Amplification (dB) = 10log10(P2/P1) Note: P1 = transmitted signal power in watts P2 = received signal power in watts Q: If the result of the attenuation formula is negative, what happened to the signal?
  • 28. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network TRANSMISSION MEDIA 1. Guided Data is sent via a wire or optical cable. Twisted Pair Two copper wires are twisted together to reduce the effect of crosstalk noise. (e.g. Cat5, UTP, STP) Baseband Coaxial Cable A 50-ohm cable used for digital transmission. Used in 10Base2 and 10Base5. Broadband Coaxial Cable A 75-ohm cable used for analog transmission such as Cable TV.
  • 29. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network TRANSMISSION MEDIA Fiber Optic Cables Two general types are multimode and single mode. In multimode, light is reflected internally. Light source is an LED. In single mode, the light propagates in a straight line. Light source come from expensive laser diodes. Faster and longer distances as compared to multimode. * Fiber optic cables are difficult to tap (higher security) and are normally used for backbone cabling.
  • 30. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network TRANSMISSION MEDIA 2. Unguided Data is sent through the air. Line-of-sight Transmitter and receiver must “see” each other, such as a terrestrial microwave system. Communication Satellites A big microwave repeater in the sky. Data is broadcasted, and can be “pirated.” Radio Term used to include all frequency bands, such as FM, UHF, and VHF television.
  • 31. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network ANALOG TRANSMISSION 1. Modulation Modulating a sine wave carrier to convey data. Amplitude Modulation (AM) Amplitude is increased/decreased while frequency remains constant. Frequency Modulation (FM) Frequency is increased/decreased while amplitude remains constant. Phase Modulation Wave is shifted, while amplitude and frequency remains constant.
  • 32. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network ANALOG TRANSMISSION 2. Modems A device that accepts digital signals and outputs a modulated carrier wave, and vice versa. It is used to interconnect the digital computer to the analog telephone network. * Modems for PC’s can be external or internal. * Nokia makes modems for leased line connections.
  • 33. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network ANALOG TRANSMISSION 3. RS-232 and RS-449 Two well known physical layer standards. RS-232 • 20 kbps • Cables up to 15 meters • Unbalanced transmission (common ground) RS-422 • 2 Mbps at 60 meters • 1 Mbps at 100 meters • Balanced transmission (a pair of wires for Tx, Rx)
  • 34. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network DIGITAL TRANSMISSION 1. Encoding Schemes Converting logical data into electrical signals suitable for transmission. Manchester • Mid bit transition for clock synchronization and data • Logic 0 = high to low transition • Logic 1 = low to high transition Differential Manchester • Mid bit transition for clock synchronization only • Logic 0 = transition at the beginning of each bit period • Logic 1 = no transition at the beginning of each bit period
  • 35. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network DIGITAL TRANSMISSION 2. Repeaters and Hubs These are physical layer devices. Repeaters • Restores the strength of an attenuated signal. • Used to increase the transmission distance. • Does not filter data traffic. Hubs • Multi-port repeater. • Interconnects several computers. • Does not filter data traffic. * Picture from 3com.com
  • 36. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network NETWORK LAYER
  • 37. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network OVERVIEW 1. Routing Algorithms • Shortest Path • Flooding • Flow-based • Distance Vector • Link State • Hierarchical • Broadcast • Multicast • Routing for Mobile Hosts 2. Congestion control 3. IP Addressing 4. Routers
  • 38. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network ROUTING ALGORITHMS 1. Shortest Path A C D B E F 2 2 2 1 2 1 1 3 3 2 B(A,2) A(-,-) E(A,2) C(B,3) D(E,3) F(E,4) A – E – D – F A – E – F is the answer.
  • 39. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network ROUTING ALGORITHMS 2. Flooding IMP B Packet Packet to IMP C Packet to IMP D Packet to IMP E To prevent packets from circulating indefinitely, a packet has a hop counter. Every time a packet arrives at an IMP, the hop counter is decrease by 1. Once the hop counter of a packet reaches 0, the packet is discarded.
  • 40. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network IP ADDRESSING Format x x x x x x x x . x x x x x x x x . x x x x x x x x . x x x x x x x x where x is either 0 or 1 Example 1: 1 1 1 1 1 1 1 1 . 1 1 1 1 1 1 1 1 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0 255.255.0.0 Example 2: 1 1 1 1 1 1 1 1 . 1 1 1 1 1 1 1 1 . 1 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0 255.255.192.0
  • 41. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network IP ADDRESSING Network Address Example 1: IP address of computer 180.100.7.1 Mask 255.255.0.0 Network address 180.100.0.0 Example 2: IP address of computer 180.100.7.1 Mask 255.255.255.0 Network address 180.100.7.0 Example 3: IP address of computer 180.100.7.2 Mask 255.255.192.0 Network address 180.100.0.0
  • 42. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network IP ADDRESSING Mask Valid mask are contiguous 1’s from left to right. Examples: Valid 255.0.0.0 255.255.0.0 255.255.255.0 Invalid 255.1.0.0 255.0.255.0 255.255.64.0 200.255.0.0
  • 43. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network IP ADDRESSING Subnets The Internet is running out of IP address. One solution is to subnet a network address. This is done by borrowing host bits to be used as network bits. Example: Class B mask 255.255.0.0 Borrowing 1 bit gives a subnet mask of 255.255.128.0 Borrowing 2 bits gives a subnet mask of 255.255.192.0 Borrowing 3 bits gives a subnet mask of 255.255.224.0 Borrowing 4 bits gives a subnet mask of 255.255.240.0
  • 44. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network IP ADDRESSING Example: Given an IP address of 180.200.0.0, subnet by borrowing 4 bits. Subnet mask = 255.255.240.0 The 4 bits borrowed are value 128, 64, 32, 16. This will create 16 sub networks, where the first and last will be unusable. Sub network address: 180.200.0.0 180.200.16.0 180.200.32.0 180.200.48.0 180.200.64.0 etc…
  • 45. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network IP ADDRESSING The first 3 usable sub networks are: 180.200.16.0 180.200.32.0 180.200.48.0 For sub network 180.200.16.0, the valid IP address are: 180.200.16.1 to 180.200.31.254 Directed broadcast address is: 180.200.31.255
  • 46. 7 Application 6 Presentation 5 Session 4 Transport 1 Physical 2 Data Link 3 Network ROUTERS A layer 3 device that is used to interconnect 2 or more logical networks. Can filter broadcast traffic, preventing broadcast traffic from one network from reaching another network. 180.200.0.0 202.5.3.0