44
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA Exploration1 Chapter 2: Communicating over the Network LOCAL CISCO ACADEMY ELSYS TU INSTRUCTOR: STELA STEFANOVA PDF created with pdfFactory Pro trial version www.pdffactory.com

CCNA Exploration1 Chapter 2: Communicating over the Network · PDF fileCommunicating over the Network LOCAL CISCO ACADEMY ELSYS TU INSTRUCTOR: STELA STEFANOVA PDF created with pdfFactory

Embed Size (px)

Citation preview

1© 2004, Cisco Systems, Inc. All rights reserved.

CCNA Exploration1 Chapter 2: Communicating over the Network

LOCAL CISCO ACADEMY ELSYS TUINSTRUCTOR: STELA STEFANOVA

PDF created with pdfFactory Pro trial version www.pdffactory.com

222© 2004, Cisco Systems, Inc. All rights reserved.

Objectives

• Describe the structure of a network, including the devices and media that are necessary for successful communications;

• Explain the function of protocols in network communications;

• Explain the advantages of using a layered modelto describe network functionality;

• Describe the role of each layer in two recognized network models: The TCP/IP model and the OSImodel;

• Describe the importance of addressing and naming schemes in network communications.

PDF created with pdfFactory Pro trial version www.pdffactory.com

333© 2004, Cisco Systems, Inc. All rights reserved.

Elements of Communication

Common elements of communication:

Message source (sender)• people, or electronic devices, that need to send a message to other individuals or devices.Message destination (receiver)• the destination receives the message and interprets it. Channel• consists of the media that provides the pathwayover which the message can travel from source to destination.

PDF created with pdfFactory Pro trial version www.pdffactory.com

444© 2004, Cisco Systems, Inc. All rights reserved.

Elements of CommunicationNetwork• data or information networks capable of carrying many different types of communications:

- traditional computer data;- interactive voice;- video;- entertainment products.

PDF created with pdfFactory Pro trial version www.pdffactory.com

555© 2004, Cisco Systems, Inc. All rights reserved.

Message Segmentation and Multiplexing

Messages communication- data is sent across a network in

small “chunks” called segments

Segmentation• An approach to divide the data

into smaller, more manageablepieces to send over the network.

Segmentation benefits:• by sending smaller individual

pieces from source to destination, many differentconversations can beinterleaved on the network;

• segmentation can increase the reliability of network communications;

Multiplexing• process used to interleave the

pieces of separateconversations together on the network.

PDF created with pdfFactory Pro trial version www.pdffactory.com

666© 2004, Cisco Systems, Inc. All rights reserved.

Message Segmentation and MultiplexingMultiplexing

Each segment of the message must go through a similar process to ensure that it getsto the correct destination and can be reassembled into the content of the original message

PDF created with pdfFactory Pro trial version www.pdffactory.com

777© 2004, Cisco Systems, Inc. All rights reserved.

Network Components

Devices and media:• are the physical elements or hardware of the network.Hardware:• is the visible components of the network platform

- a laptop, a PC, a switch, or the cabling; • some components may not be so visible - wireless

media (using invisible radio frequency or infrared waves).

Network components – hardware, software

PDF created with pdfFactory Pro trial version www.pdffactory.com

888© 2004, Cisco Systems, Inc. All rights reserved.

Network Components

Services and processes:• are the communication programs, called software,

that run on the networked devices.Services• provide information in response to a request;• include many of the common network applications

people use every day (e-mail, hosting services and web hosting services).

Processes• provide the functionality that directs and moves the

messages through the network;• are less obvious to us but are critical to the operation

of networks.

Network components – hardware, software

PDF created with pdfFactory Pro trial version www.pdffactory.com

999© 2004, Cisco Systems, Inc. All rights reserved.

End DevicesEnd Devices• form the interface between the human network and

the underlying communication network;• are referred to as hosts.Examples:• Computers (work stations, laptops, file servers,

web servers);• Network printers;• VoIP phones;• Security cameras;• Mobile handheld devices (such as wireless barcode

scanners, PDAs).Host device• is either the source or destination of a message

transmitted over the network;• each host on a network is identified by an address;

PDF created with pdfFactory Pro trial version www.pdffactory.com

101010© 2004, Cisco Systems, Inc. All rights reserved.

End Devices

End Devices

Role of end devices: Client - host that has software installed that enables

it to request and display the information obtained from the server; Server - host that has software installed to provide

information and services, like e-mail or web pages, to other hosts on the network;Both client and server.

PDF created with pdfFactory Pro trial version www.pdffactory.com

111111© 2004, Cisco Systems, Inc. All rights reserved.

Intermediary Device

Intermediary device• provide connectivity and ensure that data flows across the network;• connect the individual hoststo the network;• can connect multipleindividual networks to form an internetwork.Examples of intermediary network devices:• Network Access Devices(Hubs, switches, and wireless access points);• Internetworking Devices(routers);• Communication Servers and Modems;• Security Devices (firewalls).

Intermediary device

PDF created with pdfFactory Pro trial version www.pdffactory.com

121212© 2004, Cisco Systems, Inc. All rights reserved.

Network MediaNetwork media• is the channel over which a message travels from source to destination;Types of media• Metallic wires within cables;• Glass or plastic fibers (fiber optic cable);• Wireless transmission.Signal encoding

• must occur for the message to be transmitted;• is different for each media type;• on metallic wires, the data is encoded into electrical impulses that match specific patterns;• fiber optic transmissions rely on pulses of light, within either infrared or visible light ranges;• in wireless transmission, patterns of electromagnetic waves depict the various bit values.

PDF created with pdfFactory Pro trial version www.pdffactory.com

131313© 2004, Cisco Systems, Inc. All rights reserved.

Network Media

• Distance - the media can successfully carry a signal;

• Environment - in which the media is to be installed;

• Amount of data and Speed - at which data must be transmitted;

• Cost - of the media and installation.

Criteria for choosing a network media

PDF created with pdfFactory Pro trial version www.pdffactory.com

141414© 2004, Cisco Systems, Inc. All rights reserved.

Network Types

Local Area Network (LAN)• an individual network usually spans a single geographical area, providing services and applications to people within acommon organizational structure(such as a single business, campus or region);• is usually administered by a single organization;• the administrative control that governs the security and accesscontrol policies are enforced on the network level.

Networks infrastructures can vary in terms of:• size of the area covered;• number of users connected;• number and types of services available.

PDF created with pdfFactory Pro trial version www.pdffactory.com

151515© 2004, Cisco Systems, Inc. All rights reserved.

Network Types

Telecommunications service providers (TSPs)• are use to interconnect the LANs at the different locations, when a company or organization has locations that are separated by large geographical distances;• operates large regional networks that can span long distances;• transported voice and data communications on separate networks;• are offering converged information networkservices to their subscribers; • individual organizations usually lease connectionsthrough a telecommunications service provider network.

PDF created with pdfFactory Pro trial version www.pdffactory.com

161616© 2004, Cisco Systems, Inc. All rights reserved.

Network TypesWide Area Networks (WANs)

• use to connect LANs separated by geographic distance;• use specifically designed network devices to make the interconnections between LANs.

PDF created with pdfFactory Pro trial version www.pdffactory.com

171717© 2004, Cisco Systems, Inc. All rights reserved.

Network TypesInternetwork• a global mesh of interconnected networks

(internetworks) meets human communication needs;• some of these interconnected networks are owned by

large public and private organizations, such as government agencies or industrial enterprises, and are reserved for their exclusive use;

Internet• the most well-known and widely used publicly-

accessible internetwork;• is created by the interconnection of networks

belonging to Internet Service Providers (ISPs). Intranet• a private connection of LANs and WANs that belongs

to an organization, and is designed to be accessible only by the organization's members, employees, or others with authorization.

PDF created with pdfFactory Pro trial version www.pdffactory.com

181818© 2004, Cisco Systems, Inc. All rights reserved.

Network TypesInternetwork (Internet)

PDF created with pdfFactory Pro trial version www.pdffactory.com

191919© 2004, Cisco Systems, Inc. All rights reserved.

Common Data Network Symbols

• Describe network representations

PDF created with pdfFactory Pro trial version www.pdffactory.com

202020© 2004, Cisco Systems, Inc. All rights reserved.

Common Data Network Terminology Network Interface Card• NIC, or LAN adapter;• provides the physical connection to the network at the

PC or other host device;• the media connecting the PC to the networking device

plugs directly into the NIC.Physical Port• a connector or outlet on a networking device where the

media is connected to a host or other networking device.

Interface• specialized ports on an internetworking device that

connect to individual networks.• Because routers are used to interconnect networks, the

ports on a router are referred to network interfaces.

PDF created with pdfFactory Pro trial version www.pdffactory.com

212121© 2004, Cisco Systems, Inc. All rights reserved.

Protocol in Network CommunicationProtocols• a sets of predetermined rules;• the protocols are used to facilitate communication over data networks.Protocol suite• a group of inter-related protocols that are necessary to perform a communication function;• these protocols are implemented in software and hardwarethat is loaded on each host and network device;•the protocols are viewed as a layered hierarchy.Higher level services:•each higher level services depending on the functionalitydefined by the protocols shown in the lower levels.Lower layers of the stack:• are concerned with moving data over the network;• providing services to the upper layers, which are focused on the content of the message being sent and the user interface.

PDF created with pdfFactory Pro trial version www.pdffactory.com

222222© 2004, Cisco Systems, Inc. All rights reserved.

Function of Protocol in Network Communication

PDF created with pdfFactory Pro trial version www.pdffactory.com

232323© 2004, Cisco Systems, Inc. All rights reserved.

Function of Protocol in Network Communication

PDF created with pdfFactory Pro trial version www.pdffactory.com

242424© 2004, Cisco Systems, Inc. All rights reserved.

Function of Protocol in Network Communication

PDF created with pdfFactory Pro trial version www.pdffactory.com

252525© 2004, Cisco Systems, Inc. All rights reserved.

Function of Protocol in Network CommunicationStandard• a process or protocol that has been endorsed by the networking industry and ratified by a standardsorganization.Standards organization• Institute of Electrical and Electronics Engineers (IEEE);• Internet Engineering Task Force (IETF).

PDF created with pdfFactory Pro trial version www.pdffactory.com

262626© 2004, Cisco Systems, Inc. All rights reserved.

Protocol in Network CommunicationApplication Protocol:Hypertext Transfer Protocol (HTTP)• is a common protocol that governs the way that a web

server and a web client interact;• defines the content and formatting of the requests and

responses exchanged between the client and server;• relies on other protocols to govern how the messages are

transported between client and server.Transport Protocol:Transmission Control Protocol (TCP)• is the transport protocol that manages the individual

conversations between web servers and web clients;• divides the HTTP messages into smaller pieces, called

segments, to be sent to the destination client;• is responsible for controlling the size and rate at which

messages are exchanged between the server and the client.

PDF created with pdfFactory Pro trial version www.pdffactory.com

272727© 2004, Cisco Systems, Inc. All rights reserved.

Protocol in Network CommunicationInternetwork Protocol:• most common internetwork protocol is Internet Protocol (IP);• is responsible for taking the formatted segments from TCP,

encapsulating them into packets, assigning the appropriate addresses, and selecting the best path to the destination host.

Network Access Protocols:• describe two primary functions, data link management and the

physical transmission of data on the media;Data-link management protocols:• take the packets from IP and format them to be transmitted

over the media;Standards and protocols for the physical media:• govern how the signals are sent over the media and how they

are interpreted by the receiving clients;• transceivers on the network interface cards implement the

appropriate standards for the media that is being used.PDF created with pdfFactory Pro trial version www.pdffactory.com

282828© 2004, Cisco Systems, Inc. All rights reserved.

Function of Protocol in Network Communication

Protocols:• are technology independent;• many diverse types of devices can communicateusing the same sets of protocols; • specify network functionality, not the underlying technology to support this functionality.

PDF created with pdfFactory Pro trial version www.pdffactory.com

292929© 2004, Cisco Systems, Inc. All rights reserved.

Layers with TCP/IP and OSI ModelBenefits of layered model• Assists in protocol design; • Fosters competition changes in one layerdo not affect other layers;• Provides a common language.

PDF created with pdfFactory Pro trial version www.pdffactory.com

303030© 2004, Cisco Systems, Inc. All rights reserved.

Layers with TCP/IP and OSI ModelTCP/IP Model

• first layered protocol model for internetwork communications was created in the early 1970s;• is referred to as the Internet model;• defines four categories of functions that must occur for communications to be successful;• is an open standard, one company does not control the definition of the model.

PDF created with pdfFactory Pro trial version www.pdffactory.com

313131© 2004, Cisco Systems, Inc. All rights reserved.

Layers with TCP/IP and OSI Model

TCP/IP ModelRequests for Comments (RFCs)• the definitions of the standard and the TCP/IP protocols are discussed in a public forum and defined in a publicly-available set of documents;• contain both the formal specification of data communications protocols and resources that describe the use of the protocols; • contain technical and organizational documentsabout the Internet, including the technical specifications and policy documents produced by the Internet Engineering Task Force (IETF).

PDF created with pdfFactory Pro trial version www.pdffactory.com

323232© 2004, Cisco Systems, Inc. All rights reserved.

Layers with TCP/IP and OSI Model

Communication Process

PDF created with pdfFactory Pro trial version www.pdffactory.com

333333© 2004, Cisco Systems, Inc. All rights reserved.

Layers with TCP/IP and OSI ModelSteps of the complete communication process:• 1. Creation of data at the application layer of the

originating source end device• 2. Segmentation and encapsulation of data as it passes

down the protocol stack in the source end device • 3. Generation of the data onto the media at the network

access layer of the stack• 4. Transportation of the data through the internetwork,

which consists of media and any intermediary devices• 5. Reception of the data at the network access layer of

the destination end device • 6. Decapsulation and reassembly of the data as it passes

up the stack in the destination device • 7. Passing this data to the destination application at the

Application layer of the destination end device

PDF created with pdfFactory Pro trial version www.pdffactory.com

343434© 2004, Cisco Systems, Inc. All rights reserved.

Layers with TCP/IP and OSI Model

Protocol data units (PDU) and encapsulation

PDF created with pdfFactory Pro trial version www.pdffactory.com

353535© 2004, Cisco Systems, Inc. All rights reserved.

Layers with TCP/IP and OSI Model

Protocol data units (PDU) and encapsulation

PDF created with pdfFactory Pro trial version www.pdffactory.com

363636© 2004, Cisco Systems, Inc. All rights reserved.

Layers with TCP/IP and OSI ModelProcess of sending and receiving messages

Data - Application Layer PDUSegment - Transport Layer PDUPacket - Internetwork Layer PDU Frame - Network Access Layer PDUBits - PDU used when physically transmitting data over the medium

PDF created with pdfFactory Pro trial version www.pdffactory.com

373737© 2004, Cisco Systems, Inc. All rights reserved.

Layers with TCP/IP and OSI Model

Protocol model• provides a model that closely matches the structure of a particular protocol suite.

Reference model• provides a common reference for maintaining consistency within alltypes of network protocols and services.

PDF created with pdfFactory Pro trial version www.pdffactory.com

383838© 2004, Cisco Systems, Inc. All rights reserved.

Layers with TCP/IP and OSI ModelOSI Model

• was designed by the International Organization for Standardization (ISO)to provide a framework on which to build a suite of open systems protocols;• this set of protocols would be used to develop an international network that would not be dependent on proprietary systems;• is a reference model;•provides an extensive list of functions and services that can occur at each layer;• describes the interaction of each layerwith the layers directly above and belowit.

PDF created with pdfFactory Pro trial version www.pdffactory.com

393939© 2004, Cisco Systems, Inc. All rights reserved.

Layers with TCP/IP and OSI ModelCompare OSI and TCP/IP model

PDF created with pdfFactory Pro trial version www.pdffactory.com

404040© 2004, Cisco Systems, Inc. All rights reserved.

Addressing and Naming SchemesLabels in encapsulation headers• are used to manage communication in data networks

Ethernet MAC Addresses, IP Addresses TCP/UDP Port numbers

PDF created with pdfFactory Pro trial version www.pdffactory.com

414141© 2004, Cisco Systems, Inc. All rights reserved.

Addressing and Naming Schemes

Protocol Data Unit (PDU)

PDF created with pdfFactory Pro trial version www.pdffactory.com

424242© 2004, Cisco Systems, Inc. All rights reserved.

Addressing and Naming SchemesAddressing and Naming Schemes§ Describe how information in the encapsulationheader is used to identify the source and destination processes for data communication

PDF created with pdfFactory Pro trial version www.pdffactory.com

434343© 2004, Cisco Systems, Inc. All rights reserved.

Summary

PDF created with pdfFactory Pro trial version www.pdffactory.com

© 2004, Cisco Systems, Inc. All rights reserved.

PDF created with pdfFactory Pro trial version www.pdffactory.com