Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

27
Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE

Transcript of Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Page 1: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Section 4 : The OSI Network Layer

CSIS 479R Fall 1999

“Network +”

George D. Hickman, CNI, CNE

Page 2: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Objectives

Identify the basic purpose of the OSI Network layerIdentify the uses of the addresses defined at the Network LayerIdentify the characteristics of the three switching methodsIdentify the characteristics of the two route discovery methods

Page 3: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Objectives (con’t)

Identify the characteristics of the two route selection methodsIdentify the characteristics of Network layer connection servicesIdentify the basic purpose of gateway servicesDescribe why connectivity devices are needed on networks

Page 4: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Objectives (con’t)

Describe the function of Ethernet and token ring repeaters

Describe the function of bridges

Explain how a transparent bridge works

Explain how a source-routing bridge works

Explain how switching-hubs work

Page 5: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Objectives (con’t)

Describe how token ring switches work

Describe routing protocols

Identify nonroutable protocols and how to deal with them

Describe combination devices

Decide when to use bridges,switches, and routers

Page 6: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Basic Purpose of theOSI Network Layer

RoutingMoving information between multiple

independent (often dissimilar) networks called internetworks

Routes Data using:SwitchingNetwork Layer Addressing (Logical, not physical or MAC)

Routing Algorithms

Page 7: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Processes and Methods

Logically separate networks must have unique network addressesSwitching determines how connections are madeImplement routing to have “best” data path determinedDifferent levels of connection services can be implemented, based on errors expected

Page 8: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Processes and Methods (con’t)

AddressingLogical NetworkService

SwitchingPacketMessageCircuit

Page 9: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Processes and Methods (con’t)

Route DiscoveryDistance VectorLink-state

Route SelectionStaticDynamic

Page 10: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Processes and Methods (con’t)

Connection servicesNetwork-layer flow controlError controlPacket sequence control

Gateway servicesNetwork layer translation

Page 11: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Network Layer AddressingLogical network address Logically distinguish two networks in an

internetwork Routers connect two networks with different logical

network addresses

Service address Every entity (hardware or software) needs its own

address (port or socket) to send and receive data Ports identity an upper layer software process or

protocol. (Computers can run several concurrently) See figure 4-3 on page 4-10

Page 12: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Switching Method Characteristics

Circuit Switching A Single path is set up for the duration of a single

conversation.

Message Switching Conversations are divided into messages, each of

which MAY take a different path.

Packet Switching Combination of both Messages broken into packets small enough to fit

in RAM. A sequence number is added to each packet Most LANs use Packet Switching

Page 13: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Packet Switching

Virtual Circuit Packet SwitchingLogical connections between sender and

receiverAppears as a point-to-point link, but is actually

a logical switched pathDatagram Packet Switching

Used when no logical connection is required In common use on the internetRelies on the network layer to navigate paths

and correct errors

Page 14: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Route Discovery TermsHop Count Number of routers data must pass through to

reach the destination

Tick count Amount of time required to reach the destination

network

Relative expense An assignable number based on user-defined

costs

Route discovery uses two methods Distance Vector Link-state

Page 15: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Distance VectorRoute Discovery Method

Routers keep tables of routes to various destinations

These tables are communicated to neighboring routers

If router A tells router B that it can reach network 100 in 6 hops, router B would show it can reach network 100 in 7 hops

Updating routing tables is called convergence

Page 16: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Link StateRoute Discovery Method

Considered more intelligent and faster than distance-vectorAfter an initial table is received, routers only broadcast information that has changed (not all routes)Link State Route Discovery requires less network overhead, but can require considerable planning

Page 17: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Route Selection Methods

DynamicRouters can change in response to

changing network conditionsRoute selections are made at each router

StaticData packets always follow a

predetermined pathPath defined by network administrator or

by an assigned network device

Page 18: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Network LayerConnection Services

Data Link-LLC sublayer connection services control the amount of data transmitted and notification of bad frames

Data Link layer connection services manage communication between source and destination devices

Network Layer connection services build on these services, add reliability

Page 19: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Connection Services

Network Layer Flow ControlSimilar to Data Link layer flow control

Can be guaranteed rate or static/dynamic windows

Can involve intelligent path selection (congestion control)

Page 20: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Connection Services (Con’t)

Network Layer Error ControlPrimarily concerned with packet loss,

duplicate packets, altered packetsLost packets handled by acknowledgmentsDuplicate packets are handled by dropping all

but one of the packetsAltered packets are detected (sometimes

corrected) by use of a CRC check CRC is calculated at each router, since the address

field is changed at each hop

Page 21: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Connection Services (Con’t)

Network Layer Packet Sequence ControlUpper layer messages are rebuilt by

putting arrived packets back into the original order

Packet sequence control can take place at Network layer, but at the Transport layer is more common.

Page 22: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Gateway ServicesA Gateway interprets and translates the rules on two separate networksAddress, Route Discovery, Route Selection, and Connection Service rules may vary from one network to anotherBook example: Two networks use data units of different sizes. A Network Layer gateway fragments and reassembles data into acceptable sizes for both networksThe Default Gateway or Default Router is where all packets are sent that are destined for devices not on the local network segment

Page 23: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Connectivity Devices

LAN Media limitations Media may limit number of devices, length of cable

run, or available bandwidth Repeaters and Bridges address these issues

Data destination across multiple networks Routers forward data from network to network

Incompatible Systems Two systems without a common protocol Gateway acts as a translator

Page 24: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Bridges, Repeaters, Switching Hubs, Routing Protocols

Are covered in the book; we will not have class time to cover them

Page 25: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Connection DevicesBroutersBridge and Router in a single deviceCheaper than both devices, more

expensive than either one

Switching Hub and Router CombinationLeading-edge technology, which means

implementation problems

Page 26: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Nonroutable Protocols

Protocols that do not use Network Layer for routingProtocols that use only static routes that cannot be updatedDeal with them by encapsulation (tunneling) or bridging. Routing SNA NetBIOS NetBEUI LAT

Page 27: Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.

Network Layer

This is a major layer in the OSI model, and has many important features we were unable to discuss in class

It is critical that you read the material in the book. Email me if you have any questions about the content.