layers (from tanenabaum: “computer networks” chapter 1) and the tcp layer (chaper 6)
DESCRIPTION
Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6). Network Software Protocol Hierarchies. Layers, protocols, and interfaces. Protocol Hierarchies (2). The philosopher-translator-secretary architecture. Protocol Hierarchies (3). - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/1.jpg)
Layers (from Tanenabaum:
“Computer Networks”
Chapter 1) andThe TCP Layer
(Chaper 6)
![Page 2: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/2.jpg)
Network SoftwareProtocol Hierarchies
a) Layers, protocols, and interfaces.
![Page 3: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/3.jpg)
Protocol Hierarchies (2)
a) The philosopher-translator-secretary architecture.
![Page 4: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/4.jpg)
Protocol Hierarchies (3)
a) Example information flow supporting virtual communication in layer 5.
![Page 5: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/5.jpg)
Reference Models
The OSI reference model.
![Page 6: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/6.jpg)
Reference Models (2)
a) The TCP/IP reference model.
![Page 7: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/7.jpg)
Reference Models (3)
a) Protocols and networks in the TCP/IP model initially.
![Page 8: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/8.jpg)
Services to Protocols Relationship
a) The relationship between a service and a protocol.
![Page 9: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/9.jpg)
Transport (TCP) Services Provided to the Upper Layers
A
BC
D
E
F
![Page 10: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/10.jpg)
Connection-Oriented and Connectionless Services
a) Six different types of service.
![Page 11: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/11.jpg)
Service Primitives (2)
a) Packets sent in a simple (or complex) client-server interaction
on a connection-oriented network.
![Page 12: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/12.jpg)
(Reminder: Berkeley Sockets:) Transport Connection Primitives
The socket primitives for TCP.
![Page 13: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/13.jpg)
Socket Programming
Example:Internet File
Server
Client code using sockets.
6-6-1
![Page 14: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/14.jpg)
Socket Programming
Example:Internet File Server (2)
Client code using sockets.
![Page 15: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/15.jpg)
Reminder: headers added by layers
The nesting of TPDUs, packets, and frames.
![Page 16: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/16.jpg)
The TCP Service Model (2)
(a) Four 512-byte segments sent as separate IP datagrams.(b) The 2048 bytes of data delivered to the application in a single READ
CALL.
![Page 17: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/17.jpg)
The TCP Segment Header
TCP Header.
![Page 18: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/18.jpg)
The TCP Segment Header (2)
The pseudoheader included in the TCP checksum.
![Page 19: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/19.jpg)
TCP Transmission Policy
Window management in TCP.
![Page 20: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/20.jpg)
TCP Transmission Policy (2)
Silly window syndrome.
![Page 21: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/21.jpg)
TCP Connection Establishment
(a) TCP connection establishment in the normal case.(b) Call collision.
6-31
![Page 22: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/22.jpg)
Connection Release
Abrupt disconnection with loss of data.
![Page 23: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/23.jpg)
Connection Release (2)
The two-army problem.
![Page 24: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/24.jpg)
Connection Release (3)
Four protocol scenarios for releasing a connection. (a) Normal case of a three-way handshake. (b) final ACK lost.
6-14, a, b
![Page 25: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/25.jpg)
Connection Release (4)
(c) Response lost. (d) Response lost and subsequent DRs lost.
6-14, c,d
![Page 26: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/26.jpg)
TCP Congestion Control
(a) A fast network feeding a low capacity receiver.(b) A slow network feeding a high-capacity receiver.
![Page 27: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/27.jpg)
TCP Timer Management
(a) Probability density of ACK arrival times in the data link layer. (b) Probability density of ACK arrival times for TCP.
![Page 28: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/28.jpg)
Wireless TCP and UDP
Splitting a TCP connection into two connections.
![Page 29: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/29.jpg)
Performance Problems in Computer Networks
The state of transmitting one megabit from San Diego to Boston(a) At t = 0, (b) After 500 μsec, (c) After 20 msec, (d) after 40 msec.
![Page 30: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815e0d550346895dcc6bfa/html5/thumbnails/30.jpg)
Fast TPDU Processing
The fast path from sender to receiver is shown with a heavy line.The processing steps on this path are shaded.