SlideShare a Scribd company logo
Network Model
1
Outline
2.1 PROTOCOL LAYERING
▫ 2.1.1 Scenarios
▫ 2.1.2 Principles of Protocol Layering
▫ 2.1.3 Logical Connections
2.2 TCP/IP PROTOCOL SUITE
▫ 2.2.1 Layered Architecture
▫ 2.2.2 Layers in the TCP/IP Protocol Suite
▫ 2.2.3 Description of Each Layer
2.3 THE OSI MODEL
▫ 2.3.1 OSI versus TCP/IP
▫ 2.3.2 Lack of OSI Model’s Success
2
Layered Tasks
• Computer networks are complex systems
▫ Tasks involve varieties of hardware and software
components, and protocols
• Networking task is divided into several subtasks,
or layers.
3
Why layering?
• Networks are complex!
• We need a way to organize the structure of
network functionalities and to reduce the
design complexities
• Benefits of layering
▫ Interoperability
▫ Reuse
▫ Hiding underlying details
2-4
Protocol interfaces
• Each protocol offers an interface to its users, and
expects one from the layers on which it builds
▫ Syntax and semantics
 Data formats
 Interface characteristics, e.g. IP service model
• Protocols build upon each other
▫ Add value
 E.g., a reliable protocol running on top of IP
▫ Reuse
 E.g., OS provides TCP, so apps don’t have to rewrite
2-5
Real World Example
• Communication between managers of two
companies
6
Communicate
Logical Connection
• Communication takes place thru many layers
7
Logical communication
Secretary:
types a letter
Delivery boy:
drops the letter
Secretary:
reads and reports
the message
Delivery boy:
takes the letter
Post office:
Processes and routes the letter
Postal truck
Network Model
• Network models are responsible or establishing
a connection among the sender and receiver and
transmitting the data.
• There are two computer network models on
which data communication process relies :
▫ OSI Model
▫ TCP/IP Model .
10
TCP/IP Model
• The TCP/IP model was developed prior to the OSI model.
• The TCP/IP model is not exactly similar to the OSI model.
• The TCP/IP model consists of five layers: the application layer,
transport layer, network layer, data link layer and physical
layer.
• The first four layers provide physical standards, network
interface, internetworking, and transport functions that
correspond to the first four layers of the OSI model and these
four layers are represented in TCP/IP model by a single layer
called the application layer.
• TCP/IP is a hierarchical protocol made up of interactive
modules, and each of them provides specific functionality.
11
TCP/Internet Layer Model
Application Layer
Transport Layer
Network Layer
Data Link Layer
Physical Layer
12
• The Internet Protocol Stack
User
Transmission
Medium
Hardware
Software
TCP/IP Model: the Internet model
Application
Transport
Network
Data link
Physical1
2
3
4
Network
Data link
Physical
Application
Transport
Network
Data link
Physical
5
• Each layer relies on services from layer below
• Each layer exports services to layer above
• Interface between layers defines interaction
▫ Hides implementation details
▫ Layers can change without disturbing other layers
2-13
TCP/IP Model: the Internet model
• Application: supporting network applications
▫ FTP, SMTP, HTTP
• Transport: application-application data transfer
▫ TCP, UDP
• Network: routing of datagrams from source to
destination. Node-node data transfer
▫ IP, routing protocols
• Data Link: data transfer between neighboring
network elements
▫ PPP, Ethernet
• Physical: bits “on the wire”
2-14
15
16
Application Layer
• It is the topmost layer in the TCP/IP model.
• It is responsible for handling high-level protocols, issues of
representation.
• This layer allows the user to interact with the application.
• It facilitates the user to use the services of the network.
• It is used to develop network-based applications.
• It provides user services like user login, naming network devices,
formatting messages, and e-mails, transfer of files etc.
• When one application layer protocol wants to communicate with
another application layer, it forwards its data to the transport
layer.
17
Application Layer
• The only layer to interact with user
18
Responsible for providing services to the user
SMTP HTTP FTP SMTP HTTP FTP
Data
Data H5
Application
Layer
to Transport from Transport
Data H5
Data
Logical communication
Transport Layer
• The transport layer is a 4th layer from the top.
• It is responsible for end to end data transmission
service using connection oriented or either through
connection-less protocols.
• TCP and UDP are two transport layer protocols that
provide a different set of services to the network
layer.
• It provide multiplexing/demultiplexing service.
• It also provides other services such as reliable data
transfer, bandwidth guarantees, and delay
guarantees.
19
Transport Layer
• Duties/services
▫ Service-point addressing/Port Address
▫ Segmentation and reassembly
▫ Connection control
▫ Flow control (end-to-end)
▫ Error control (end-to-end)
20
Responsible for delivery of a message
from one process to another
Transport Layer Services
• Segmentation : Large data is divided into smaller segments at
the senders end and then these smaller segments are recombined in
exact format before it is received at receivers end.
• Error Control : Distortion, Un-delivery of data packets and noise in
data packets results in error and this is prevented using Transport
Layer too and this feature is called Error Control.
• Flow Control : Transport-Layer ensures that faster data transmission
and slow data absorption or slow data transmission and faster data
absorption must not occur.
• Transport-Layer performs Multiplexing & De-multiplexing.
• Connection Control: Connection oriented service using
TCP(Transmission Control Protocol) Protocol & Connection
less service using UDP(User Data-gram Protocol) Protocol are
performed by transport layer.
21
Transport Layer
22
Transport
Layer
Data
Data1 Data2 Data3H4 H4 H4
to Network
Data
Data1 Data2 Data3H4 H4 H4
from Network
(segments)
Process Process … Process Process …
PORT # PORT #
Network Layer
• Duties/services
▫ Logical addressing
▫ Routing
23
Responsible for the delivery of packets
from the original source to the destination
Network Layer
24
Network
Layer
Data
from Transport
to Data Link
Data
to Transport
from Data Link
Data H3 Data H3
(packet)
Network Layer
25
Network 1
Network 6
Network 5
1.1 1.2
6.6
6.1
6.3
5.7
5.2
Network 3
3.8
3.3
Router
Data 1.1 5.7
1.1, 1.2, 6.1, 5.7, ... are logical addresses
R1
R3
R2
Data Link Layer
• Framing: The data link layer divides the stream of bits received from the network layer into
manageable data units called frames.
• Physical addressing: If frames are to be distributed to different systems on the network, the
data link layer adds a header to the frame to define the sender and/or receiver of the frame. If
the frame is intended for a system outside the sender's network, the receiver address is the
address of the device that connects the network to the next one.
• Flow control (hop-to-hop): A receiving node can receive the frames at a faster rate than it can
process the frame. Without flow control, the receiver's buffer can overflow, and frames can get
lost. To overcome this problem, the data link layer uses the flow control to prevent the sending
node on one side of the link from overwhelming the receiving node on another side of the link.
• Error control (hop-to-hop):The data link layer adds reliability to the physical layer by adding
mechanisms to detect and retransmit damaged or lost frames. It also uses a mechanism to
recognize duplicate frames. Error control is normally achieved through a trailer added to the
end of the frame.
• Access control:. When two or more devices are connected to the same link, data link layer
protocols are necessary to determine which device has control over the link at any given time.
26
Data Link Layer
27
Data Link
Layer
Data
from Network
to Physical
Data
to Network
from Physical
Data H2 Data H2
(frame)
T2 T2
Responsible for transmitting frames
from one hop (node) to the next
Data Link Layer
28
3B
A3, 3B, 82, 9F, ... are physical addresses
9F 82 A3
Data 9FT2 A3
Data
H2
Data Link Layer
29
Network 1
Network 6
Network 5
1.1 1.2
6.6
6.1
6.3
5.7
5.2
Network 3
3.8
3.3
Data 1.15.7
97 32
25
79
62
54
74
12
88
Data 1.15.7 2597
Data 1.15.7 6279
Data 1.15.7 7454
R1
R3
R2
Physical Layer
• Physical Layer is the bottom-most layer.
• It is associated with the electrical, mechanical
and transmission media .
• Physical layer deals with all the physical devices
that can be used for data communication.
30
The physical layer is responsible for movements of
individual bits from one hop (node) to the next
Physical Layer
31
Physical
Layer
Data
from Data Link to Data Link
Data
01001011 01001011
Transmission medium
(bits)
Physical Layer Functions
• Physical characteristics of interfaces and medium
• Representation of bits: Data consists of a stream of
bits (sequence of 0s or 1s) with no interpretation.
• Data rate: The number of bits sent per second.
• Synchronization of bits: the sender and the receiver
clocks must be synchronized.
• Line configuration: Point to Point or Multipoint
• Physical topology: Bus/ Star/Mesh…
• Transmission mode: Simplex/Half/Full
32
The Big Picture
33
L5 data H5
L4 data H4
L3 data H3
L2 dataT2 H2
0111011010101001010101001
L5 data H5
L4 data H4
L3 data H3
L2 dataT2 H2
0111010101010010101010101
5
4
3
2
1
5
4
3
2
1
Transmission medium
Network
D.L.
P.L.
D.L.
P.L.
Network
D.L.
P.L.
D.L.
P.L.
Internet Model
Application
Transport
Network
Data Link
Physical
34
Application
Transport
Network
Data Link
Physical
Transmission medium
sender
router
router
receiver
Internet Model
35
Protocol Suites
• A set of protocols must be constructed
▫ to ensure that the resulting communication
system is complete and efficient
• Each protocol should handle a part of
communication not handled by other protocols
• How can we guarantee that protocols work well
together?
▫ Instead of creating each protocol in isolation,
protocols are designed in complete, cooperative
sets called suites or families
36
36
Internet Protocol Suite
37
Layer Protocols
Application HTTP, FTP, Telnet, SMTP, ...
Transport TCP, UDP, SCTP, ...
Network IP (IPv4), IPv6, ICMP, IGMP, ...
Data Link Ethernet, Wi-Fi, PPP, ...
Physical RS-232, DSL, 10Base-T, ...
OSI Model
• OSI stands for Open System Interconnection.
• Before networks came into existence, computers could
only communicate from the same manufacturers.
• OSI was designed by ISO (International Organization for
Standardization) in late 1970’s.
• To break this barrier so that Computers from different
manufacturer could communicate with each other.
• OSI is a “Layered Approach”, which is a logical
representation of how Data Communication should
occur.
38
OSI Model
• OSI has 7 different layers
• Two new layers is added
▫ Presentation Layer
▫ Session Layer
• It is divided into two groups,
▫ Top 3 layers defines how
application within end
stations will communicate
with each other and with the
user (Software Layer).
▫ Bottom 4 layers defines how
actually data is transferred
(Hardware Layer).
▫ https://www.youtube.com/w
atch?v=fiMswfo45DQ
39
7.Application Layer
6.Presentation Layer
5.Session Layer
4.Transport Layer
3.Network Layer
2.Data Link Layer
1.Physical Layer
User
Transmission
Medium
Session Layer
• This layer is responsible for establishment of
connection, maintenance of sessions, authentication
and also ensures security.
• Duties/services
▫ Dialog Controller :
 Allows the two processes to establish, use and terminate a
connection.
 Communication in half-duplex or full-duplex.
▫ Synchronization :
 allows a process to add checkpoints
 data is re-synchronized
 Session recovery
40
Presentation Layer
• A Presentation layer is mainly concerned with the
syntax and semantics of the information exchanged
between the two systems.
• It acts as a data translator for a network.
• This layer is a part of the operating system that
converts the data from one presentation format to
another format.
• The Presentation layer is also known as the syntax
layer.
41
Presentation Layer functions
• Duties/services
▫ Data translation: For example, ASCII to EBCDIC.
▫ Encryption/Decryption
▫ Compression: Reduces the number of bits that
need to be transmitted on the network.
42
44
OSI TCP/IP
It is developed by ISO (International
Standard Organization)
It is developed by ARPANET (Advanced
Research Project Agency Network).
OSI refers to Open Systems
Interconnection.
TCP refers to Transmission Control Protocol.
OSI follows a vertical approach. TCP/IP follows a horizontal approach.
In the OSI model, the transport layer is
only connection-oriented.
A layer of the TCP/IP model is both
connection-oriented and connectionless.
Session and presentation layers are a
part of the OSI model.
There is no session and presentation layer in
the TCP model.
TCP/IP is more reliable OSI is less reliable
45

More Related Content

What's hot

Data link control protocol(1)
Data link control protocol(1)Data link control protocol(1)
Data link control protocol(1)
Jeffrey Des Binwag
 
Chapter 8: Switching
Chapter 8: SwitchingChapter 8: Switching
Chapter 8: Switching
Shafaan Khaliq Bhatti
 
Chapter 1: Introduction to Data Communication and Networks
Chapter 1: Introduction to Data Communication and NetworksChapter 1: Introduction to Data Communication and Networks
Chapter 1: Introduction to Data Communication and Networks
Shafaan Khaliq Bhatti
 
Packet switching
Packet switchingPacket switching
Packet switchingasimnawaz54
 
Unit 3 Network Layer PPT
Unit 3 Network Layer PPTUnit 3 Network Layer PPT
Unit 3 Network Layer PPT
KalpanaC14
 
3. overview of data communication part 2
3. overview of data communication   part 23. overview of data communication   part 2
3. overview of data communication part 2
JAIGANESH SEKAR
 
Token ring
Token ringToken ring
Token ring
selvakumar_b1985
 
Data link control
Data link controlData link control
Data link control
Iffat Anjum
 
OpenFlow
OpenFlowOpenFlow
OpenFlow
Kingston Smiler
 
data-link layer protocols
data-link layer protocols  data-link layer protocols
data-link layer protocols
BE Smârt
 
Data communication - Lecture-01
Data communication - Lecture-01 Data communication - Lecture-01
Data communication - Lecture-01
Sehrish Rafiq
 
Introduction to Computer Networks
 Introduction to Computer Networks Introduction to Computer Networks
Introduction to Computer NetworksGhaffar Khan
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)
Respa Peter
 
Data communication and network Chapter - 2
Data communication and network Chapter - 2Data communication and network Chapter - 2
Data communication and network Chapter - 2
Zafar Ayub
 
User datagram protocol
User datagram protocolUser datagram protocol
User datagram protocolMohd Arif
 
Data Communication & Networking
Data Communication & Networking Data Communication & Networking
Data Communication & Networking
Md Abdus Sobur Sikdar
 
Data Communication and Networks
Data Communication and NetworksData Communication and Networks
Data Communication and Networks
ChAwais15
 

What's hot (20)

Data link control protocol(1)
Data link control protocol(1)Data link control protocol(1)
Data link control protocol(1)
 
Chapter 8: Switching
Chapter 8: SwitchingChapter 8: Switching
Chapter 8: Switching
 
Chapter 1: Introduction to Data Communication and Networks
Chapter 1: Introduction to Data Communication and NetworksChapter 1: Introduction to Data Communication and Networks
Chapter 1: Introduction to Data Communication and Networks
 
Handover In 4 G Networks
Handover In 4 G NetworksHandover In 4 G Networks
Handover In 4 G Networks
 
Packet switching
Packet switchingPacket switching
Packet switching
 
Unit 3 Network Layer PPT
Unit 3 Network Layer PPTUnit 3 Network Layer PPT
Unit 3 Network Layer PPT
 
TCP/IP(networking)
TCP/IP(networking)TCP/IP(networking)
TCP/IP(networking)
 
3. overview of data communication part 2
3. overview of data communication   part 23. overview of data communication   part 2
3. overview of data communication part 2
 
Token ring
Token ringToken ring
Token ring
 
Data link control
Data link controlData link control
Data link control
 
OpenFlow
OpenFlowOpenFlow
OpenFlow
 
data-link layer protocols
data-link layer protocols  data-link layer protocols
data-link layer protocols
 
Data communication - Lecture-01
Data communication - Lecture-01 Data communication - Lecture-01
Data communication - Lecture-01
 
Introduction to Computer Networks
 Introduction to Computer Networks Introduction to Computer Networks
Introduction to Computer Networks
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)
 
Data communication and network Chapter - 2
Data communication and network Chapter - 2Data communication and network Chapter - 2
Data communication and network Chapter - 2
 
User datagram protocol
User datagram protocolUser datagram protocol
User datagram protocol
 
Chapter 2 point-to-point protocol (ppp)
Chapter 2   point-to-point protocol (ppp)Chapter 2   point-to-point protocol (ppp)
Chapter 2 point-to-point protocol (ppp)
 
Data Communication & Networking
Data Communication & Networking Data Communication & Networking
Data Communication & Networking
 
Data Communication and Networks
Data Communication and NetworksData Communication and Networks
Data Communication and Networks
 

Similar to 02 network models

unit2-210710110327.pptx
unit2-210710110327.pptxunit2-210710110327.pptx
unit2-210710110327.pptx
LAVANYAsrietacin
 
Sargation university's open system interconnection
Sargation university's open system interconnectionSargation university's open system interconnection
Sargation university's open system interconnection
KingPinYT
 
Osi
OsiOsi
Computer networks chapter1.
Computer networks chapter1.Computer networks chapter1.
Computer networks chapter1.
MrsRRajaSangeethaIT
 
Dc2 t1
Dc2 t1Dc2 t1
Unit 2 ppt-idc
Unit 2 ppt-idcUnit 2 ppt-idc
Unit 2 ppt-idc
hiya123jes
 
Cisco ccna certification knowledge to pass the exam
Cisco ccna certification knowledge to pass the examCisco ccna certification knowledge to pass the exam
Cisco ccna certification knowledge to pass the exam
le_dung762
 
Skr+3200+chapter+2+(kweh)
Skr+3200+chapter+2+(kweh)Skr+3200+chapter+2+(kweh)
Skr+3200+chapter+2+(kweh)Ammar Shafiq
 
lecture 4.pptx
lecture 4.pptxlecture 4.pptx
lecture 4.pptx
MelkamuEndale1
 
Lecture 1 Network Reference Models Final.pptx
Lecture 1 Network Reference Models Final.pptxLecture 1 Network Reference Models Final.pptx
Lecture 1 Network Reference Models Final.pptx
Ronoh Kennedy
 
3131471Scanned.ppt
3131471Scanned.ppt3131471Scanned.ppt
3131471Scanned.ppt
ssuserf21d85
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
shucaybcabdi
 
CCNA ppt Day 2
CCNA ppt Day 2CCNA ppt Day 2
CCNA ppt Day 2
VISHNU N
 
Protocol layer,OSI model & POP3
Protocol layer,OSI model & POP3Protocol layer,OSI model & POP3
Protocol layer,OSI model & POP3
Zakirul Islam
 
lecture 2.pptx
lecture 2.pptxlecture 2.pptx
lecture 2.pptx
MelkamuEndale1
 
computer network and chapter 7 OSI layers.pptx
computer network and chapter 7 OSI layers.pptxcomputer network and chapter 7 OSI layers.pptx
computer network and chapter 7 OSI layers.pptx
gadisaAdamu
 
Computer Networks Notes Complete Syllabus
Computer Networks Notes Complete SyllabusComputer Networks Notes Complete Syllabus
Computer Networks Notes Complete Syllabus
Anujashejwal
 
CISSP - Chapter 4 - Network Fundamental
CISSP - Chapter 4 - Network FundamentalCISSP - Chapter 4 - Network Fundamental
CISSP - Chapter 4 - Network Fundamental
Karthikeyan Dhayalan
 
Computer networks--networks
Computer networks--networksComputer networks--networks
Computer networks--networks
Noor Azura Adnan
 
MVA slides lesson 2
MVA slides lesson 2MVA slides lesson 2

Similar to 02 network models (20)

unit2-210710110327.pptx
unit2-210710110327.pptxunit2-210710110327.pptx
unit2-210710110327.pptx
 
Sargation university's open system interconnection
Sargation university's open system interconnectionSargation university's open system interconnection
Sargation university's open system interconnection
 
Osi
OsiOsi
Osi
 
Computer networks chapter1.
Computer networks chapter1.Computer networks chapter1.
Computer networks chapter1.
 
Dc2 t1
Dc2 t1Dc2 t1
Dc2 t1
 
Unit 2 ppt-idc
Unit 2 ppt-idcUnit 2 ppt-idc
Unit 2 ppt-idc
 
Cisco ccna certification knowledge to pass the exam
Cisco ccna certification knowledge to pass the examCisco ccna certification knowledge to pass the exam
Cisco ccna certification knowledge to pass the exam
 
Skr+3200+chapter+2+(kweh)
Skr+3200+chapter+2+(kweh)Skr+3200+chapter+2+(kweh)
Skr+3200+chapter+2+(kweh)
 
lecture 4.pptx
lecture 4.pptxlecture 4.pptx
lecture 4.pptx
 
Lecture 1 Network Reference Models Final.pptx
Lecture 1 Network Reference Models Final.pptxLecture 1 Network Reference Models Final.pptx
Lecture 1 Network Reference Models Final.pptx
 
3131471Scanned.ppt
3131471Scanned.ppt3131471Scanned.ppt
3131471Scanned.ppt
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
 
CCNA ppt Day 2
CCNA ppt Day 2CCNA ppt Day 2
CCNA ppt Day 2
 
Protocol layer,OSI model & POP3
Protocol layer,OSI model & POP3Protocol layer,OSI model & POP3
Protocol layer,OSI model & POP3
 
lecture 2.pptx
lecture 2.pptxlecture 2.pptx
lecture 2.pptx
 
computer network and chapter 7 OSI layers.pptx
computer network and chapter 7 OSI layers.pptxcomputer network and chapter 7 OSI layers.pptx
computer network and chapter 7 OSI layers.pptx
 
Computer Networks Notes Complete Syllabus
Computer Networks Notes Complete SyllabusComputer Networks Notes Complete Syllabus
Computer Networks Notes Complete Syllabus
 
CISSP - Chapter 4 - Network Fundamental
CISSP - Chapter 4 - Network FundamentalCISSP - Chapter 4 - Network Fundamental
CISSP - Chapter 4 - Network Fundamental
 
Computer networks--networks
Computer networks--networksComputer networks--networks
Computer networks--networks
 
MVA slides lesson 2
MVA slides lesson 2MVA slides lesson 2
MVA slides lesson 2
 

More from Meenakshi Paul

Introduction to Artificial Intelligences
Introduction to Artificial IntelligencesIntroduction to Artificial Intelligences
Introduction to Artificial Intelligences
Meenakshi Paul
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
Meenakshi Paul
 
Other Wireless Networks
Other Wireless NetworksOther Wireless Networks
Other Wireless Networks
Meenakshi Paul
 
Wireless LANs
Wireless LANsWireless LANs
Wireless LANs
Meenakshi Paul
 
Wired LANs
Wired LANsWired LANs
Wired LANs
Meenakshi Paul
 
Codes
CodesCodes
Number System
Number SystemNumber System
Number System
Meenakshi Paul
 
Media Access Control (MAC Layer)
Media Access Control (MAC Layer)Media Access Control (MAC Layer)
Media Access Control (MAC Layer)
Meenakshi Paul
 
Data Link Control
Data Link ControlData Link Control
Data Link Control
Meenakshi Paul
 
Introduction to the Data Link Layer
Introduction to the Data Link LayerIntroduction to the Data Link Layer
Introduction to the Data Link Layer
Meenakshi Paul
 
Switching
SwitchingSwitching
Switching
Meenakshi Paul
 
Transmission Media
Transmission MediaTransmission Media
Transmission Media
Meenakshi Paul
 
Bandwidth Utilization Multiplexing and Spectrum Spreading
Bandwidth Utilization Multiplexing and Spectrum SpreadingBandwidth Utilization Multiplexing and Spectrum Spreading
Bandwidth Utilization Multiplexing and Spectrum Spreading
Meenakshi Paul
 
IP classes
IP classesIP classes
IP classes
Meenakshi Paul
 
Theory building
Theory buildingTheory building
Theory building
Meenakshi Paul
 
Information Systems and Knowledge Management
 Information Systems and Knowledge Management Information Systems and Knowledge Management
Information Systems and Knowledge Management
Meenakshi Paul
 
Ch01 The Role of Business Research
Ch01 The Role of Business ResearchCh01 The Role of Business Research
Ch01 The Role of Business Research
Meenakshi Paul
 
05 analog transmission
05 analog transmission05 analog transmission
05 analog transmission
Meenakshi Paul
 
04 digital transmission
04 digital transmission04 digital transmission
04 digital transmission
Meenakshi Paul
 
03 Introduction to Physical layer
03  Introduction to Physical layer03  Introduction to Physical layer
03 Introduction to Physical layer
Meenakshi Paul
 

More from Meenakshi Paul (20)

Introduction to Artificial Intelligences
Introduction to Artificial IntelligencesIntroduction to Artificial Intelligences
Introduction to Artificial Intelligences
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
Other Wireless Networks
Other Wireless NetworksOther Wireless Networks
Other Wireless Networks
 
Wireless LANs
Wireless LANsWireless LANs
Wireless LANs
 
Wired LANs
Wired LANsWired LANs
Wired LANs
 
Codes
CodesCodes
Codes
 
Number System
Number SystemNumber System
Number System
 
Media Access Control (MAC Layer)
Media Access Control (MAC Layer)Media Access Control (MAC Layer)
Media Access Control (MAC Layer)
 
Data Link Control
Data Link ControlData Link Control
Data Link Control
 
Introduction to the Data Link Layer
Introduction to the Data Link LayerIntroduction to the Data Link Layer
Introduction to the Data Link Layer
 
Switching
SwitchingSwitching
Switching
 
Transmission Media
Transmission MediaTransmission Media
Transmission Media
 
Bandwidth Utilization Multiplexing and Spectrum Spreading
Bandwidth Utilization Multiplexing and Spectrum SpreadingBandwidth Utilization Multiplexing and Spectrum Spreading
Bandwidth Utilization Multiplexing and Spectrum Spreading
 
IP classes
IP classesIP classes
IP classes
 
Theory building
Theory buildingTheory building
Theory building
 
Information Systems and Knowledge Management
 Information Systems and Knowledge Management Information Systems and Knowledge Management
Information Systems and Knowledge Management
 
Ch01 The Role of Business Research
Ch01 The Role of Business ResearchCh01 The Role of Business Research
Ch01 The Role of Business Research
 
05 analog transmission
05 analog transmission05 analog transmission
05 analog transmission
 
04 digital transmission
04 digital transmission04 digital transmission
04 digital transmission
 
03 Introduction to Physical layer
03  Introduction to Physical layer03  Introduction to Physical layer
03 Introduction to Physical layer
 

Recently uploaded

Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 

Recently uploaded (20)

Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 

02 network models

  • 2. Outline 2.1 PROTOCOL LAYERING ▫ 2.1.1 Scenarios ▫ 2.1.2 Principles of Protocol Layering ▫ 2.1.3 Logical Connections 2.2 TCP/IP PROTOCOL SUITE ▫ 2.2.1 Layered Architecture ▫ 2.2.2 Layers in the TCP/IP Protocol Suite ▫ 2.2.3 Description of Each Layer 2.3 THE OSI MODEL ▫ 2.3.1 OSI versus TCP/IP ▫ 2.3.2 Lack of OSI Model’s Success 2
  • 3. Layered Tasks • Computer networks are complex systems ▫ Tasks involve varieties of hardware and software components, and protocols • Networking task is divided into several subtasks, or layers. 3
  • 4. Why layering? • Networks are complex! • We need a way to organize the structure of network functionalities and to reduce the design complexities • Benefits of layering ▫ Interoperability ▫ Reuse ▫ Hiding underlying details 2-4
  • 5. Protocol interfaces • Each protocol offers an interface to its users, and expects one from the layers on which it builds ▫ Syntax and semantics  Data formats  Interface characteristics, e.g. IP service model • Protocols build upon each other ▫ Add value  E.g., a reliable protocol running on top of IP ▫ Reuse  E.g., OS provides TCP, so apps don’t have to rewrite 2-5
  • 6. Real World Example • Communication between managers of two companies 6 Communicate
  • 7. Logical Connection • Communication takes place thru many layers 7 Logical communication Secretary: types a letter Delivery boy: drops the letter Secretary: reads and reports the message Delivery boy: takes the letter Post office: Processes and routes the letter Postal truck
  • 8. Network Model • Network models are responsible or establishing a connection among the sender and receiver and transmitting the data. • There are two computer network models on which data communication process relies : ▫ OSI Model ▫ TCP/IP Model . 10
  • 9. TCP/IP Model • The TCP/IP model was developed prior to the OSI model. • The TCP/IP model is not exactly similar to the OSI model. • The TCP/IP model consists of five layers: the application layer, transport layer, network layer, data link layer and physical layer. • The first four layers provide physical standards, network interface, internetworking, and transport functions that correspond to the first four layers of the OSI model and these four layers are represented in TCP/IP model by a single layer called the application layer. • TCP/IP is a hierarchical protocol made up of interactive modules, and each of them provides specific functionality. 11
  • 10. TCP/Internet Layer Model Application Layer Transport Layer Network Layer Data Link Layer Physical Layer 12 • The Internet Protocol Stack User Transmission Medium Hardware Software
  • 11. TCP/IP Model: the Internet model Application Transport Network Data link Physical1 2 3 4 Network Data link Physical Application Transport Network Data link Physical 5 • Each layer relies on services from layer below • Each layer exports services to layer above • Interface between layers defines interaction ▫ Hides implementation details ▫ Layers can change without disturbing other layers 2-13
  • 12. TCP/IP Model: the Internet model • Application: supporting network applications ▫ FTP, SMTP, HTTP • Transport: application-application data transfer ▫ TCP, UDP • Network: routing of datagrams from source to destination. Node-node data transfer ▫ IP, routing protocols • Data Link: data transfer between neighboring network elements ▫ PPP, Ethernet • Physical: bits “on the wire” 2-14
  • 13. 15
  • 14. 16
  • 15. Application Layer • It is the topmost layer in the TCP/IP model. • It is responsible for handling high-level protocols, issues of representation. • This layer allows the user to interact with the application. • It facilitates the user to use the services of the network. • It is used to develop network-based applications. • It provides user services like user login, naming network devices, formatting messages, and e-mails, transfer of files etc. • When one application layer protocol wants to communicate with another application layer, it forwards its data to the transport layer. 17
  • 16. Application Layer • The only layer to interact with user 18 Responsible for providing services to the user SMTP HTTP FTP SMTP HTTP FTP Data Data H5 Application Layer to Transport from Transport Data H5 Data Logical communication
  • 17. Transport Layer • The transport layer is a 4th layer from the top. • It is responsible for end to end data transmission service using connection oriented or either through connection-less protocols. • TCP and UDP are two transport layer protocols that provide a different set of services to the network layer. • It provide multiplexing/demultiplexing service. • It also provides other services such as reliable data transfer, bandwidth guarantees, and delay guarantees. 19
  • 18. Transport Layer • Duties/services ▫ Service-point addressing/Port Address ▫ Segmentation and reassembly ▫ Connection control ▫ Flow control (end-to-end) ▫ Error control (end-to-end) 20 Responsible for delivery of a message from one process to another
  • 19. Transport Layer Services • Segmentation : Large data is divided into smaller segments at the senders end and then these smaller segments are recombined in exact format before it is received at receivers end. • Error Control : Distortion, Un-delivery of data packets and noise in data packets results in error and this is prevented using Transport Layer too and this feature is called Error Control. • Flow Control : Transport-Layer ensures that faster data transmission and slow data absorption or slow data transmission and faster data absorption must not occur. • Transport-Layer performs Multiplexing & De-multiplexing. • Connection Control: Connection oriented service using TCP(Transmission Control Protocol) Protocol & Connection less service using UDP(User Data-gram Protocol) Protocol are performed by transport layer. 21
  • 20. Transport Layer 22 Transport Layer Data Data1 Data2 Data3H4 H4 H4 to Network Data Data1 Data2 Data3H4 H4 H4 from Network (segments) Process Process … Process Process … PORT # PORT #
  • 21. Network Layer • Duties/services ▫ Logical addressing ▫ Routing 23 Responsible for the delivery of packets from the original source to the destination
  • 22. Network Layer 24 Network Layer Data from Transport to Data Link Data to Transport from Data Link Data H3 Data H3 (packet)
  • 23. Network Layer 25 Network 1 Network 6 Network 5 1.1 1.2 6.6 6.1 6.3 5.7 5.2 Network 3 3.8 3.3 Router Data 1.1 5.7 1.1, 1.2, 6.1, 5.7, ... are logical addresses R1 R3 R2
  • 24. Data Link Layer • Framing: The data link layer divides the stream of bits received from the network layer into manageable data units called frames. • Physical addressing: If frames are to be distributed to different systems on the network, the data link layer adds a header to the frame to define the sender and/or receiver of the frame. If the frame is intended for a system outside the sender's network, the receiver address is the address of the device that connects the network to the next one. • Flow control (hop-to-hop): A receiving node can receive the frames at a faster rate than it can process the frame. Without flow control, the receiver's buffer can overflow, and frames can get lost. To overcome this problem, the data link layer uses the flow control to prevent the sending node on one side of the link from overwhelming the receiving node on another side of the link. • Error control (hop-to-hop):The data link layer adds reliability to the physical layer by adding mechanisms to detect and retransmit damaged or lost frames. It also uses a mechanism to recognize duplicate frames. Error control is normally achieved through a trailer added to the end of the frame. • Access control:. When two or more devices are connected to the same link, data link layer protocols are necessary to determine which device has control over the link at any given time. 26
  • 25. Data Link Layer 27 Data Link Layer Data from Network to Physical Data to Network from Physical Data H2 Data H2 (frame) T2 T2 Responsible for transmitting frames from one hop (node) to the next
  • 26. Data Link Layer 28 3B A3, 3B, 82, 9F, ... are physical addresses 9F 82 A3 Data 9FT2 A3 Data H2
  • 27. Data Link Layer 29 Network 1 Network 6 Network 5 1.1 1.2 6.6 6.1 6.3 5.7 5.2 Network 3 3.8 3.3 Data 1.15.7 97 32 25 79 62 54 74 12 88 Data 1.15.7 2597 Data 1.15.7 6279 Data 1.15.7 7454 R1 R3 R2
  • 28. Physical Layer • Physical Layer is the bottom-most layer. • It is associated with the electrical, mechanical and transmission media . • Physical layer deals with all the physical devices that can be used for data communication. 30 The physical layer is responsible for movements of individual bits from one hop (node) to the next
  • 29. Physical Layer 31 Physical Layer Data from Data Link to Data Link Data 01001011 01001011 Transmission medium (bits)
  • 30. Physical Layer Functions • Physical characteristics of interfaces and medium • Representation of bits: Data consists of a stream of bits (sequence of 0s or 1s) with no interpretation. • Data rate: The number of bits sent per second. • Synchronization of bits: the sender and the receiver clocks must be synchronized. • Line configuration: Point to Point or Multipoint • Physical topology: Bus/ Star/Mesh… • Transmission mode: Simplex/Half/Full 32
  • 31. The Big Picture 33 L5 data H5 L4 data H4 L3 data H3 L2 dataT2 H2 0111011010101001010101001 L5 data H5 L4 data H4 L3 data H3 L2 dataT2 H2 0111010101010010101010101 5 4 3 2 1 5 4 3 2 1 Transmission medium
  • 34. Protocol Suites • A set of protocols must be constructed ▫ to ensure that the resulting communication system is complete and efficient • Each protocol should handle a part of communication not handled by other protocols • How can we guarantee that protocols work well together? ▫ Instead of creating each protocol in isolation, protocols are designed in complete, cooperative sets called suites or families 36 36
  • 35. Internet Protocol Suite 37 Layer Protocols Application HTTP, FTP, Telnet, SMTP, ... Transport TCP, UDP, SCTP, ... Network IP (IPv4), IPv6, ICMP, IGMP, ... Data Link Ethernet, Wi-Fi, PPP, ... Physical RS-232, DSL, 10Base-T, ...
  • 36. OSI Model • OSI stands for Open System Interconnection. • Before networks came into existence, computers could only communicate from the same manufacturers. • OSI was designed by ISO (International Organization for Standardization) in late 1970’s. • To break this barrier so that Computers from different manufacturer could communicate with each other. • OSI is a “Layered Approach”, which is a logical representation of how Data Communication should occur. 38
  • 37. OSI Model • OSI has 7 different layers • Two new layers is added ▫ Presentation Layer ▫ Session Layer • It is divided into two groups, ▫ Top 3 layers defines how application within end stations will communicate with each other and with the user (Software Layer). ▫ Bottom 4 layers defines how actually data is transferred (Hardware Layer). ▫ https://www.youtube.com/w atch?v=fiMswfo45DQ 39 7.Application Layer 6.Presentation Layer 5.Session Layer 4.Transport Layer 3.Network Layer 2.Data Link Layer 1.Physical Layer User Transmission Medium
  • 38. Session Layer • This layer is responsible for establishment of connection, maintenance of sessions, authentication and also ensures security. • Duties/services ▫ Dialog Controller :  Allows the two processes to establish, use and terminate a connection.  Communication in half-duplex or full-duplex. ▫ Synchronization :  allows a process to add checkpoints  data is re-synchronized  Session recovery 40
  • 39. Presentation Layer • A Presentation layer is mainly concerned with the syntax and semantics of the information exchanged between the two systems. • It acts as a data translator for a network. • This layer is a part of the operating system that converts the data from one presentation format to another format. • The Presentation layer is also known as the syntax layer. 41
  • 40. Presentation Layer functions • Duties/services ▫ Data translation: For example, ASCII to EBCDIC. ▫ Encryption/Decryption ▫ Compression: Reduces the number of bits that need to be transmitted on the network. 42
  • 41. 44
  • 42. OSI TCP/IP It is developed by ISO (International Standard Organization) It is developed by ARPANET (Advanced Research Project Agency Network). OSI refers to Open Systems Interconnection. TCP refers to Transmission Control Protocol. OSI follows a vertical approach. TCP/IP follows a horizontal approach. In the OSI model, the transport layer is only connection-oriented. A layer of the TCP/IP model is both connection-oriented and connectionless. Session and presentation layers are a part of the OSI model. There is no session and presentation layer in the TCP model. TCP/IP is more reliable OSI is less reliable 45