computer communications the exchange of information between computers for the purpose of cooperative...

35

Upload: lesley-johns

Post on 23-Dec-2015

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected
Page 2: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

Chapter 8TCP/IP

Page 3: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

The Need for a Protocol Architecture

Page 4: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

Protocol

A set of rules governing the exchange of data between two entitiesKey elements:

SyntaxIncludes such things as data format and signal levels

SemanticsIncludes control information for coordination and error handling

Timing Includes speed matching and sequencing

Page 5: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

Protocol Architecture

Page 6: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

Three-Layer Model

Distributed data communications involves three primary components:

NetworksComputersApplications

Three corresponding layersNetwork access layerTransport layerApplication layer

Page 7: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

Network Access Layer

Page 8: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

Transport Layer

Page 9: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

Application Layer

Page 10: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

Protocol Architectures

Page 11: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

Protocols in a

Simplified Architecture

Page 12: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

Standardized Protocol Architectures

Page 13: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

TCP/IP Architecture

Result of protocol research and development conducted on the experimental packet-switched network, ARPANET

Protocol suite consists of a large collection of protocols that have been issued as Internet standards by the Internet Activities Board (IAB)

No official TCP/IP model

Organized into five relatively independent layers:

Application layerHost-to-host, or transport layerInternet layerNetwork access layerPhysical layer

Page 14: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

TCP/IP Layers

Page 15: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

TCP/IP Concepts

Page 16: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

PDUs in the TCP/IP Architecture

Page 17: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

TCP and UDP

Page 18: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

TCP and UDP

Headers

Page 19: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

IP Headers

Page 20: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

TCP/IP ApplicationsSMTP (Simple Mail Transfer Protocol)

Supports a basic electronic mail facility by providing a mechanism for transferring messages among separate hostsFeatures include mailing lists, return receipts, and forwarding

FTP (File Transfer Protocol)Sends files from one system to another on user commandBoth text and binary files are accommodated

SSH (Secure Shell)Provides a secure remote login capability which enables a user at a terminal or personal computer to logon to a remote computer and function as if directly connected to that computer

Page 21: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

TCP/IP Applications

HTTP (HyperText Transfer Protocol)Connects client systems to Web servers on the InternetIts primary function is to establish a connection with the server and send HTML pages back to the user’s browser

SNMP (Simple Network Management Protocol)A widely used network monitoring and control protocol

Page 22: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

Protocols in the TCP/IP Protocol Suite

Page 23: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

Table 8.1

InternetworkingTerms

(This table is located on page 222 in the text)

Page 24: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

Routers

Equipment used to interconnect independent networksEssential functions:

Provide a link between networksProvide for the routing and delivery of data between end systems attached to different networksProvide these functions without requiring modifications of the networking architecture of any of the attached networks

Page 25: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

Router IssuesThe router must accommodate a number of differences among networks:

Addressing schemesNetworks may use different schemes for assigning addresses to devices

Maximum packet sizePackets from one network may have to be broken into smaller pieces to be transmitted on another network (fragmentation)

InterfacesThe hardware and software interfaces to various networks differ

ReliabilityOperations should not depend on an assumption of network reliability

Page 26: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

Internetworking Example

Page 27: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

Operation of TCP/IP:

Action at Sender

(Figure is on page 225 in text)

Page 28: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

Operation of

TCP/IP:

Action at Router

(Figure is on page 226 in text)

Page 29: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

Operation of

TCP/IP:

Action at

Receiver

(Figure is on page 227 in text)

Page 30: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

Virtual Private Network (VPN)

Page 31: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

IP Security (IPsec)Provides the capability to secure communications across a LAN, across private and public WANs, and across the InternetExamples of its use include:

Secure branch office connectivity over the InternetSecure remote access over the InternetEstablishing extranet and intranet connectivity with partnersEnhancing electronic commerce security

Principal feature is that it can encrypt and/or authenticate all traffic at the IP level

Thus, all distributed applications, including remote logon, client/server, e-mail, file transfer, and Web access can be secured

Page 32: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

An IP

Security Scenario

Page 33: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

Benefits of IPsec

Page 34: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

IPsec Functions

IPsec provides three main facilities:An authentication-only function referred to as Authentication Header (AH)A combined authentication/encryption function called Encapsulating Security Payload (ESP)A key exchange function

Page 35: Computer communications The exchange of information between computers for the purpose of cooperative action Computer network Two or more computers interconnected

Summary A simple protocol architecture

The need for a protocol architecture

Three-layer model

Standardized protocol architectures

Virtual private networks and IP security

IPsec

Applications of IPsec

Benefits of IPsec

IPsec functions

Chapter 8: TCP/IP

Internetworking Routers

The TCP/IP architecture TCP/IP layers Operation of TCP/IP TCP and UDP IP and IPv6 TCP/IP applications Protocol interfaces