31
Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

Embed Size (px)

Citation preview

Page 1: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

Lect1..ppt - 01/06/05

CDA 6505 Network Architecture

and Client/Server Computing

Lecture 2

Protocols and the TCP/IP Suite

byZornitza Genova Prodanoff

Page 2: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP002

Outline

•Introduction•Layered Protocol Architecture•Key Features of a Protocol•TCP/IP Layers•TCP and UDP •Operation of TCP and IP•Internetworking Terms •Routers

Page 3: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP003

Introduction

• Layered protocol architecture• TCP/IP protocol suite• OSI reference model• Internetworking

Page 4: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP004

The Need for a Protocol Architecture

• Procedures to exchange data between devices can be complex

• High degree of cooperation required between communicating systems

Page 5: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP005

Example: File transfer

• Requires a data path to exist• Tasks:

– Activate data communication path– Source determines that destination is ready– File transfer app destination file management

app is ready store file for user– File format conversion

Page 6: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP006

Layered Protocol Architecture

• Modules arranged in a vertical stack• Each layer in stack:

– Performs related functions– Relies on lower layer for more primitive

functions– Provides services to next higher layer– Communicates with corresponding peer layer

of neighboring system using a protocol

Page 7: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP007

Key Features of a Protocol

• Set of rules or conventions to exchange blocks of formatted data

• Syntax: data format• Semantics: control information (coordination,

error handling)• Timing: speed matching, sequencing

Page 8: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP008

TCP/IP Layers

• Physical• Network access• Internet• Transport Application

Page 9: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP009

TCP and UDP

• TCP: – connection-oriented– Reliable packet delivery in sequence

• UDP:– connectionless (datagram)– Unreliable packet delivery– Packets may arrive out of sequence or

duplicated

Page 10: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0010

Page 11: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0011

Page 12: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0012

Page 13: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0013

Operation of TCP and IP

• IP implemented in end systems and routers, relaying data between hosts

• TCP implemented only in end systems, assuring reliable delivery of blocks of data

• Each host on subnetwork has unique IP address• Each process on each process has unique IP port

number

Page 14: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0014

Page 15: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0015

Page 16: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0016

TCP Applications

• SMTP: Simple Mail Transfer Protocol• FTP: File Transfer Protocol• telnet: remote login

Page 17: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0017

Page 18: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0018

Ethernet Example: Network Interface Card

Page 19: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0019

Ethernet Example: Network Interface Card

RJ-45 connector

AUI connector (Thicknet)

Thinnet connector

Page 20: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0020

Ethernet LAN Example:Attachment Unit Interface and Media Access Unit

Page 21: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0021

Ethernet LAN Example: Computers in a Bus Topology

Page 22: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0022

Ethernet LAN Example: Computers in a Star Topology

Page 23: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0023

Ethernet LAN Example: Computers in a Ring Topology

Page 24: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0024

OSI Reference Model

• Application• Presentation• Session• Transport• Network• Data link• Physical

Page 25: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0025

Page 26: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0026

Internetworking Terms

• Communication network• Internet• Intranet• Subnetwork• End system• Intermediate system• Bridge• Router

Page 27: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0027

Routers

• Provide link between networks• Accommodate network differences:

– Addressing schemes– Maximum packet sizes– Hardware and software interfaces– Network reliability

Page 28: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0028

Page 29: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0029

Page 30: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0030

Page 31: Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff

ZGP0031