chapter 3 protocols and the tcp/ip suite - networ-based...

31
Chapter 3 Protocols and the TCP/IP Suite

Upload: vodan

Post on 28-May-2018

229 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

Chapter 3Protocols and the TCP/IP Suite

Page 2: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

2

3.1 The Need for a Protocol Architecture

need for a standard communication tasks by layers architecture peer protocol: a set of rules or conventions to

exchange data syntax semantics timing

Page 3: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

3

3.2 TCP/IP Protocol Architecture

architecture for ARPANET packet switching network funded by DARPA Internet standards by Internet Activities

Board (IAB)

Page 4: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

4

TCP/IP Layers three agents of communication

applications: distributed applications, e.g., e-mail and file transfer

computers: supports multiple applications at a time

networks

Page 5: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

5

communication tasks organized into five layers physical layer network access layer internet layer host-to-host (or transport) layer application layer

physical layer physical interface between computer and

network

Page 6: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

6

network access layer data exchange between a computer (end

system) and the network from source to destination computer within

a network requires destination address and possibly

priority internet layer

transfer of data over multiple interconnected networks

routing across multiple networks internet protocol (IP)

Page 7: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

7

host-to-host or transport layer independent of the network type and the

application type collection of functions for reliable data exchange assurance of delivery, correctness, and correct

order transmission control protocol (TCP)

application layer to support the various user applications a separate module needed for each different

type of application

Page 8: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

8

Operations of TCP and IP network comprised of subnetworks

network access protocol: sending data within a subnetwork or to routers

IP: moving data to a destination via routers TCP: reliable data transfer from source to

destination

two levels of addressing

Page 9: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

9

Page 10: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

10

TCP segment segmented user data + control information

(TCP header: port, sequence number, checksum)

IP datagram TCP segment + control information (IP header:

host address) packet or frame

IP datagram + control information (network header: subnetwork address, priority)

Page 11: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

11

router stripping network header checking destination host address sending it as another datagram

Page 12: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

12

TCP/IP Applications simple mail transfer protocol (SMTP) file transfer protocol (FTP)

two connections: control and data transfer control connection for user access

TELNET remote logon

Page 13: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

13

3.3 The OSI Model

International Standardization Organization (ISO) Open Systems Interconnection (OSI)

reference model open denotes the ability of connecting two

systems conforming to the standards

Overall Architecture layering issues of layering

Page 14: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

14

Page 15: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

15

Page 16: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

16

Page 17: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

17

OSI model as a framework for standardization

TCP/IP as a de facto standard

Page 18: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

18

Physical Layer: physical interface between devices and

the rules for passing bits from one to another RS-232-C

Data Link Layer: make the physical link reliable

provide means to activate, maintain, and deactivate the link

error detection and control HDLC (High-level Data Link Control)

Page 19: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

19

Network Layer: transfer of information between end

systems across some type of network relieving higher layers of the need to know

what types of switching and data transmission are used

specification of destination address and request for network facilities such as priority

Page 20: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

20

a direct point-to-point link between stations

stations connected across a single network such as a circuit-switching or packet-switching network

X.25 covering the lower three layers

Page 21: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

21

Page 22: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

22

Transport Layer: reliable information exchange between

end systems error-free, in sequence, no loss, no

duplication duplication of layer 2

size and complexity depends on the type of the layer 3

Page 23: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

23

Session Layer: controlling dialogue between two end

systems little or no need for session layer service in

many cases dialogue discipline

Page 24: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

24

Presentation Layer: define the format of the data to be

exchanged data compression data encryption

Application Layer: provide means for applications to

access the OSI environment management functions support for distributed applications general-purpose applications

Page 25: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

25

3.4 Internetworking

internet

interconnected set of different subnetworks

the Internet

intranet

end system (ES)

intermediate system (IS)

bridge: interconnection at OSI layer 2

router: interconnection at OSI layer 3

Page 26: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

26

Page 27: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

27

Page 28: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

28

Page 29: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

29

Page 30: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

30

Page 31: Chapter 3 Protocols and the TCP/IP Suite - Networ-based …164.125.190.48/lecture/networking_1/Chapter 3.pdf ·  · 2010-02-163.2 TCP/IP Protocol Architecture ... (TCP) application

31