Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host...
Transcript of Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host...
![Page 1: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/1.jpg)
Chapter 1: Conceptual BasisSection 1
Based on textbook Conceptual Computer Networks by:© 2019 José María Foces Morán, José María Foces Vivancos. All rights reservedV 2.2
1
![Page 2: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/2.jpg)
Leading questions¨ What are the principles guiding the communication between two
parties?
¨ When can a communication be considered fast and efficient?
¨ What are the landmarks about the development of Internet?
¨ Why is networking essential for progress?
¨ What is a network architecture?
© 2018 José María Foces Morán, José María Foces Vivancos
2
![Page 3: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/3.jpg)
Flow of topics
Motivation
Hosts and Applications
Network architecture
Layers and service
interfaces
Core Concepts
Media
Signals
Information and Coding
Patterns
Essential Data Communications
Coremetrics
Performance of networks
© 2018 José María Foces Morán, José María Foces Vivancos
3
![Page 4: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/4.jpg)
Cooperating host applications¨ Applications are computer programs¨ Communicate over the Internet¨ At work, at home and mobile¨ Vastly differing requirements
• Network storage• Streaming Audio/Video• Video conferencing• IP Telephony• e-mail: smtp, pop3, imap
• File Sharing, file transfer: ftp, rcp, scp• Printer sharing• Virtual terminal: telnet, ssh (Secure Shell)• e-commerce• Geolocation• World Wide Web (www)• Social Networks• Instant Messaging (Whatsup, …)
© 2018 José María Foces Morán, José María Foces Vivancos © Summary graph by Larry Peterson and Bruce Davie (From Clark, Schenker and Zangh)
4
Applications
Elastic Real time
Loss intolerant Loss Tolerant
Non-delay adaptive Delay-adaptive
Speed-adaptvie Delay-adaptive
?
![Page 5: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/5.jpg)
Essential Internet service: wwwn Web pages are downloaded by the client from
the servern Client and server speak the http protocoln http = Hyper Text Transfer Protocol
n www = World Wide Web:n A distributed, Client/Server application
n Server program (e.g., Apache)n Client program (e.g., Firefox)
n URLn Uniform Resource Locator n http://paloalto.unileon.es/cn/index.html
n HTTP, in turn uses the TCP protocol for reliabilityn TCP = Transmission Control Protocoln TCP provides reliability
n In case of packet loss, duplication, errors, etc
Internet
Client
Server
C
© 2018 José María Foces Morán, José María Foces Vivancos
5
![Page 6: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/6.jpg)
Units and multipliers
¨ Bandwidth¤ Directly related to the acceptable speed of bit transmission over some medium¤ Number of bits transmitted in one second:
¤ Bps (Bits Per Second = Bits/Sec)
¤ Since bandwidth is a rate, the multipliers take on the following values:¤ K (Kilo = 103)¤ M (Mega = 106)¤ G (Giga = 109)¤ T (Tera = 1012)
¨ Delay¤ Seconds¤ How much time it takes to transport one bit from a source to a destination directly
connected¤ Propagation delay
¨ Jitter¤ The variance of the delay
© 2018 José María Foces Morán, José María Foces Vivancos
6
![Page 7: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/7.jpg)
Manage the complexity of networks
Network Architecture
© 2018 José María Foces Morán, José María Foces Vivancos
7
![Page 8: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/8.jpg)
Logical channels
¨ Applications communicate overthe Internet
¨ The channel between twocommunicating applications islogical
¨ Each channel:¤ Connects two applications
¤ Hosts must be identified:n IP address
¤ Applications must be identified:n Port numbers
Client S-1
Linux
Android
Server SServer
T
Server U
Client S-2
Client U-1
Client T-1
Client T-2
Internet
How to hide network
complexity from application
programmers?
© 2018 José María Foces Morán, José María Foces Vivancos
8
![Page 9: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/9.jpg)
Layering in hosts and network
Internet
Client
Server
C
Subnetwork
IP
TCP UDP
Application
Subnetwork
IP
NETWORK
Subnetwork
IP
TCP UDP
Application
End host A End host B
© 2018 José María Foces Morán, José María Foces Vivancos
![Page 10: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/10.jpg)
Internet Architecture
¨ Network complexity is organized into 4 layers¨ Each layer
¨ Offers a set of services to the upper layers
¨ The mechanism that attains each service is a protocol
¨ An upper layer avails one service from a lower layer bycalling its interface
¨ 1. Subnetwork: Ethernet, Wi-Fi, Bluetooth
¨ 2. Network: Only IP !!!
¨ 3. Transport: TCP and UDP
¨ 4. Application: Whatsup and innumerably others
© 2018 José María Foces Morán, José María Foces Vivancos
Internet
Subnetwork
4
3
2
1
Network
Transport
Application
10
![Page 11: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/11.jpg)
Internet Architecture
© 2018 José María Foces Morán, José María Foces Vivancos
Internet
Subnetwork
4
3
2
1
Network
Transport
Application
Subnetwork
4
3
2
1
Network
Transport
Application
11
![Page 12: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/12.jpg)
Typical Internet Protocol Stack
© 2018 José María Foces Morán, José María Foces Vivancos
ssh
Ntp
UDPTCP
IP
ICMP
DHCP
Wi-Fi
Ethernet
Bluetooth
http
ARP
Subnetwork · 1
Network · 2
Transport · 3
Application · 4
![Page 13: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/13.jpg)
Implementation of protocols
© 2018 José María Foces Morán, José María Foces Vivancos
TCP module (software)
IP module
IP input buffer (FIFO)
Network Interface Card (NIC)
Process 1 Process 2 Process n
Linux kernel
FIFOs
Transmission media (Copper wires)Frame (signals)
Frame (bits)
Internet Architecture
Subnetwork
4
3
2
1
Network
Transport
Application
![Page 14: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/14.jpg)
Internet Architecture
¨ Defined by IETF (Internet Engineering Task Force)¨ Three main features
¤ Does not imply strict layering. The application is free to bypass the defined transport layers and to directly use IP or other underlying networks
¤ An hour-glass shape – wide at the top, narrow in the middle and wide at the bottom. IP serves as the focal point for the architecture
¤ In order for a new protocol to be officially included in the architecture, there needs to be both a protocol specification and at least one (and preferably two) representative implementations of the specification
14
![Page 15: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/15.jpg)
Protocols offer services
Protocols and their Services
© 2018 José María Foces Morán, José María Foces Vivancos
15
![Page 16: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/16.jpg)
7-layer OSI Architecture
¨ A Reference Model¨ Not used today¨ Layering is strict
Session
Transport
Network
Datalink
Physical
Presentation
Application
OSI host 1
NETWORK
Network
Datalink
Physical
OSI host 2
Session
Transport
Network
Datalink
Physical
Presentation
Application
© 2018 José María Foces Morán, José María Foces Vivancos
16
![Page 17: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/17.jpg)
Description of Layers
¨ Physical Layer
¤ Handles the transmission of raw bits over a communication link
¨ Data Link Layer
¤ Collects a stream of bits into a larger aggregate called a frame
¤ Network adaptor along with device driver in OS implement the protocol in this layer
¤ Frames are actually delivered to hosts
¨ Network Layer
¤ Handles routing among nodes within a packet-switched network
¤ Unit of data exchanged between nodes in this layer is called a packet
The lower three layers are implemented on all network nodes
© 2018 José María Foces Morán, José María Foces Vivancos
OSI Architecture
Session
Transport
Network
Datalink
Physical
Presentation
Application
17
![Page 18: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/18.jpg)
Description of Layers
¨ Transport Layer¤ Implements a process-to-process channel¤ Unit of data exchanges in this layer is called a message
¨ Session Layer¤ Provides a name space that is used to tie together the potentially
different transport streams that are part of a single application
¨ Presentation Layer¤ Concerned about the format of data exchanged between peers
¨ Application Layer¤ Standardize common type of exchanges
The transport layer and the higher layers typically run only on end-hosts and not on the intermediate switches and routers
© 2018 José María Foces Morán, José María Foces Vivancos
OSI Architecture
Session
Transport
Network
Datalink
Physical
Presentation
Application
18
![Page 19: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/19.jpg)
Strict layering in OSI
A layer just uses the servicesprovided by the layer below
¨ The internal mechanisms of eachlayer remain hidden¤ Layer N+1 knows nothing about the internal
mechanisms of layer N
¨ Example:¤ Transport layer can only use the Network layer
© 2018 José María Foces Morán, José María Foces Vivancos
Transport
Datalink
Physical
OSI
Network
Application
Presentation
Session
X
19
![Page 20: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/20.jpg)
Layering in Internet
A layer may use the servicesprovided by any layer below
¨ The internal mechanisms of eachlayer remain hidden¤ Layer N+1 knows nothing about the internal
mechanisms of layer N
¨ Example:¤ An Application protocol may use whichever lower
layer
© 2018 José María Foces Morán, José María Foces Vivancos
Subnetwork
4
3
2
1
Network
Transport
Application
20
![Page 21: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/21.jpg)
Protocol: The foreman of a service
© 2018 José María Foces Morán, José María Foces Vivancos
Layer N + 1
Layer N
1 · Layer N+1 uses a service fromLayer N
A B
Layer N + 1
Layer N
2 · Layer N at host A sets protocol Nin motion to fulfil the servicerequested by N + 1
21
![Page 22: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/22.jpg)
Layer N+1 uses a service at Layer N¨ Layer N
¤ Several services: SVC1, SVC2¤ Each service is accessed through its Service Interface: SIF1, SIF2¤ The protocol N (Host A) fulfils the functionality offered by SVC by
exchanging messages with protocol N at Host B¤ These messages comprise the Peer-to-Peer Interface
© 2018 José María Foces Morán, José María Foces Vivancos
Protocol N
SIF 1
SVC1
SIF 2 SIF 3
SVC2 SVC3
Protocol N + 1
Layer N
Layer N+1
Host A Host B
Protocol N
Protocol N + 1
SIF 1
SVC1
SIF 2 SIF 3
SVC2 SVC3
Peer-to-peerInterface
22
![Page 23: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/23.jpg)
Layer N+1 uses a service at Layer N¨ Example: Host A runs Windows, host B runs Linux¨ Services at each host are exactly the same¨ However, Service Interfaces might be vastly different in each
system¨ The Peer-to-peer interface must be honored by each instance
of Protocol N
© 2018 José María Foces Morán, José María Foces Vivancos
Protocol N
SIF 1
SVC1
SIF 2 SIF 3
SVC2 SVC3
Protocol N + 1
Layer N
Layer N+1
Host A Host B
Protocol N
Protocol N + 1
SIF 1
SVC1
SIF 2 SIF 3
SVC2 SVC3
Peer-to-peerInterface
23
![Page 24: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/24.jpg)
¨ The syntax and the semantics of the messages exchanged by the two peers must follow a formal specification
¨ Normally, we refer to the peer-to-peer interface with the same word: protocol
¨ Protocols of Internet are specified by the IETF¤ RFC: Request For Comments¤ Example: The ICMP protocol is specified in RFC 792
© 2018 José María Foces Morán, José María Foces Vivancos
Peer-to-peer interface
24
![Page 25: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/25.jpg)
Encapsulation and Multiplexing
¨ What information is sent from N+1 to N through the SIF (ServiceInterface)?¤ Protocol N+1 sends a N+1 Data Unit to Protocol N
¤ Protocol N encapsulates the N+1 Data Unit into a fresh N Data Unit:n Payload(N+1) + Header(N)
n This scheme is reproduced at each service use
© 2018 José María Foces Morán, José María Foces Vivancos
Layer N+1 N+1 Data Unit
N Data Unit N+1 Data UnitLayer N
Header Payload
25
![Page 26: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/26.jpg)
Illustration of encapsulation in OSI
Get myfile.txtTransportheader
Networkheader
Datalinkheader
Physicalheader(Preamble)
Internetwork
© 2018 José María Foces Morán, José María Foces Vivancos
![Page 27: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/27.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
![Page 28: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/28.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
![Page 29: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/29.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
![Page 30: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/30.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txtGet myfile.txtPayload
![Page 31: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/31.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txtGet myfile.txtPayload
![Page 32: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/32.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtPayload
![Page 33: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/33.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txt
![Page 34: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/34.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
![Page 35: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/35.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
![Page 36: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/36.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
Get myfile.txt is encapsulated into a Transport Protocol Data Unit (TPDU)=Transport Header + Payload(Get myfile.txt)
Encapsulation at layer 4
![Page 37: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/37.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
Get myfile.txt is encapsulated into a Transport Protocol Data Unit (TPDU)=Transport Header + Payload(Get myfile.txt)
Encapsulation at layer 4
![Page 38: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/38.jpg)
Encapsulation at layer 4Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
Get myfile.txt is encapsulated into a Transport Protocol Data Unit (TPDU)=Transport Header + Payload(Get myfile.txt)
![Page 39: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/39.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
![Page 40: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/40.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
Payload
![Page 41: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/41.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
Payload
![Page 42: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/42.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
Payload
![Page 43: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/43.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
NetworkHeader
![Page 44: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/44.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
NetworkHeader
![Page 45: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/45.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
NetworkHeader
Encapsulation at layer 3
![Page 46: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/46.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
NetworkHeader
Encapsulation at layer 3
![Page 47: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/47.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
NetworkHeader
Payload
![Page 48: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/48.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
NetworkHeader
Payload
![Page 49: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/49.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
NetworkHeader
Payload
![Page 50: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/50.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
NetworkHeader
Payload
![Page 51: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/51.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
NetworkHeader
![Page 52: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/52.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
NetworkHeader
![Page 53: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/53.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
NetworkHeader
DatalinkHeader
![Page 54: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/54.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
NetworkHeader
DatalinkHeader
![Page 55: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/55.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
NetworkHeader
DatalinkHeader
Encapsulation at layer 2
![Page 56: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/56.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
NetworkHeader
DatalinkHeader
Encapsulation at layer 2
![Page 57: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/57.jpg)
Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txtTransport Header
NetworkHeader
DatalinkHeader
Payload
Encapsulation at layer 2
![Page 58: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/58.jpg)
Application
Presentation
Session
Transport
Network
Datalink
PhysicalGet myfile.txtTransport
HeaderNetworkHeader
DatalinkHeader
Payload
![Page 59: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/59.jpg)
Application
Presentation
Session
Transport
Network
Datalink
PhysicalGet myfile.txtTransport Header
NetworkHeader
DatalinkHeader
![Page 60: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/60.jpg)
Application
Presentation
Session
Transport
Network
Datalink
PhysicalGet myfile.txtTransport Header
NetworkHeader
DatalinkHeader
Bit stream to be transmittedover the wire
Physhdr
Preamble(Phys layer
synchronization)
![Page 61: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/61.jpg)
Application
Presentation
Session
Transport
Network
Datalink
PhysicalGet myfile.txtTransport Header
NetworkHeader
DatalinkHeader
Bit stream to be transmittedover the wire
Physhdr
Preamble(Phys layer
synchronization)
![Page 62: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/62.jpg)
Application
Presentation
Session
Transport
Network
Datalink
PhysicalGet myfile.txtTransport Header
NetworkHeader
DatalinkHeader
Bit stream to be transmittedover the wire
Physhdr
Preamble(Phys layer
synchronization)
![Page 63: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/63.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
NetworkHeader
DatalinkHeader
Get myfile.txtTransport Header
Get myfile.txtTransport Header
NetworkHeader
Get myfile.txtTransport Header
NetworkHeader
DatalinkHeader
Bit stream to be transmittedover the wire
Physhdr
Preamble(Phys layer
synchronization)
![Page 64: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/64.jpg)
Get myfile.txt Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Get myfile.txt
Get myfile.txtTransport Header
NetworkHeader
DatalinkHeader
Get myfile.txtTransport Header
Get myfile.txtTransport Header
NetworkHeader
Get myfile.txtTransport Header
NetworkHeader
DatalinkHeader
Bit stream to be transmittedover the wire
Physhdr
Preamble(Phys layer
synchronization)
![Page 65: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/65.jpg)
PhysicalGet myfile.txtTransport Header
NetworkHeader
DatalinkHeader
PhysicalHeader
(Preamble)
![Page 66: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/66.jpg)
PhysicalGet myfile.txtTransport Header
NetworkHeader
DatalinkHeader
PhysicalHeader
(Preamble)
?
![Page 67: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/67.jpg)
PhysicalGet myfile.txtTransport Header
NetworkHeader
DatalinkHeader
PhysicalHeader
(Preamble)
?
![Page 68: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/68.jpg)
De-encapsulation at layer 1 (Supress the preamble)
Application
Presentation
Session
Transport
Network
Datalink
PhysicalGet myfile.txtTransport Header
NetworkHeader
DatalinkHeader
Bit stream received over the wire
T
Physhdr
Preamble(Phys layer
synchronization)
X
![Page 69: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/69.jpg)
De-encapsulation at layer 1 (Supress the preamble)
Application
Presentation
Session
Transport
Network
Datalink
PhysicalGet myfile.txtTransport Header
NetworkHeader
DatalinkHeader
Bit stream received over the wire
T
Physhdr
Preamble(Phys layer
synchronization)
X
![Page 70: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/70.jpg)
Application
Presentation
Session
Transport
Network
Datalink
PhysicalGet myfile.txtTransport Header
NetworkHeader
DatalinkHeader
Bit stream received over the wire
T
![Page 71: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/71.jpg)
Application
Presentation
Session
Transport
Network
Datalink
PhysicalGet myfile.txtTransport
HeaderNetworkHeader
DatalinkHeader
Bit stream received over the wire
T
![Page 72: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/72.jpg)
Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txtTransport Header
NetworkHeader
DatalinkHeader
Bit stream received over the wire
T
![Page 73: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/73.jpg)
De-encapsulation at layer 2Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txtTransport Header
NetworkHeader
DatalinkHeader
Bit stream received over the wire
T
X
![Page 74: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/74.jpg)
Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txtTransport Header
NetworkHeader
Bit stream received over the wire
T
![Page 75: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/75.jpg)
Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txtTransport Header
NetworkHeader
Bit stream received over the wire
T
![Page 76: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/76.jpg)
Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txtTransport Header
NetworkHeader
Bit stream received over the wire
T
![Page 77: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/77.jpg)
Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txtTransport Header
NetworkHeader
Bit stream received over the wire
T
X
De-encapsulation at layer 3
![Page 78: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/78.jpg)
Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txtTransport Header
Bit stream received over the wire
T
![Page 79: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/79.jpg)
Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txtTransport Header
Bit stream received over the wire
T
![Page 80: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/80.jpg)
Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txtTransport Header
Bit stream received over the wire
T
![Page 81: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/81.jpg)
Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txtTransport Header
Bit stream received over the wire
T
X
De-encapsulation at layer 4
![Page 82: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/82.jpg)
Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Bit stream received over the wire
T
![Page 83: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/83.jpg)
Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Bit stream received over the wire
T
![Page 84: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/84.jpg)
Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Bit stream received over the wire
T
![Page 85: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/85.jpg)
Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Bit stream received over the wire
T
![Page 86: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/86.jpg)
Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Bit stream received over the wire
T
![Page 87: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/87.jpg)
Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Bit stream received over the wire
T
![Page 88: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/88.jpg)
Application
Presentation
Session
Transport
Network
Datalink
Physical
Get myfile.txt
Bit stream received over the wire
T
![Page 89: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/89.jpg)
Application
Presentation
Session
Transport
Network
Datalink
PhysicalGet myfile.txtTransport Header
NetworkHeader
DatalinkHeader
Bit stream received over the wire
Get myfile.txt
Get myfile.txtTransport Header
Get myfile.txtTransport Header
NetworkHeader
Get myfile.txtTransport Header
NetworkHeader
DatalinkHeader
T
Get myfile.txt
Get myfile.txt
Physhdr
Preamble(Phys layer
synchronization)
![Page 90: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/90.jpg)
Multiplexing
¨ Transmitter multiplexes several flows by having each layer add its headerwhich contains addressing information
Application
Presentation
Session
Transport
Network
Datalink
Physical Get myfile.txtTransport Header
NetworkHeader
DatalinkHeader
Bit stream received over the wire
Get myfile.txt
Get myfile.txtTransport Header
Get myfile.txtTransport Header
NetworkHeader
Get myfile.txtTransport Header
NetworkHeader
DatalinkHeader
T
Get myfile.txt
Get myfile.txt
PhyshdrGet myfile.txtTransport
HeaderNetworkHeader
DatalinkHeader
Bit stream transmitted over the wire
Get myfile.txt
Get myfile.txtTransport Header
Get myfile.txtTransport Header
NetworkHeader
Get myfile.txtTransport Header
NetworkHeader
DatalinkHeader
Get myfile.txt
Get myfile.txt
Physhdr
Multiplex Demultiplex
90
![Page 91: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/91.jpg)
Demultiplexing
¨ Receiver demultiplexes several flows by having each layer analyze its headerwhich contains addressing information about the upper-layer protocol that is toreceive the payload
Application
Presentation
Session
Transport
Network
Datalink
Physical Get myfile.txtTransport Header
NetworkHeader
DatalinkHeader
Bit stream received over the wire
Get myfile.txt
Get myfile.txtTransport Header
Get myfile.txtTransport Header
NetworkHeader
Get myfile.txtTransport Header
NetworkHeader
DatalinkHeader
T
Get myfile.txt
Get myfile.txt
PhyshdrGet myfile.txtTransport
HeaderNetworkHeader
DatalinkHeader
Bit stream transmitted over the wire
Get myfile.txt
Get myfile.txtTransport Header
Get myfile.txtTransport Header
NetworkHeader
Get myfile.txtTransport Header
NetworkHeader
DatalinkHeader
Get myfile.txt
Get myfile.txt
Physhdr
Multiplex Demultiplex
© 2018 José María Foces Morán, José María Foces Vivancos
91
![Page 92: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/92.jpg)
Computer Networks connect computers; the many more, the better
Connectivity92
![Page 93: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/93.jpg)
Theoretical connectivity
¨ Connectivity is the capacity of connection of a network
¨ If a network has N hosts, its connectivity is: N·(N-1) ≅ N2
¨ Metcalf’s law: The connectivity of a network grows fast as we add more nodes (N2)
Connectivity = 1
Connectivity = 2
Connectivity = 3 x 2 = 6
+ Connectivity = 6 + 6 = 12
Connectivity = 6 x 5 = 30
6 nodes
6 nodes
![Page 94: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/94.jpg)
Theroretical connectivity is bounded by network technology
¨ Metcalf’s law: Represents the potential connectivity of a network
¨ Nodes communicate by sending/receiving messages through the links which bandwidth is limited
¨ Each node must ‘have some knowledge’ about the topology of the network
¨ These factors limit the use of the potential connectivity
Connectivity = 1
Connectivity = 2
Connectivity = 3 x 2 = 6
+ Connectivity = 6 + 6 = 12
Connectivity = 6 x 5 = 30
6 nodes
6 nodes
![Page 95: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/95.jpg)
Scalable connectivity
¨ Not all network technologies use the available connectivity with the same efficiency
¨ Ethernet can function efficiently up to certain network size: we say that Ethernet scales well up to that limit.
¨ Then, how come the Internet has 2000M hosts? How can the Intenet scale to such a huge size so well?¤ IP protocol
![Page 96: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/96.jpg)
Scalable connectivity
![Page 97: Chapter1: Conceptual Basispaloalto.unileon.es/cn/lect/CN-Ch1-2018-Section1.pdf · Cooperating host applications ¨Applications are computer programs ¨Communicate over the Internet](https://reader035.fdocuments.in/reader035/viewer/2022071104/5fde617363336e68611ae674/html5/thumbnails/97.jpg)
End of Ch 1 Section 1
Based on textbook Conceptual Computer Networks by:© 2018 José María Foces Morán, José María Foces Vivancos. All rights reserved97