SlideShare a Scribd company logo
1 of 41
Lecturer: MOHAMMAD NAZIR
Data
Communication
Data Communications and
Networking, 4rd Edition, Behrouz A.
Forouzan
Chapter 2: Network Models
The OSI Model
 Open Systems Interconnection (OSI).
 Developed by the International Organization for
Standardization (ISO).
 Model for understanding and developing computer-
to-computer communication architecture that is
flexible, robust and interoperable.
 It is not a protocol.
 Developed in the 1980s.
 Divides network architecture into seven layers.
OSI cont.
 Each layer performs a subset of the required communication
functions
 Each layer relies on the next lower layer to perform more
primitive functions
 Each layer provides services to the next higher layer
 Changes in one layer should not require changes in other
layers
 Layer 1,2,3 are the network support layer, deals with the
physical aspects of moving data from one device to another.
 Layer 5,6,7 are the user support layer, allow the
interoperability among unrelated software.
 Layer 4 ensures that what the lower layer have transmitted
is in a form that the upper layers can use.
OSI layer
 Application layer
 Presentation layer
 Session layer
 Transport layer
 Network layer
 Data Link layer
 Physical layer
OSI layer
An exchange using the OSI model
Layer 1,2,3
Application
Presentation
Session
Transport
Network
Data Link
Physical
Application
Presentation
Session
Transport
Network
Data Link
Physical
Layer-3
Device
Layer-3
Device
Layer 2 and 3 addressing schemes needed and
layer 1 addressing scheme is not needed
Layer 1: Physical Layer
 Responsible of:
 Transmitting individual bits from one to the
next.
 Physical characteristics of interface and media.
 Representation of bits: a stream of bit(0s,1s),
 Data rate.
 Synchronize of bits
 Line configuration
 Physical topology
 Transmission mode
Physical Layer cont.
Layer 2: Data Link layer
 Responsible of:
 Moving frames from one hop (node) to the next.
 Framing: divided the stream of bits received from
the network layer manageable data units called
frames.
 Physical address (MAC address).
 Flow control.
 Error control: added trailer to the end of frame.
 Access control.
 Hop to hop delivery
Data Link layer cont.
10110110101 01100010011 10110000001
Hop-to-Hop delivery
Layer 3: Network Layer
 The network layer is responsible:
 The delivery of individual packets from the
original source to the final destination .
 Logical addressing: if the packet passes the
network boundary we need another addressing
system to help (source to destination) connection.
 Routing : route or switch the packet to final
destination.
 Source-to-destination delivery (End-to-End).
Network Layer cont.
Source-to-Destination delivery
Layer 4: Transport Layer
 The transport layer is responsible for:
 Service point or Port addressing
 Segmentation and reassembly : a message is
divided into transmittable segments each segment
containing a sequence no.
 Connection Control: connection oriented or
connectionless.
 Flow control
 Error control
Transport Layer cont.
Reliable process-to-process delivery of
a message
Layer 5: Session Layer
 Dialog control: design to establish, maintain,
and synchronize the interaction between
communicating systems.
 Synchronization: it allows a process to add
checkpoints or synchronization points to a
data stream.
Session Layer cont.
Layer 6 :Presentation Layer
 Design to the handle the syntax and semantic
of the information exchanged between 2
systems.
 And design for data translation, encryption,
decryption, and compression.
Presentation Layer cont.
Layer 7: Application Layer
 The application layer is responsible for
providing services to the user.
 Mail services
 File transfer, access and management
 Remote log-in or network virtual terminal
 Accessing the World Wide Web
 Directory service
Application Layer cont.
HTTP
Telnet
SMTPHTTPTelnetSMTP
Summary
data
data data data
Network header data
Frame H Network H data
Segments
packets
Frames
Bits
From trailer
data stream
data stream
data stream
Application
Presentation
Session
Transport
Network
Data link
Physical 1110111 0111 011111101
data
data data data
Network header data
Frame H Network H data
Segments
packets
Frames
Bits
From trailer
data stream
data stream
data stream
Application
Presentation
Session
Transport
Network
Data link
Physical 1110111 0111 011111101
TCP/IP Protocol Suite
 The TCP/IP protocol suite is a hierarchical
protocol , made of five layers:
 Physical layer
 Data link layer
 Network layer
 Transport layer
 Application layer.
Some Protocols in TCP/IP Suite
TCP/IP PROTOCOL SUITE
 The layers in the TCP/IP protocol suite do not
exactly match those in the OSI model.
 The original TCP/IP protocol suite was defined
as having four layers: host-to-network,
internet, transport, and application.
 However, when TCP/IP is compared to OSI, we
can say that the TCP/IP protocol suite is made
of five layers: physical, data link, network,
transport, and application.
TCP/IP and OSI model
ADDRESSING
 Four levels of addresses are used in an
internet employing the TCP/IP protocols:
physical address, logical address, port
address and specific address.
Relationship of layers and addresses in TCP/IP
SCTP: Stream Control Transmission Protocol
TCP: Transmission Control Protocol
UDP: User Datagram Protocol
Example 2.1
 In Figure 2.19 a node with physical address 10 sends a
frame to a node with physical address 87. The two nodes
are connected by a link (bus topology LAN). As the figure
shows, the computer with physical address 10 is the
sender, and the computer with physical address 87 is the
receiver.
Example 2.3
 Figure 2.20 shows a part of an internet with two
routers connecting three LANs. Each device
(computer or router) has a pair of addresses (logical
and physical) for each connection. In this case, each
computer is connected to only one link and
therefore has only one pair of addresses. Each
router, however, is connected to three networks
(only two are shown in the figure). So each router
has three pairs of addresses, one for each
connection.
Figure 2.20 IP addresses
Example 2.4
 Figure 2.21 shows two computers communicating via
the Internet. The sending computer is running three
processes at this time with port addresses a, b, and
c. The receiving computer is running two processes
at this time with port addresses j and k. Process a in
the sending computer needs to communicate with
process j in the receiving computer. Note that
although physical addresses change from hop to hop,
logical and port addresses remain the same from the
source to destination.
Figure 2.21 Port addresses
Network Devices
 Modem: a device that modulates a digital signal
onto analog signal for transmission over telephone
lines.
 Repeater: Re-generates the signal again.
DEVICES :
1. Hub, a distributor that has a lot of ports which
connected to computers.
2. Switches, like a hub but it transmit packets to it destination
3. Bridge, it is used to connect two similar LANs.
4. Routers, choose the best path to transmit the packet.
5. Gateway, it is use to connect two deferent LANs and
connect different application protocols.
6. Repeaters, repeats signals that travels via long distance
Network devices With Layer
Layers Network Devices
Application Layer Application gateway
Transport Layer Transport gateway
Network Layer Router and gateway
Data link layer Bridge and Switch
Physical Layer Repeater, Hub and Modem.

More Related Content

What's hot

Protocol Ppt[1]
Protocol Ppt[1]Protocol Ppt[1]
Protocol Ppt[1]anil933
 
Osi layer and network protocol
Osi layer and network protocolOsi layer and network protocol
Osi layer and network protocolNayan Sarma
 
SYBSC IT COMPUTER NETWORKS UNIT III Connecting LANs, Backbone Networks, and V...
SYBSC IT COMPUTER NETWORKS UNIT III Connecting LANs, Backbone Networks, and V...SYBSC IT COMPUTER NETWORKS UNIT III Connecting LANs, Backbone Networks, and V...
SYBSC IT COMPUTER NETWORKS UNIT III Connecting LANs, Backbone Networks, and V...Arti Parab Academics
 
SYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: Ethernet
SYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: EthernetSYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: Ethernet
SYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: EthernetArti Parab Academics
 
Presentation on TCP/IP Model
Presentation on TCP/IP ModelPresentation on TCP/IP Model
Presentation on TCP/IP ModelAbir Junayed
 
Comparison and Contrast between OSI and TCP/IP Model
Comparison and Contrast between OSI and TCP/IP ModelComparison and Contrast between OSI and TCP/IP Model
Comparison and Contrast between OSI and TCP/IP ModelConferencias FIST
 
SYBSC IT COMPUTER NETWORKS UNIT I Network Models
SYBSC IT COMPUTER NETWORKS UNIT I Network ModelsSYBSC IT COMPUTER NETWORKS UNIT I Network Models
SYBSC IT COMPUTER NETWORKS UNIT I Network ModelsArti Parab Academics
 
OSI Reference Model and TCP/IP (Lecture #3 ET3003 Sem1 2014/2015)
OSI Reference Model and TCP/IP (Lecture #3 ET3003 Sem1 2014/2015)OSI Reference Model and TCP/IP (Lecture #3 ET3003 Sem1 2014/2015)
OSI Reference Model and TCP/IP (Lecture #3 ET3003 Sem1 2014/2015)Tutun Juhana
 
Protocol
ProtocolProtocol
ProtocolShi Na
 

What's hot (20)

Protocol Ppt[1]
Protocol Ppt[1]Protocol Ppt[1]
Protocol Ppt[1]
 
COMPUTER NETWORK - Chapter 1
COMPUTER NETWORK - Chapter 1 COMPUTER NETWORK - Chapter 1
COMPUTER NETWORK - Chapter 1
 
Osi layer and network protocol
Osi layer and network protocolOsi layer and network protocol
Osi layer and network protocol
 
computer network OSI layer
computer network OSI layercomputer network OSI layer
computer network OSI layer
 
SYBSC IT COMPUTER NETWORKS UNIT III Connecting LANs, Backbone Networks, and V...
SYBSC IT COMPUTER NETWORKS UNIT III Connecting LANs, Backbone Networks, and V...SYBSC IT COMPUTER NETWORKS UNIT III Connecting LANs, Backbone Networks, and V...
SYBSC IT COMPUTER NETWORKS UNIT III Connecting LANs, Backbone Networks, and V...
 
TCP/IP MODEL
TCP/IP MODEL TCP/IP MODEL
TCP/IP MODEL
 
Chap 2 network models
Chap 2 network modelsChap 2 network models
Chap 2 network models
 
SYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: Ethernet
SYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: EthernetSYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: Ethernet
SYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: Ethernet
 
COMPUTER NETWORKS UNIT 4
COMPUTER NETWORKS UNIT 4COMPUTER NETWORKS UNIT 4
COMPUTER NETWORKS UNIT 4
 
Presentation on TCP/IP Model
Presentation on TCP/IP ModelPresentation on TCP/IP Model
Presentation on TCP/IP Model
 
Comparison and Contrast between OSI and TCP/IP Model
Comparison and Contrast between OSI and TCP/IP ModelComparison and Contrast between OSI and TCP/IP Model
Comparison and Contrast between OSI and TCP/IP Model
 
53426980 tcp-ip
53426980 tcp-ip53426980 tcp-ip
53426980 tcp-ip
 
Network Models in Networking.
Network Models in Networking.Network Models in Networking.
Network Models in Networking.
 
COMPUTER NETWORKS UNIT 2
COMPUTER NETWORKS UNIT 2COMPUTER NETWORKS UNIT 2
COMPUTER NETWORKS UNIT 2
 
Chapter 2: Network Models
Chapter 2: Network ModelsChapter 2: Network Models
Chapter 2: Network Models
 
SYBSC IT COMPUTER NETWORKS UNIT I Network Models
SYBSC IT COMPUTER NETWORKS UNIT I Network ModelsSYBSC IT COMPUTER NETWORKS UNIT I Network Models
SYBSC IT COMPUTER NETWORKS UNIT I Network Models
 
Osi and tcp ip model
Osi and tcp ip modelOsi and tcp ip model
Osi and tcp ip model
 
OSI Reference Model and TCP/IP (Lecture #3 ET3003 Sem1 2014/2015)
OSI Reference Model and TCP/IP (Lecture #3 ET3003 Sem1 2014/2015)OSI Reference Model and TCP/IP (Lecture #3 ET3003 Sem1 2014/2015)
OSI Reference Model and TCP/IP (Lecture #3 ET3003 Sem1 2014/2015)
 
Protocol
ProtocolProtocol
Protocol
 
OSI MODEL
OSI MODELOSI MODEL
OSI MODEL
 

Similar to Chapeter 2

Similar to Chapeter 2 (20)

Computer networking
Computer networkingComputer networking
Computer networking
 
OSI model.pptx
OSI model.pptxOSI model.pptx
OSI model.pptx
 
Cs8591 Computer Networks
Cs8591 Computer NetworksCs8591 Computer Networks
Cs8591 Computer Networks
 
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
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
 
OSI 7 layer Architecture and explain the functions of each layer
OSI 7 layer Architecture and explain the functions of each layerOSI 7 layer Architecture and explain the functions of each layer
OSI 7 layer Architecture and explain the functions of each layer
 
OSI Pankaj yadav
OSI  Pankaj yadavOSI  Pankaj yadav
OSI Pankaj yadav
 
Assignment izaz sir
Assignment izaz sirAssignment izaz sir
Assignment izaz sir
 
Osi model
Osi modelOsi model
Osi model
 
OSI - OSI Reference Model and TCP (Transmission Control Protocol)
OSI - OSI Reference Model and TCP (Transmission Control Protocol)OSI - OSI Reference Model and TCP (Transmission Control Protocol)
OSI - OSI Reference Model and TCP (Transmission Control Protocol)
 
Networking models tcp
Networking models tcpNetworking models tcp
Networking models tcp
 
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
 
Ch 2 network
Ch 2 networkCh 2 network
Ch 2 network
 
Assignment3
Assignment3Assignment3
Assignment3
 
Osi model
Osi modelOsi model
Osi model
 
Class_notes_InternetTechnology
Class_notes_InternetTechnologyClass_notes_InternetTechnology
Class_notes_InternetTechnology
 
Protocol
ProtocolProtocol
Protocol
 
Computer networks--networks
Computer networks--networksComputer networks--networks
Computer networks--networks
 
CN unit 1 part 2 2023.ppt
CN unit 1 part 2 2023.pptCN unit 1 part 2 2023.ppt
CN unit 1 part 2 2023.ppt
 
Osi models
Osi modelsOsi models
Osi models
 

More from Nazir Ahmed

Data structures final lecture 1
Data structures final  lecture 1Data structures final  lecture 1
Data structures final lecture 1Nazir Ahmed
 
Data structures lecture 04
Data structures  lecture 04Data structures  lecture 04
Data structures lecture 04Nazir Ahmed
 
Control unit design(1)
Control unit design(1)Control unit design(1)
Control unit design(1)Nazir Ahmed
 
Computer architecture mcq (2)
Computer architecture mcq (2)Computer architecture mcq (2)
Computer architecture mcq (2)Nazir Ahmed
 
Complete binary tree and heap
Complete binary tree and heapComplete binary tree and heap
Complete binary tree and heapNazir Ahmed
 
Clamper clipper(10)
Clamper clipper(10)Clamper clipper(10)
Clamper clipper(10)Nazir Ahmed
 
Chapter 07 ddl_sql
Chapter 07 ddl_sqlChapter 07 ddl_sql
Chapter 07 ddl_sqlNazir Ahmed
 
Chapter # 12 er modeling
Chapter # 12 er modelingChapter # 12 er modeling
Chapter # 12 er modelingNazir Ahmed
 
Ch05 cpu-scheduling
Ch05 cpu-schedulingCh05 cpu-scheduling
Ch05 cpu-schedulingNazir Ahmed
 

More from Nazir Ahmed (20)

Data structures final lecture 1
Data structures final  lecture 1Data structures final  lecture 1
Data structures final lecture 1
 
Data structures lecture 04
Data structures  lecture 04Data structures  lecture 04
Data structures lecture 04
 
Data structure
Data structureData structure
Data structure
 
Cover letter
Cover letterCover letter
Cover letter
 
Control unit design(1)
Control unit design(1)Control unit design(1)
Control unit design(1)
 
Computer architecture mcq (2)
Computer architecture mcq (2)Computer architecture mcq (2)
Computer architecture mcq (2)
 
Complete binary tree and heap
Complete binary tree and heapComplete binary tree and heap
Complete binary tree and heap
 
Clamper clipper(10)
Clamper clipper(10)Clamper clipper(10)
Clamper clipper(10)
 
Cisc mc68000
Cisc mc68000Cisc mc68000
Cisc mc68000
 
Chapter 08
Chapter 08Chapter 08
Chapter 08
 
Chapter 07 ddl_sql
Chapter 07 ddl_sqlChapter 07 ddl_sql
Chapter 07 ddl_sql
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Chapter 03
Chapter 03Chapter 03
Chapter 03
 
Chapter # 12 er modeling
Chapter # 12 er modelingChapter # 12 er modeling
Chapter # 12 er modeling
 
Ch7 1 v1
Ch7 1 v1Ch7 1 v1
Ch7 1 v1
 
Ch07 deadlocks
Ch07 deadlocksCh07 deadlocks
Ch07 deadlocks
 
Ch05 cpu-scheduling
Ch05 cpu-schedulingCh05 cpu-scheduling
Ch05 cpu-scheduling
 
Ch04 threads
Ch04 threadsCh04 threads
Ch04 threads
 
Ch03 processes
Ch03 processesCh03 processes
Ch03 processes
 
Ch1 v1
Ch1 v1Ch1 v1
Ch1 v1
 

Recently uploaded

Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 

Recently uploaded (20)

Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 

Chapeter 2

  • 1. Lecturer: MOHAMMAD NAZIR Data Communication Data Communications and Networking, 4rd Edition, Behrouz A. Forouzan
  • 3. The OSI Model  Open Systems Interconnection (OSI).  Developed by the International Organization for Standardization (ISO).  Model for understanding and developing computer- to-computer communication architecture that is flexible, robust and interoperable.  It is not a protocol.  Developed in the 1980s.  Divides network architecture into seven layers.
  • 4. OSI cont.  Each layer performs a subset of the required communication functions  Each layer relies on the next lower layer to perform more primitive functions  Each layer provides services to the next higher layer  Changes in one layer should not require changes in other layers  Layer 1,2,3 are the network support layer, deals with the physical aspects of moving data from one device to another.  Layer 5,6,7 are the user support layer, allow the interoperability among unrelated software.  Layer 4 ensures that what the lower layer have transmitted is in a form that the upper layers can use.
  • 5. OSI layer  Application layer  Presentation layer  Session layer  Transport layer  Network layer  Data Link layer  Physical layer
  • 7. An exchange using the OSI model
  • 8. Layer 1,2,3 Application Presentation Session Transport Network Data Link Physical Application Presentation Session Transport Network Data Link Physical Layer-3 Device Layer-3 Device Layer 2 and 3 addressing schemes needed and layer 1 addressing scheme is not needed
  • 9. Layer 1: Physical Layer  Responsible of:  Transmitting individual bits from one to the next.  Physical characteristics of interface and media.  Representation of bits: a stream of bit(0s,1s),  Data rate.  Synchronize of bits  Line configuration  Physical topology  Transmission mode
  • 11. Layer 2: Data Link layer  Responsible of:  Moving frames from one hop (node) to the next.  Framing: divided the stream of bits received from the network layer manageable data units called frames.  Physical address (MAC address).  Flow control.  Error control: added trailer to the end of frame.  Access control.  Hop to hop delivery
  • 12. Data Link layer cont. 10110110101 01100010011 10110000001
  • 14. Layer 3: Network Layer  The network layer is responsible:  The delivery of individual packets from the original source to the final destination .  Logical addressing: if the packet passes the network boundary we need another addressing system to help (source to destination) connection.  Routing : route or switch the packet to final destination.  Source-to-destination delivery (End-to-End).
  • 17. Layer 4: Transport Layer  The transport layer is responsible for:  Service point or Port addressing  Segmentation and reassembly : a message is divided into transmittable segments each segment containing a sequence no.  Connection Control: connection oriented or connectionless.  Flow control  Error control
  • 20. Layer 5: Session Layer  Dialog control: design to establish, maintain, and synchronize the interaction between communicating systems.  Synchronization: it allows a process to add checkpoints or synchronization points to a data stream.
  • 22. Layer 6 :Presentation Layer  Design to the handle the syntax and semantic of the information exchanged between 2 systems.  And design for data translation, encryption, decryption, and compression.
  • 24. Layer 7: Application Layer  The application layer is responsible for providing services to the user.  Mail services  File transfer, access and management  Remote log-in or network virtual terminal  Accessing the World Wide Web  Directory service
  • 27. data data data data Network header data Frame H Network H data Segments packets Frames Bits From trailer data stream data stream data stream Application Presentation Session Transport Network Data link Physical 1110111 0111 011111101 data data data data Network header data Frame H Network H data Segments packets Frames Bits From trailer data stream data stream data stream Application Presentation Session Transport Network Data link Physical 1110111 0111 011111101
  • 28. TCP/IP Protocol Suite  The TCP/IP protocol suite is a hierarchical protocol , made of five layers:  Physical layer  Data link layer  Network layer  Transport layer  Application layer.
  • 29. Some Protocols in TCP/IP Suite
  • 30. TCP/IP PROTOCOL SUITE  The layers in the TCP/IP protocol suite do not exactly match those in the OSI model.  The original TCP/IP protocol suite was defined as having four layers: host-to-network, internet, transport, and application.  However, when TCP/IP is compared to OSI, we can say that the TCP/IP protocol suite is made of five layers: physical, data link, network, transport, and application.
  • 31. TCP/IP and OSI model
  • 32. ADDRESSING  Four levels of addresses are used in an internet employing the TCP/IP protocols: physical address, logical address, port address and specific address.
  • 33. Relationship of layers and addresses in TCP/IP SCTP: Stream Control Transmission Protocol TCP: Transmission Control Protocol UDP: User Datagram Protocol
  • 34. Example 2.1  In Figure 2.19 a node with physical address 10 sends a frame to a node with physical address 87. The two nodes are connected by a link (bus topology LAN). As the figure shows, the computer with physical address 10 is the sender, and the computer with physical address 87 is the receiver.
  • 35. Example 2.3  Figure 2.20 shows a part of an internet with two routers connecting three LANs. Each device (computer or router) has a pair of addresses (logical and physical) for each connection. In this case, each computer is connected to only one link and therefore has only one pair of addresses. Each router, however, is connected to three networks (only two are shown in the figure). So each router has three pairs of addresses, one for each connection.
  • 36. Figure 2.20 IP addresses
  • 37. Example 2.4  Figure 2.21 shows two computers communicating via the Internet. The sending computer is running three processes at this time with port addresses a, b, and c. The receiving computer is running two processes at this time with port addresses j and k. Process a in the sending computer needs to communicate with process j in the receiving computer. Note that although physical addresses change from hop to hop, logical and port addresses remain the same from the source to destination.
  • 38. Figure 2.21 Port addresses
  • 39. Network Devices  Modem: a device that modulates a digital signal onto analog signal for transmission over telephone lines.  Repeater: Re-generates the signal again.
  • 40. DEVICES : 1. Hub, a distributor that has a lot of ports which connected to computers. 2. Switches, like a hub but it transmit packets to it destination 3. Bridge, it is used to connect two similar LANs. 4. Routers, choose the best path to transmit the packet. 5. Gateway, it is use to connect two deferent LANs and connect different application protocols. 6. Repeaters, repeats signals that travels via long distance
  • 41. Network devices With Layer Layers Network Devices Application Layer Application gateway Transport Layer Transport gateway Network Layer Router and gateway Data link layer Bridge and Switch Physical Layer Repeater, Hub and Modem.