30
Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)

Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)

Embed Size (px)

Citation preview

Page 1: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)

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)

Network SoftwareProtocol Hierarchies

a) Layers, protocols, and interfaces.

Page 3: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)

Protocol Hierarchies (2)

a) The philosopher-translator-secretary architecture.

Page 4: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)

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)

Reference Models

The OSI reference model.

Page 6: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)

Reference Models (2)

a) The TCP/IP reference model.

Page 7: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)

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)

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)

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)

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)

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)

(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)

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)

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)

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)

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)

The TCP Segment Header

TCP Header.

Page 18: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)

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)

TCP Transmission Policy

Window management in TCP.

Page 20: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)

TCP Transmission Policy (2)

Silly window syndrome.

Page 21: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)

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)

Connection Release

Abrupt disconnection with loss of data.

Page 23: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)

Connection Release (2)

The two-army problem.

Page 24: Layers (from Tanenabaum: “Computer Networks” Chapter 1) and The TCP Layer (Chaper 6)

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)

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)

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)

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)

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)

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)

Fast TPDU Processing

The fast path from sender to receiver is shown with a heavy line.The processing steps on this path are shaded.