SlideShare a Scribd company logo
1 of 28
jndqadar@gmail.comjndqadar@gmail.com
Packet Switching, Layer ModelsPacket Switching, Layer Models
and Protocol Suitesand Protocol Suites
JUNAID QADARJUNAID QADAR
MSC ELECTRONICSMSC ELECTRONICS
Department of ElectronicsDepartment of Electronics
UNIVERSITY OF PESHAWARUNIVERSITY OF PESHAWAR
22
OutlineOutline
 Packet vs. circuit switchingPacket vs. circuit switching
 Layered tasksLayered tasks
 Internet protocol suitesInternet protocol suites
 ISO's OSI modelISO's OSI model
33
Communication:Communication: App's ViewpointApp's Viewpoint
 Two network applications interact as ifTwo network applications interact as if
there is a dedicate pipe connecting themthere is a dedicate pipe connecting them
 But what's going on underneath?But what's going on underneath?
 What is inside the "cloud"?What is inside the "cloud"?
InternetInternet
AA
AppApp
BB
AppApp
55
Circuit vs. Packet SwitchingCircuit vs. Packet Switching
 Dedicated circuitsDedicated circuits
 Circuit switchingCircuit switching
 Telephone switchesTelephone switches
establish circuitsestablish circuits
for communicationfor communication
 Packet switchingPacket switching
 Data are put intoData are put into
packetspackets
 Each stamped withEach stamped with
sourcesource andand destinationdestination
addressesaddresses
 RoutersRouters know where toknow where to
forward packetsforward packets
telephone
switch
RouterPacket
66
Layered TasksLayered Tasks
 Computer networks are complex systemsComputer networks are complex systems
 Tasks involve varieties of hardware andTasks involve varieties of hardware and
software components, and protocolssoftware components, and protocols
 Networking task is divided into severalNetworking task is divided into several
subtasks, or layerssubtasks, or layers
77
Real World ExampleReal World Example
 Communication between managers of twoCommunication between managers of two
companiescompanies
Communicate
88
What Actually HappensWhat Actually Happens
 Communication takes place thru many layersCommunication takes place thru many layers
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
1111
Internet Layer ModelInternet Layer Model
 The Internet Protocol StackThe Internet Protocol Stack
Application LayerApplication Layer
Transport LayerTransport Layer
Network LayerNetwork Layer
Data Link LayerData Link Layer
Physical LayerPhysical Layer
User
Transmission
Medium
Hardware
Software
1212
Application LayerApplication Layer
 The only layer to interact with userThe only layer to interact with user
Responsible for providing services to the userResponsible for providing services to the userResponsible for providing services to the userResponsible 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
1313
Transport LayerTransport Layer
 Duties/servicesDuties/services
 Port addressingPort addressing
 Segmentation and reassemblySegmentation and reassembly
 Connection controlConnection control
 Flow control (end-to-end)Flow control (end-to-end)
 Error control (end-to-end)Error control (end-to-end)
Responsible for delivery of a messageResponsible for delivery of a message
from one process to anotherfrom one process to another
Responsible for delivery of a messageResponsible for delivery of a message
from one process to anotherfrom one process to another
1414
Transport LayerTransport Layer
Transport
Layer
Data
from Application
Data1 Data2 Data3H4 H4 H4
to Network
Data
to Application
Data1 Data2 Data3H4 H4 H4
from Network
(segments)
1515
Network LayerNetwork Layer
 Duties/servicesDuties/services
 Logical addressingLogical addressing
 RoutingRouting
Responsible for the delivery of packetsResponsible for the delivery of packets
from the original source to the destinationfrom the original source to the destination
Responsible for the delivery of packetsResponsible for the delivery of packets
from the original source to the destinationfrom the original source to the destination
1616
Network LayerNetwork Layer
Network
Layer
Data
from Transport
to Data Link
Data
to Transport
from Data Link
Data H3 Data H3
(packet)
1717
Network LayerNetwork Layer
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 addresses1.1, 1.2, 6.1, 5.7, ... are logical addresses
R1
R3
R2
1818
Data Link LayerData Link Layer
 Duties/servicesDuties/services
 FramingFraming
 Physical addressingPhysical addressing
 Flow control (hop-to-hop)Flow control (hop-to-hop)
 Error control (hop-to-hop)Error control (hop-to-hop)
 Access controlAccess control
Responsible for transmitting framesResponsible for transmitting frames
from one node to the nextfrom one node to the next
Responsible for transmitting framesResponsible for transmitting frames
from one node to the nextfrom one node to the next
1919
Data Link LayerData Link Layer
Data Link
Layer
Data
from Network
to Physical
Data
to Network
from Physical
Data H2 Data H2
(frame)
T2 T2
2020
Data Link LayerData Link Layer
3B
A3, 3B, 82, 9F, ... are physical addressesA3, 3B, 82, 9F, ... are physical addresses
9F 82 A3
Data 9FT2 A3
Data
H2
2121
Data Link LayerData Link Layer
Network 1
Network 6
Network 5
1.1 1.2
6.6
B1
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
2222
Physical LayerPhysical Layer
 Duties/servicesDuties/services
 Physical characteristics of interfacesPhysical characteristics of interfaces
and mediaand media
 Representation of bitsRepresentation of bits
 Data rate (transmission rate)Data rate (transmission rate)
 Synchronization of bitsSynchronization of bits
Responsible for transmitting individual bitsResponsible for transmitting individual bits
from one node to the nextfrom one node to the next
Responsible for transmitting individual bitsResponsible for transmitting individual bits
from one node to the nextfrom one node to the next
2323
Physical LayerPhysical Layer
Physical
Layer
Data
from Data Link to Data Link
Data
01001011 01001011
Transmission medium
(bits)
2424
The Big PictureThe Big Picture
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
2525
Internet ModelInternet Model
ApplicationApplication
TransportTransport
NetworkNetwork
Data LinkData Link
PhysicalPhysical
NetworkNetwork
Data LinkData Link
PhysicalPhysical
NetworkNetwork
Data LinkData Link
PhysicalPhysical
ApplicationApplication
TransportTransport
NetworkNetwork
Data LinkData Link
PhysicalPhysical
Transmission medium
sender
router
router
receiver
262626
Protocol SuitesProtocol Suites
 A set of protocols must be constructedA set of protocols must be constructed
 to ensure that the resulting communicationto ensure that the resulting communication
system issystem is completecomplete andand efficientefficient
 Each protocol should handle a part ofEach protocol should handle a part of
communication not handled by othercommunication not handled by other
protocolsprotocols
 How can we guarantee that protocolsHow can we guarantee that protocols
work well together?work well together?
 Instead of creating each protocol in isolation,Instead of creating each protocol in isolation,
protocols are designed in complete,protocols are designed in complete,
cooperative sets calledcooperative sets called suitessuites oror familiesfamilies
2727
Internet Protocol SuiteInternet Protocol Suite
LayerLayer ProtocolsProtocols
ApplicationApplication HTTP, FTP, Telnet, SMTP, ...HTTP, FTP, Telnet, SMTP, ...
TransportTransport TCP, UDP, SCTP, ...TCP, UDP, SCTP, ...
NetworkNetwork IP (IPv4), IPv6, ICMP, IGMP, ...IP (IPv4), IPv6, ICMP, IGMP, ...
Data LinkData Link Ethernet, Wi-Fi, PPP, ...Ethernet, Wi-Fi, PPP, ...
PhysicalPhysical RS-232, DSL, 10Base-T, ...RS-232, DSL, 10Base-T, ...
2828
OSI ModelOSI Model
 OSI –OSI – OOpenpen SSystemsystems
IInterconnectionnterconnection
 Developed by theDeveloped by the IInternationalnternational
SStandardstandards OOrganizationsrganizations
(ISO)(ISO)
 Two additional layersTwo additional layers
 Presentation layerPresentation layer
 Session layerSession layer
7.Application Layer7.Application Layer
6.Presentation Layer6.Presentation Layer
5.Session Layer5.Session Layer
4.Transport Layer4.Transport Layer
3.Network Layer3.Network Layer
2.Data Link Layer2.Data Link Layer
1.Physical Layer1.Physical Layer
User
Transmission
Medium
2929
Session LayerSession Layer
 Duties/servicesDuties/services
 Interaction managementInteraction management
 Simplex, half-duplex, full-duplexSimplex, half-duplex, full-duplex
 Session recoverySession recovery
Responsible for establishing, managing andResponsible for establishing, managing and
terminating connections between applicationsterminating connections between applications
Responsible for establishing, managing andResponsible for establishing, managing and
terminating connections between applicationsterminating connections between applications
3030
Presentation LayerPresentation Layer
 Duties/servicesDuties/services
 Data translationData translation
 EncryptionEncryption
 DecryptionDecryption
 CompressionCompression
Responsible for handling differences inResponsible for handling differences in
data representation to applicationsdata representation to applications
Responsible for handling differences inResponsible for handling differences in
data representation to applicationsdata representation to applications
THANKSTHANKS
??????????????????????????????
3232

More Related Content

What's hot

Data communications Class notes
Data communications  Class notesData communications  Class notes
Data communications Class notesDr.YNM
 
Computer networks lan
Computer networks lanComputer networks lan
Computer networks lanDeepak John
 
Lesson 5 data communication and networking (136 kb)
Lesson 5   data communication and networking (136 kb)Lesson 5   data communication and networking (136 kb)
Lesson 5 data communication and networking (136 kb)IMRAN KHAN
 
Data Communication & Network
Data Communication & NetworkData Communication & Network
Data Communication & NetworkMaulen Bale
 
Introduction to Computer Networks and Data Communications
Introduction to Computer Networks and Data CommunicationsIntroduction to Computer Networks and Data Communications
Introduction to Computer Networks and Data CommunicationsAngel G Diaz
 
What are data networks?
What are data networks?What are data networks?
What are data networks?James Steele
 
Data Communication and Networking
Data Communication and NetworkingData Communication and Networking
Data Communication and NetworkingAnjan Mahanta
 
Chapter 7 principles of data communication
Chapter 7   principles of data communicationChapter 7   principles of data communication
Chapter 7 principles of data communicationN. A. Sutisna
 
Computer Networks-1 1st unit (10CS55) VTU
Computer Networks-1 1st unit (10CS55) VTUComputer Networks-1 1st unit (10CS55) VTU
Computer Networks-1 1st unit (10CS55) VTUSiddharaj Junnarkar
 
Chapter 1 - Data Communications, Data Networks, and the Internet
Chapter 1 - Data Communications, Data Networks, and the InternetChapter 1 - Data Communications, Data Networks, and the Internet
Chapter 1 - Data Communications, Data Networks, and the Internetadpeer
 
Lan, man and wan ppt final
Lan, man and wan ppt finalLan, man and wan ppt final
Lan, man and wan ppt finalArushi Garg
 
Data communication and networking
Data communication and networkingData communication and networking
Data communication and networkingDashbo
 
Computer networks 1
Computer networks 1Computer networks 1
Computer networks 1Vijaya Babu
 
Concept of networking
Concept of networkingConcept of networking
Concept of networkingsumit dimri
 
Basic networking tutorial
Basic networking tutorialBasic networking tutorial
Basic networking tutorialreddydivakara
 

What's hot (20)

Data communications Class notes
Data communications  Class notesData communications  Class notes
Data communications Class notes
 
Computer networks lan
Computer networks lanComputer networks lan
Computer networks lan
 
Lesson 5 data communication and networking (136 kb)
Lesson 5   data communication and networking (136 kb)Lesson 5   data communication and networking (136 kb)
Lesson 5 data communication and networking (136 kb)
 
Data Communication & Network
Data Communication & NetworkData Communication & Network
Data Communication & Network
 
Introduction to Computer Networks and Data Communications
Introduction to Computer Networks and Data CommunicationsIntroduction to Computer Networks and Data Communications
Introduction to Computer Networks and Data Communications
 
Lan wan
Lan wanLan wan
Lan wan
 
What are data networks?
What are data networks?What are data networks?
What are data networks?
 
Introduction to Data Communication by Vishal Garg
Introduction to Data Communication by Vishal GargIntroduction to Data Communication by Vishal Garg
Introduction to Data Communication by Vishal Garg
 
Telecommunications
TelecommunicationsTelecommunications
Telecommunications
 
Data Communication and Networking
Data Communication and NetworkingData Communication and Networking
Data Communication and Networking
 
Chapter 7 principles of data communication
Chapter 7   principles of data communicationChapter 7   principles of data communication
Chapter 7 principles of data communication
 
Computer Networks-1 1st unit (10CS55) VTU
Computer Networks-1 1st unit (10CS55) VTUComputer Networks-1 1st unit (10CS55) VTU
Computer Networks-1 1st unit (10CS55) VTU
 
Chapter 1 - Data Communications, Data Networks, and the Internet
Chapter 1 - Data Communications, Data Networks, and the InternetChapter 1 - Data Communications, Data Networks, and the Internet
Chapter 1 - Data Communications, Data Networks, and the Internet
 
Lan, man and wan ppt final
Lan, man and wan ppt finalLan, man and wan ppt final
Lan, man and wan ppt final
 
Ccna report
Ccna reportCcna report
Ccna report
 
Data communication and networking
Data communication and networkingData communication and networking
Data communication and networking
 
Computer networks 1
Computer networks 1Computer networks 1
Computer networks 1
 
Concept of networking
Concept of networkingConcept of networking
Concept of networking
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
 
Basic networking tutorial
Basic networking tutorialBasic networking tutorial
Basic networking tutorial
 

Viewers also liked

Hands on Data Communication, Networking & TCP/IP Troubleshooting
Hands on Data Communication, Networking & TCP/IP TroubleshootingHands on Data Communication, Networking & TCP/IP Troubleshooting
Hands on Data Communication, Networking & TCP/IP TroubleshootingLiving Online
 
Cloud computing and networking course: paper presentation -Data Mining for In...
Cloud computing and networking course: paper presentation -Data Mining for In...Cloud computing and networking course: paper presentation -Data Mining for In...
Cloud computing and networking course: paper presentation -Data Mining for In...Cristian Consonni
 
What is Content centric networking
What is Content centric networkingWhat is Content centric networking
What is Content centric networkingpraison
 
Security in Data Communication and Networking
Security in Data Communication and NetworkingSecurity in Data Communication and Networking
Security in Data Communication and NetworkingZahidul Hossain
 
Ccn(Data communication and networking) edited solution-manual suitable to be ...
Ccn(Data communication and networking) edited solution-manual suitable to be ...Ccn(Data communication and networking) edited solution-manual suitable to be ...
Ccn(Data communication and networking) edited solution-manual suitable to be ...Vishal kakade
 
OSI Model of Networking
OSI Model of NetworkingOSI Model of Networking
OSI Model of NetworkingMukesh Tekwani
 
Basic concepts of wireless communication system
Basic concepts of wireless communication systemBasic concepts of wireless communication system
Basic concepts of wireless communication systemBogs De Castro
 
Thesis in IT Online Grade Encoding and Inquiry System via SMS Technology
Thesis in IT Online Grade Encoding and Inquiry System via SMS TechnologyThesis in IT Online Grade Encoding and Inquiry System via SMS Technology
Thesis in IT Online Grade Encoding and Inquiry System via SMS TechnologyBelLa Bhe
 

Viewers also liked (9)

Hands on Data Communication, Networking & TCP/IP Troubleshooting
Hands on Data Communication, Networking & TCP/IP TroubleshootingHands on Data Communication, Networking & TCP/IP Troubleshooting
Hands on Data Communication, Networking & TCP/IP Troubleshooting
 
Cloud computing and networking course: paper presentation -Data Mining for In...
Cloud computing and networking course: paper presentation -Data Mining for In...Cloud computing and networking course: paper presentation -Data Mining for In...
Cloud computing and networking course: paper presentation -Data Mining for In...
 
What is Content centric networking
What is Content centric networkingWhat is Content centric networking
What is Content centric networking
 
Iso layers
Iso layersIso layers
Iso layers
 
Security in Data Communication and Networking
Security in Data Communication and NetworkingSecurity in Data Communication and Networking
Security in Data Communication and Networking
 
Ccn(Data communication and networking) edited solution-manual suitable to be ...
Ccn(Data communication and networking) edited solution-manual suitable to be ...Ccn(Data communication and networking) edited solution-manual suitable to be ...
Ccn(Data communication and networking) edited solution-manual suitable to be ...
 
OSI Model of Networking
OSI Model of NetworkingOSI Model of Networking
OSI Model of Networking
 
Basic concepts of wireless communication system
Basic concepts of wireless communication systemBasic concepts of wireless communication system
Basic concepts of wireless communication system
 
Thesis in IT Online Grade Encoding and Inquiry System via SMS Technology
Thesis in IT Online Grade Encoding and Inquiry System via SMS TechnologyThesis in IT Online Grade Encoding and Inquiry System via SMS Technology
Thesis in IT Online Grade Encoding and Inquiry System via SMS Technology
 

Similar to Data Communication and Computer Networking Part # 2

protocol architecture
 protocol architecture protocol architecture
protocol architectureSrinivasa Rao
 
ACIT Mumbai - Open Systems Interconnect
ACIT Mumbai - Open Systems InterconnectACIT Mumbai - Open Systems Interconnect
ACIT Mumbai - Open Systems InterconnectSleek International
 
Networking and communications security – network architecture design
Networking and communications security – network architecture designNetworking and communications security – network architecture design
Networking and communications security – network architecture designEnterpriseGRC Solutions, Inc.
 
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.pptxgadisaAdamu
 
Security And Privacy Issues Of Iots
Security And Privacy Issues Of IotsSecurity And Privacy Issues Of Iots
Security And Privacy Issues Of IotsSamantha Randall
 
Lecture12 ie321 dr_atifshahzad - networks
Lecture12 ie321 dr_atifshahzad - networksLecture12 ie321 dr_atifshahzad - networks
Lecture12 ie321 dr_atifshahzad - networksAtif Shahzad
 
Basic networking 07-2012
Basic networking 07-2012Basic networking 07-2012
Basic networking 07-2012Samuel Dratwa
 
Ccent notes part 1
Ccent notes part 1Ccent notes part 1
Ccent notes part 1ahmady
 
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
 

Similar to Data Communication and Computer Networking Part # 2 (20)

protocol architecture
 protocol architecture protocol architecture
protocol architecture
 
ACIT Mumbai - Open Systems Interconnect
ACIT Mumbai - Open Systems InterconnectACIT Mumbai - Open Systems Interconnect
ACIT Mumbai - Open Systems Interconnect
 
ACIT Mumbai - OSI Model
ACIT Mumbai - OSI ModelACIT Mumbai - OSI Model
ACIT Mumbai - OSI Model
 
OSI 7 Layer Model
OSI 7 Layer ModelOSI 7 Layer Model
OSI 7 Layer Model
 
Networking and communications security – network architecture design
Networking and communications security – network architecture designNetworking and communications security – network architecture design
Networking and communications security – network architecture design
 
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
 
Security And Privacy Issues Of Iots
Security And Privacy Issues Of IotsSecurity And Privacy Issues Of Iots
Security And Privacy Issues Of Iots
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
 
Lecture12 ie321 dr_atifshahzad - networks
Lecture12 ie321 dr_atifshahzad - networksLecture12 ie321 dr_atifshahzad - networks
Lecture12 ie321 dr_atifshahzad - networks
 
Basic networking 07-2012
Basic networking 07-2012Basic networking 07-2012
Basic networking 07-2012
 
Ccent notes part 1
Ccent notes part 1Ccent notes part 1
Ccent notes part 1
 
Basics of Computer Networks
Basics of Computer NetworksBasics of Computer Networks
Basics of Computer Networks
 
circuit-packet
circuit-packetcircuit-packet
circuit-packet
 
OSI model.pptx
OSI model.pptxOSI model.pptx
OSI model.pptx
 
internet protocols
internet protocolsinternet protocols
internet protocols
 
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
 
Cell Tech V09 0312
Cell Tech V09 0312Cell Tech V09 0312
Cell Tech V09 0312
 
Introduction to PPP
Introduction to PPPIntroduction to PPP
Introduction to PPP
 
COMPUTER NETWORKING
COMPUTER NETWORKINGCOMPUTER NETWORKING
COMPUTER NETWORKING
 
Ccna introduction
Ccna introductionCcna introduction
Ccna introduction
 

Recently uploaded

Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacingjaychoudhary37
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 

Recently uploaded (20)

Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacing
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 

Data Communication and Computer Networking Part # 2

  • 1. jndqadar@gmail.comjndqadar@gmail.com Packet Switching, Layer ModelsPacket Switching, Layer Models and Protocol Suitesand Protocol Suites JUNAID QADARJUNAID QADAR MSC ELECTRONICSMSC ELECTRONICS Department of ElectronicsDepartment of Electronics UNIVERSITY OF PESHAWARUNIVERSITY OF PESHAWAR
  • 2. 22 OutlineOutline  Packet vs. circuit switchingPacket vs. circuit switching  Layered tasksLayered tasks  Internet protocol suitesInternet protocol suites  ISO's OSI modelISO's OSI model
  • 3. 33 Communication:Communication: App's ViewpointApp's Viewpoint  Two network applications interact as ifTwo network applications interact as if there is a dedicate pipe connecting themthere is a dedicate pipe connecting them  But what's going on underneath?But what's going on underneath?  What is inside the "cloud"?What is inside the "cloud"? InternetInternet AA AppApp BB AppApp
  • 4. 55 Circuit vs. Packet SwitchingCircuit vs. Packet Switching  Dedicated circuitsDedicated circuits  Circuit switchingCircuit switching  Telephone switchesTelephone switches establish circuitsestablish circuits for communicationfor communication  Packet switchingPacket switching  Data are put intoData are put into packetspackets  Each stamped withEach stamped with sourcesource andand destinationdestination addressesaddresses  RoutersRouters know where toknow where to forward packetsforward packets telephone switch RouterPacket
  • 5. 66 Layered TasksLayered Tasks  Computer networks are complex systemsComputer networks are complex systems  Tasks involve varieties of hardware andTasks involve varieties of hardware and software components, and protocolssoftware components, and protocols  Networking task is divided into severalNetworking task is divided into several subtasks, or layerssubtasks, or layers
  • 6. 77 Real World ExampleReal World Example  Communication between managers of twoCommunication between managers of two companiescompanies Communicate
  • 7. 88 What Actually HappensWhat Actually Happens  Communication takes place thru many layersCommunication takes place thru many layers 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. 1111 Internet Layer ModelInternet Layer Model  The Internet Protocol StackThe Internet Protocol Stack Application LayerApplication Layer Transport LayerTransport Layer Network LayerNetwork Layer Data Link LayerData Link Layer Physical LayerPhysical Layer User Transmission Medium Hardware Software
  • 9. 1212 Application LayerApplication Layer  The only layer to interact with userThe only layer to interact with user Responsible for providing services to the userResponsible for providing services to the userResponsible for providing services to the userResponsible 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
  • 10. 1313 Transport LayerTransport Layer  Duties/servicesDuties/services  Port addressingPort addressing  Segmentation and reassemblySegmentation and reassembly  Connection controlConnection control  Flow control (end-to-end)Flow control (end-to-end)  Error control (end-to-end)Error control (end-to-end) Responsible for delivery of a messageResponsible for delivery of a message from one process to anotherfrom one process to another Responsible for delivery of a messageResponsible for delivery of a message from one process to anotherfrom one process to another
  • 11. 1414 Transport LayerTransport Layer Transport Layer Data from Application Data1 Data2 Data3H4 H4 H4 to Network Data to Application Data1 Data2 Data3H4 H4 H4 from Network (segments)
  • 12. 1515 Network LayerNetwork Layer  Duties/servicesDuties/services  Logical addressingLogical addressing  RoutingRouting Responsible for the delivery of packetsResponsible for the delivery of packets from the original source to the destinationfrom the original source to the destination Responsible for the delivery of packetsResponsible for the delivery of packets from the original source to the destinationfrom the original source to the destination
  • 13. 1616 Network LayerNetwork Layer Network Layer Data from Transport to Data Link Data to Transport from Data Link Data H3 Data H3 (packet)
  • 14. 1717 Network LayerNetwork Layer 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 addresses1.1, 1.2, 6.1, 5.7, ... are logical addresses R1 R3 R2
  • 15. 1818 Data Link LayerData Link Layer  Duties/servicesDuties/services  FramingFraming  Physical addressingPhysical addressing  Flow control (hop-to-hop)Flow control (hop-to-hop)  Error control (hop-to-hop)Error control (hop-to-hop)  Access controlAccess control Responsible for transmitting framesResponsible for transmitting frames from one node to the nextfrom one node to the next Responsible for transmitting framesResponsible for transmitting frames from one node to the nextfrom one node to the next
  • 16. 1919 Data Link LayerData Link Layer Data Link Layer Data from Network to Physical Data to Network from Physical Data H2 Data H2 (frame) T2 T2
  • 17. 2020 Data Link LayerData Link Layer 3B A3, 3B, 82, 9F, ... are physical addressesA3, 3B, 82, 9F, ... are physical addresses 9F 82 A3 Data 9FT2 A3 Data H2
  • 18. 2121 Data Link LayerData Link Layer Network 1 Network 6 Network 5 1.1 1.2 6.6 B1 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
  • 19. 2222 Physical LayerPhysical Layer  Duties/servicesDuties/services  Physical characteristics of interfacesPhysical characteristics of interfaces and mediaand media  Representation of bitsRepresentation of bits  Data rate (transmission rate)Data rate (transmission rate)  Synchronization of bitsSynchronization of bits Responsible for transmitting individual bitsResponsible for transmitting individual bits from one node to the nextfrom one node to the next Responsible for transmitting individual bitsResponsible for transmitting individual bits from one node to the nextfrom one node to the next
  • 20. 2323 Physical LayerPhysical Layer Physical Layer Data from Data Link to Data Link Data 01001011 01001011 Transmission medium (bits)
  • 21. 2424 The Big PictureThe Big Picture 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
  • 22. 2525 Internet ModelInternet Model ApplicationApplication TransportTransport NetworkNetwork Data LinkData Link PhysicalPhysical NetworkNetwork Data LinkData Link PhysicalPhysical NetworkNetwork Data LinkData Link PhysicalPhysical ApplicationApplication TransportTransport NetworkNetwork Data LinkData Link PhysicalPhysical Transmission medium sender router router receiver
  • 23. 262626 Protocol SuitesProtocol Suites  A set of protocols must be constructedA set of protocols must be constructed  to ensure that the resulting communicationto ensure that the resulting communication system issystem is completecomplete andand efficientefficient  Each protocol should handle a part ofEach protocol should handle a part of communication not handled by othercommunication not handled by other protocolsprotocols  How can we guarantee that protocolsHow can we guarantee that protocols work well together?work well together?  Instead of creating each protocol in isolation,Instead of creating each protocol in isolation, protocols are designed in complete,protocols are designed in complete, cooperative sets calledcooperative sets called suitessuites oror familiesfamilies
  • 24. 2727 Internet Protocol SuiteInternet Protocol Suite LayerLayer ProtocolsProtocols ApplicationApplication HTTP, FTP, Telnet, SMTP, ...HTTP, FTP, Telnet, SMTP, ... TransportTransport TCP, UDP, SCTP, ...TCP, UDP, SCTP, ... NetworkNetwork IP (IPv4), IPv6, ICMP, IGMP, ...IP (IPv4), IPv6, ICMP, IGMP, ... Data LinkData Link Ethernet, Wi-Fi, PPP, ...Ethernet, Wi-Fi, PPP, ... PhysicalPhysical RS-232, DSL, 10Base-T, ...RS-232, DSL, 10Base-T, ...
  • 25. 2828 OSI ModelOSI Model  OSI –OSI – OOpenpen SSystemsystems IInterconnectionnterconnection  Developed by theDeveloped by the IInternationalnternational SStandardstandards OOrganizationsrganizations (ISO)(ISO)  Two additional layersTwo additional layers  Presentation layerPresentation layer  Session layerSession layer 7.Application Layer7.Application Layer 6.Presentation Layer6.Presentation Layer 5.Session Layer5.Session Layer 4.Transport Layer4.Transport Layer 3.Network Layer3.Network Layer 2.Data Link Layer2.Data Link Layer 1.Physical Layer1.Physical Layer User Transmission Medium
  • 26. 2929 Session LayerSession Layer  Duties/servicesDuties/services  Interaction managementInteraction management  Simplex, half-duplex, full-duplexSimplex, half-duplex, full-duplex  Session recoverySession recovery Responsible for establishing, managing andResponsible for establishing, managing and terminating connections between applicationsterminating connections between applications Responsible for establishing, managing andResponsible for establishing, managing and terminating connections between applicationsterminating connections between applications
  • 27. 3030 Presentation LayerPresentation Layer  Duties/servicesDuties/services  Data translationData translation  EncryptionEncryption  DecryptionDecryption  CompressionCompression Responsible for handling differences inResponsible for handling differences in data representation to applicationsdata representation to applications Responsible for handling differences inResponsible for handling differences in data representation to applicationsdata representation to applications