Chapter 2. The OSI Model and TCP/IP Protocol Suite. PDF created with FinePrint pdffactory Pro trial version

Similar documents
Chapter 6 Delivery and Routing of IP Packets. PDF created with FinePrint pdffactory Pro trial version

CCNA 1 Chapter v5.1 Answers 100%

CCNA 1 Chapter v5.1 Answers 100%

CCNA 1 v5.1 Practice Final Exam Answers %

IT Essentials (ITE v6.0) Chapter 7 Exam Answers 100% 2016

Chapter 5. The Network Layer IP

Transmission Control Protocol Introduction

1. What is a characteristic of Frame Relay that provides more flexibility than a dedicated line?

CCNA 1 Chapter v5.1 Answers 100%

Chapter 4. IP Addresses: Classful Addressing. PDF created with FinePrint pdffactory Pro trial version

Networks: Communicating and Sharing Resources. Chapter 7: Networks: Communicating and Sharing Resources

Telecommunication Protocols Laboratory Course

The transport layer. Transport-layer services. Transport layer runs on top of network layer. In other words,

DATA COMMUNICATIONS. Computer network

(ii). o IP datagram packet is payload of a TCP segment o TCP segment is payload of an IP datagram. (iii).

KNX integration for Project Designer

SafeDispatch SDR Gateway for MOTOROLA TETRA

Communication across the ether

SeaLinx Guide. Table of Contents

On the road again. The network layer. Data and control planes. Router forwarding tables. The network layer data plane. CS242 Computer Networks

Lecture 6 -.NET Remoting

Link-layer switches. Jurassic Park* LANs with backbone hubs are good. LANs with backbone hubs are bad. Hubs, bridges, and switches

Cisco Smart Software Manager satellite

Practical Exercises in Computer Networks and Distributed Systems

2. When logging is used, which severity level indicates that a device is unusable?

Linking network nodes

Muhammad Rizwan Ramay Bc Chichawatni Campus Date 24/7/ Checksums use arithmetic.

Dynamic Storage (ECS)

CCNA Security v2.0 Chapter 3 Exam Answers

INVENTION DISCLOSURE

CCNA 3 Chapter 2 v5.0 Exam Answers 2015 (100%)

2. Which command can be used to view the cable type that is attached to a serial interface?

CCNA course contents:

ARM Programmer s Model

DNS (Domain Name Service)

CCNA 1 Chapter v5.1 Answers 100%

Getting started. Roles of the Wireless Palette and the Access Point Setup Utilities

BMC Remedyforce Integration with Remote Support

BMC Remedyforce Integration with Bomgar Remote Support

Second Assignment Tutorial lecture

Gemini Intercom Quick Start Guide

Admin Report Kit for Exchange Server

Troubleshooting of network problems is find and solve with the help of hardware and software is called troubleshooting tools.

Simple Object Access Protocol (SOAP)

ROCK-POND REPORTING 2.1

Software Defined Networking and OpenFlow. Jeffrey Dalla Tezza and Nate Schloss

Lecture Handout. Database Management System. Overview of Lecture. Vertical Partitioning. Lecture No. 24

Infrastructure Series

ITE310 Computer Networks

Data Link Layer 10/28/2013. Data Link Layer. Adaptors Communicating. Data Link Layer. Session Transport Network Data Link Physical

Firmware Download Anybus X-gateway Modbus-TCP

Rapid Implementation Package

CCNA 1 Chapter 1 v5.03 Exam Answers 2016

Network programming 14/01/2013. Introduction. Session objectives. Client/Server working model. Advanced Java Programming Course

Frequently Asked Questions

Telkom VPN-Lite router setup User Manual Billion 800VGT

INSTALLING CCRQINVOICE

1. The first section examines common performance bottlenecks that need to be considered.

Release Notes System Software

ELEC5509 Mobile Networks

HP OpenView Performance Insight Report Pack for Quality Assurance

Xilinx Answer Xilinx PCI Express DMA Drivers and Software Guide

These tasks can now be performed by a special program called FTP clients.

ELEC5509 Mobile Networks

App Orchestration 2.6

Max 8/16 and T1/E1 Gateway, Version FAQs

2. What is the most cost-effective method of solving interface congestion that is caused by a high level of traffic between two switches?

Cisco Nexus Data Broker Embedded: Implementation Quick- Start Guide

USER MANUAL. RoomWizard Administrative Console

Application Note. Digi Connect Wi-SP Troubleshooting Guide. Digi Technical Support 10 May 2016

United States Patent [w]

VMware AirWatch Certificate Authentication for Cisco IPSec VPN

2. When an EIGRP-enabled router uses a password to accept routes from other EIGRP-enabled routers, which mechanism is used?

LIN101 RS232 / LAN INTERFACE

HW4 Software version 3. Device Manager and Data Logging LOG-RC Series Data Loggers

OASIS SUBMISSIONS FOR FLORIDA: SYSTEM FUNCTIONS

Cntents 1 Intrductin Kit Cntents Requirements Installatin Gesture Sensr Kit Hardware and Jumper Settings De

Frequently Asked Questions

Knowledge Exchange (KE) System Cyber Security Plan

Extended Traceability Report for Enterprise Architect

softpanel generic installation and operation instructions for nanobox products

When you first login, if the display is in Chinese, select English (lowermost choice) from the pull down menu located at the top right of the window.

Moving packets. Moving datagrams. Suppose host A want to send IP to host B. Host A wants to send to host E. Generalized forwarding and SDN

IPv4. IPv4 (Review) PROTOCOL ADDRESSING DEPLOYMENT MOBILITY. Connectionless Best effort delivery Transport independent

Custodial Integrator. Release Notes. Version 3.11 (TLM)

Operational Security. Speaking Frankly The Internet is not a very safe place. A sense of false security... Firewalls*

Sparkplug Specification

Position Statement for Multimodal Workshop

Summary. Server environment: Subversion 1.4.6

Installation and Getting Started

REST; WebSocket (RFC 6455)

Overview of Data Furnisher Batch Processing

WLAN Interoperability Testing with Expert Analysis

HP ProLiant Essentials Intelligent Networking Pack Windows Edition User Guide

DELL EMC VxRAIL vcenter SERVER PLANNING GUIDE

CS-461 Internetworking. Dr. Mohamed Aboutabl

IEEE C802.16g-05/025r2

Log shipping is a HA option. Log shipping ensures that log backups from Primary are

Please contact technical support if you have questions about the directory that your organization uses for user management.

Exosoft Backup Manager

Transcription:

Chapter 2 The OSI Mdel and TCP/IP Prtcl Suite PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Outline THE OSI MODEL LAYERS IN THE OSI MODEL TCP/IP PROTOCOL SUITE ADDRESSING TCP/IP VERSIONS PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

2.1 THE OSI MODEL The McGraw-Hill Cmpanies, Inc., 2000 PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Figure 2-1 OSI Mdel The McGraw-Hill Cmpanies, Inc., 2000 PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Layered Architecture Within a single machine Each layer calls upn the services f the layer just belw it Fr example, layer 3 uses the services prvided by layer 2 and prvides services fr layer 4 PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Layered Architecture (Cnt.) Between machines Layer x n ne machine cmmunicates with layer x n anther machine This cmmunicatin is gverned by a series f rules and cnventins called prtcls PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Layered Architecture (Cnt.) As the message travels frm A t B, it may pass thrugh intermediate ndes These intermediate ndes usually invlve nly the first three layers f the OSI mdel As shwn in the next slide PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Figure 2-2 OSI Layers The McGraw-Hill Cmpanies, Inc., 2000 PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Peer-t-Peer Prcesses The prcesses n each machine that cmmunicate at a given layer are called peer-t-peer prcesses Each layer in the sending device added its wn infrmatin t the message it receives frm the layer just abve it At the receiving machine, the message is unwrapped layer by layer PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Headers are added t the data at layers 6, 5, 4, 3, and 2. Trailers are usually added nly at layer 2. PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm The McGraw-Hill Cmpanies, Inc., 2000

Figure 2-3 An Exchange Using the OSI Mdel PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm The McGraw-Hill Cmpanies, Inc., 2000

2.2 LAYERS IN THE OSI MODEL The McGraw-Hill Cmpanies, Inc., 2000 PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Figure 2-4 Physical Layer The McGraw-Hill Cmpanies, Inc., 2000 PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Physical Layer Physical characteristics f interface and media Interface between the devices and transmissin media The type f transmissin media Representatin f bits Define the type f encding (hw 0s and 1s are changed t signals) PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Physical Layer (Cnt.) Data rate The number f bits sent each secnd Synchrnizatin f bits The sender and receiver must nt nly use the same bit rate but must als be synchrnized at the bit level PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Physical Layer (Cnt.) Line cnfiguratin Be cncerned with the cnnectin f devices t the media Pint-t-pint cnfiguratin Tw devices are cnnected thrugh a dedicated link Multipint cnfiguratin A link is shared between several devices Physical tplgy Define hw devices are cnnected t make a netwrk Fr example, mesh, star, ring, r bus tplgy PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Physical Layer (Cnt.) Transmissin mde Define the directin f transmissin between tw devices Simple mde nly ne device can send Half-duplex mde tw devices can send and receive but nt at the same time Full-duplex mde Tw devices can send and receive at the same time PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Data Link Layer Transfrm the physical layer t a reliable link Make the physical layer appear errr free t the upper layer PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Figure 2-5 Data Link Layer The McGraw-Hill Cmpanies, Inc., 2000 PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Data Link Layer Framing Divide the stream f bits int frames Physical addressing nly ne hp Flw cntrl Errr cntrl Detect and retransmit damaged r lst frames Prevent duplicatin f frames PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Data Link Layer (Cnt.) Access cntrl Determine which device has cntrl ver the link at any given time PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Figure 2-6 Nde-t-Nde (Hp-t-Hp) Delivery PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm The McGraw-Hill Cmpanies, Inc., 2000

Netwrk Layer Be respnsible fr the surce-t-destinatin delivery f a packet pssibly acrss multiple netwrks (links) Data link layer take care f the delivery f the packet between tw systems n the same netwrk (links) Netwrk layer ensures the delivery f a packet frm its pint f rigin t it final destinatin PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Figure 2-7 Netwrk Layer The McGraw-Hill Cmpanies, Inc., 2000 PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Netwrk Layer Lgical addressing Physical addressing in the data link layer handles the addressing prblem lcally If a packet pass the netwrk bundary Ruting We need anther addressing system t distinguish the surce and destinatin systems PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Figure 2-8 End-t-End Delivery by the Netwrk Layer PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm The McGraw-Hill Cmpanies, Inc., 2000

Transprt Layer Be respnsible fr surce-t-destinatin (endt-end) delivery f the entire message Netwrk layer nly versees the end-t-end delivery f individual packets Oversee bth errr cntrl and flw cntrl at the surce-t-destinatin level PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Figure 2-9 Transprt Layer The McGraw-Hill Cmpanies, Inc., 2000 PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Transprt Layer Service-pint addressing Service-pint address: prt address The netwrk layer gets each packet t the crrect cmputer The transprt layer gets the entire message t the crrect prcess n that cmputer Segmentatin and reassembly PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Transprt Layer (Cnt.) Cnnectin cntrl Cnnectinless Cnnectin-riented Flw cntrl End t end flw cntrl The flw cntrl, hwever, at the data link layer is acrss a single link PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Transprt Layer (Cnt.) Errr cntrl End t end errr cntrl that makes sure that the entire message arrives withut errr (damage, lss, r duplicatin) Errr crrectin is usually achieved thrugh retransmissin The errr cntrl, hwever, at the data link layer is acrss a single link and applies t a single frame PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Figure 2-10 Reliable End-t-End Delivery f a Message end-t-end delivery by the transprt layer PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm The McGraw-Hill Cmpanies, Inc., 2000

Sessin Layer Sessin layer is the netwrk dialg cntrller It establishes, maintains, and synchrnizes the interactin between cmmunicatin systems PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Figure 2-11 Sessin Layer The McGraw-Hill Cmpanies, Inc., 2000 PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Sessin Layer Dialg cntrl Allw tw systems t enter a dialg Allw the cmmunicatin between tw prcesses in Half-duplex Full-duplex Synchrnizatin Allw a prcess t add checkpints (synchrnizatin pints) int a stream f data PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Presentatin Layer Be cncerned with the syntax and semantics f the infrmatin exchanged between tw systems PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Figure 2-12 Presentatin Layer The McGraw-Hill Cmpanies, Inc., 2000 PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Presentatin Layer Translatin Different cmputers use different encding systems The presentatin layer is respnsible fr interperability between these different encding methds Encryptin Cmpressin PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Applicatin Layer The applicatin layer enables the user, whether human r sftware, t access the netwrk PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Figure 2-13 Applicatin Layer The McGraw-Hill Cmpanies, Inc., 2000 PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Applicatin Layer Specific services prvided by the applicatin layer Netwrk virtual terminal File transfer, access, and management (FTAM) Mail services Directry services PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Figure 2-14 Summary f Layers PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm The McGraw-Hill Cmpanies, Inc., 2000

2.3 TCP/IP PROTOCOL SUITE PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

TCP/IP Prtcl Suite TCP/IP prtcl suite was develped prir t the OSI mdel and is made f five layers Physical, data link, netwrk, transprt, and applicatin layers The first fur layers crrespnd t the first fur layer f the OSI mdel PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

TCP/IP Prtcl Suite The three tpmst layers is OSI mdel are represented in TCP by a single layer called the applicatin layer PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Figure 2-15 TCP/IP and OSI Mdel PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm The McGraw-Hill Cmpanies, Inc., 2000

Physical and Data Link Layers TCP/IP des nt define any specific prtcl TCP/IP supprts all f the standard and prprietary prtcls PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Netwrk Layer Internetwrking Prtcls (IP) Fur supprting prtcls ARP RARP ICMP IGMP PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Internetwrking Prtcl (IP) The packets in IP are called datagrams Unreliable and cnnectinless datagram prtcl Best-effrt delivery services Prvide n errr checking r tracking PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Address Reslutin Prtcl (ARP) Assciate an IP address with the physical address Data in LAN are transmitted by the physical address PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Reverse Address Reslutin Prtcl (RARP) Discver a hst s internet address via its physical address Used when A cmputer is first cnnected t the netwrk When a diskless cmputer is bted PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Internet Cntrl Message Prtcl (ICMP) A mechanism used t send ntificatin f datagram prblems back t the sender ICMP sends query and errr reprting messages PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Internet Grup Message Prtcl (IGMP) Facilitate the simultaneus transmissin f a message t a grup f recipients PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Transprt Layer TCP/UDP A prcess-t-prcess prtcl IP A hst-t-hst prtcl PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

User Datagram Prtcl (UDP) Add nly Prt numbers Checksum errr cntrl length PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Transmissin Cntrl Prtcl (TCP) Reliable cnnectin-riented prtcl PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

2.4 ADDRESSING PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm The McGraw-Hill Cmpanies, Inc., 2000

Figure 2-16 Addresses in TCP/IP The McGraw-Hill Cmpanies, Inc., 2000 PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Figure 2-17 RelatinshipfLayers andaddressesin TCP/IP PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm The McGraw-Hill Cmpanies, Inc., 2000

Physical Address Als called link address, the address f a nde as defined by its LAN r WAN Ethernet: 6 byte LcalTalk: 1 byte Physical address can be either Unicast address Multicast address Bradcast address PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Example 1 Figure 2.18 shws an example f physical addresses. PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm The McGraw-Hill Cmpanies, Inc., 2000

Figure 2-18 Physical Addresses PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm The McGraw-Hill Cmpanies, Inc., 2000

Example 2 Mst lcal area netwrks use a 48-bit (6 bytes) physical address written as 12 hexadecimal digits, with every 2 bytes separated by a hyphen as shwn belw: 07-01-02-01-2C-4B A 6-byte (12 hexadecimal digits) physical address PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm The McGraw-Hill Cmpanies, Inc., 2000

Internet Address Prvide universal cmmunicatin services that are independent f underlying physical netwrk Different netwrks can have different address frmat A universal addressing system is thus needed Internet address can als be either in unicast, multicast and bradcast 4 bytes lng in IPv4 PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Example 3 Next slide shws an example f Internet addresses. Netwrk address A and physical address 10 => send data t => Netwrk address P and physical address 95 IP address des nt change alng the trip Hwever, physical address changes frm netwrk t netwrk PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm The McGraw-Hill Cmpanies, Inc., 2000

Figure 2-19 IP Addresses The McGraw-Hill Cmpanies, Inc., 2000 PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Example 4 As we will see in Chapter 4, an Internet address (in IPv4) is 32 bits in length, nrmally written as fur decimal numbers, with each number representing 1 byte. The numbers are separated by a dt. Belw is an example f such an address. 132.24.75.9 PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm The McGraw-Hill Cmpanies, Inc., 2000

Prt Address A label assigns t a prcess 16 bits lng PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Example 5 Next slide shws an example f transprt layer cmmunicatin. Prcess with prt address j send data t anther prcess with prt address k The McGraw-Hill Cmpanies, Inc., 2000 PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Figure 2-20 Prt Addresses The McGraw-Hill Cmpanies, Inc., 2000 PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Example 6 As we will see in Chapters 11 and 12, a prt address is a 16-bit address represented by ne decimal number as shwn belw. 753 A 16-bit prt address PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm The McGraw-Hill Cmpanies, Inc., 2000

2.5 TCP/IP VERSIONS The McGraw-Hill Cmpanies, Inc., 2000 PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm

Versin Versin 4 What we current used Versin 5 Only a prpsal Based n the OSI mdel Versin 6 Als called IPng (IP next generatin) PDF created with FinePrint pdffactry Pr trial versin www.pdffactry.cm