Anda di halaman 1dari 18

Understanding

Routing

CSE-Network ManagementIntroduction

www.cisco.com

1999, Cisco Systems, Inc.

1-1

Agenda

What Is Routing?
Routing Protocols

CSE: Networking FundamentalsRouting

www.cisco.com

1999, Cisco Systems, Inc.

7-2

What is Routing?

CSE-Network ManagementIntroduction
1999, Cisco Systems, Inc.

www.cisco.com

1999, Cisco Systems, Inc.

1-3

What Is Routing?
Routing is:
Finding a path between a source and
destination (path determination)
Moving information across an internetwork
from a source to a destination (switching*)
Very complex in large networks because
of the many potential intermediate nodes

A router is:
A network layer device that forwards packets
from one network to another and determines
the optimal path for forwarding network traffic

The term switching, when used to describe a routers


function, is different from a switch (the network device).

CSE: Networking FundamentalsRouting

www.cisco.com

1999, Cisco Systems, Inc.

7-4

RoutersLayer 3
Remote
Location

Routing Table
192.168.3.0
192.168.1.0
192.168.2.0

Frame Relay
Ethernet
FDDI

Network 192.168.3.0
Frame Relay

Main Site

Network 192.168.2.0
FDDI

Network 192.168.1.0
Ethernet
CSE: Networking FundamentalsRouting

www.cisco.com

1999, Cisco Systems, Inc.

7-5

Where are Routers Used?

LAN-to-LAN connectivity
LAN-to-WAN connectivity
Remote access

CSE: Networking FundamentalsRouting

www.cisco.com

1999, Cisco Systems, Inc.

7-6

LAN-to-LAN Connectivity
X

C
C

A
A

Application
Presentation
Session
Transport
Network
Data Link
Physical

B
B

A
Network
Data Link
Physical

B
Network
Data Link
Physical

C
Network
Data Link
Physical

Application
Presentation
Session
Transport
Network
Data Link
Physical

Routers encapsulate and de-encapsulate data packets


as they are transferred from system X to system Y
CSE: Networking FundamentalsRouting

www.cisco.com

1999, Cisco Systems, Inc.

7-7

Path Determination
5

2
4
1

Which Path?
10

11

Routers find the best path through the network


Routing tables contain route information
Network addresses represent the path
of media connections to a destination

CSE: Networking FundamentalsRouting

www.cisco.com

1999, Cisco Systems, Inc.

7-8

Routing Algorithm Goals


Optimality
Selecting the best route based on metrics and
metric weightings used in the calculation

Simplicity and low overhead


Efficient routing algorithm functionality with a
minimum of software and utilization overhead

Robustness and stability


Correct performance in the face of unusual
or unforeseen circumstances (e.g., high load)

Rapid convergence
Fast agreement, by all routers, on optimal routes

Flexibility
Quick and accurate adaptation to changes in
router availability, bandwidth, queue size, etc.

CSE: Networking FundamentalsRouting

www.cisco.com

1999, Cisco Systems, Inc.

7-9

Routing Metrics

Path length
Total hop count or sum of cost per network link

Reliability
Dependability (bit error rate) of each network link

Delay
Useful because it depends on bandwidth, queues, network congestion, and physical
distance

Communication cost
Operating expenses of links (private versus public)

Bandwidth and load

CSE: Networking FundamentalsRouting

www.cisco.com

1999, Cisco Systems, Inc.

7-10

Types of Routing.

Static routing
Default routing
Dynamic routing.

CSE: Networking FundamentalsRouting

www.cisco.com

1999, Cisco Systems, Inc.

7-11

Static Routing
Manual table updates by
a network administrator
Benefits
Reflects administrators special
topology knowledge

PrivateNot conveyed to other routers


in updates
Avoids the overhead of dynamic
routing

Stub network
B
Stub Network
CSE: Networking FundamentalsRouting

When a node is accessible by


only one path, a static route is
sufficient
Point-to-point or circuit-switched
connection

www.cisco.com

1999, Cisco Systems, Inc.

7-12

Dynamic Routing
Most internetworks use dynamic routing

A
D

X
C

A network change blocks


the established path...
CSE: Networking FundamentalsRouting

A
D

B
C

and an alternate route is


found dynamically.

www.cisco.com

1999, Cisco Systems, Inc.

7-13

Routing Protocols

CSE-Network ManagementIntroduction
1999, Cisco Systems, Inc.

www.cisco.com

1999, Cisco Systems, Inc.

1-14

Routed versus Routing Protocols


Routed protocols
used between
routers to direct user
traffic; also called
network protocols
Examples: IP, IPX,
DECnet, AppleTalk,
NetWare, OSI, VINES

Routing protocols
used between
routers to maintain
routing tables

Network
Protocol
Protocol name

Examples: RIP, IGRP,


OSPF, BGP, EIGRP
CSE: Networking FundamentalsRouting

www.cisco.com

Destination Exit Port


Network
to Use
1.0
2.0
3.0

1.1
2.1
3.1

1999, Cisco Systems, Inc.

7-15

Routing Protocol Evolutions


IGRP
IGRP

RIP
RIP

Distance
Distancevector
vector
Most
Mostcommon
commonIGP
IGP
Uses
Useshop
hopcount
count

Distance
Distancevector
vector
Developed
Developedby
byCisco
Cisco
Addresses
Addressesproblems
problemsin
in
large,
large,heterogeneous
heterogeneous
networks
networks

Hybrid
Hybridprotocol
protocol
Developed
Developedby
byCisco
Cisco
Superior
Superiorconvergence
convergence
and
andoperating
operatingefficiency
efficiency
Merges
Mergesbenefits
benefitsof
oflink
link
state
state&&distance
distancevector
vector

Distance Vector
Hybrid

EIGRP
EIGRP

OSPF
OSPF

Link
Linkstate,
state,hierarchical
hierarchical
Successor
Successorto
toRIP
RIP
Uses
Usesleast-cost
least-costrouting,
routing,
multipath
multipathrouting,
routing,and
and
load
loadbalancing
balancing
Derived
Derivedfrom
fromIS-IS
IS-IS

Link State
CSE: Networking FundamentalsRouting

www.cisco.com

1999, Cisco Systems, Inc.

7-16

OSPF and EIGRP


Aspect

OSPF

EIGRP

Hierarchical

Not restricted

Memory & CPU


requirements

High

Moderate

Routing table size

Large

Moderate

Controlling body

Industry standard

Cisco proprietary

Convergence

Fast

Fast

Configuration

Difficult

Easy

IP

IP
IPX
AppleTalk

Topology

Supported
protocols

CSE: Networking FundamentalsRouting

www.cisco.com

1999, Cisco Systems, Inc.

7-17

Summary

Routers move data across networks


from a source to a destination
Routers determine the optimal path for
forwarding network traffic
Routing protocols communicate
reachability information between routers
CSE: Networking FundamentalsRouting

www.cisco.com

1999, Cisco Systems, Inc.

7-18

Anda mungkin juga menyukai