Chapter 3 Protocols and the TCP/IP Suite - Networ-based...
Transcript of Chapter 3 Protocols and the TCP/IP Suite - Networ-based...
![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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/1.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/2.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/3.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/4.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/5.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/6.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/7.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/8.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/9.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/10.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/11.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/12.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/13.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/14.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/15.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/16.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/17.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/18.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/19.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/20.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/21.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/22.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/23.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/24.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/25.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/26.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/27.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/28.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/29.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/30.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051602/5b0b94137f8b9a61448cf9d9/html5/thumbnails/31.jpg)
31