routing and routing protocols routing protocols overview

9
Routing and Routing Protocols Routing Protocols Overview

Upload: nathan-barber

Post on 28-Dec-2015

226 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Routing and Routing Protocols Routing Protocols Overview

Routing and Routing Protocols

Routing Protocols Overview

Page 2: Routing and Routing Protocols Routing Protocols Overview

Path Determination• A router determines the path

of a packet using 2 basic functions: A path determination

function • Occurs at the network

layer. • The router uses the routing

table to determine the best path

A switching function• Process used by a router to

accept a packet on one interface and forward it to a second interface on the same router

• A key responsibility of the switching function is to encapsulate packets in the appropriate frame type for the next data link

Page 3: Routing and Routing Protocols Routing Protocols Overview

Routing Configuration

• Enabling an IP routing protocol on a router involves the setting of both global and routing parameters.

• The router command starts a routing process and allows you to select a routing protocol

• The network command enables the routing process to determine which interfaces participate in the sending and receiving of routing updates

• Uses broadcasts and multicasts to communicate with other routers

• Syntax: router# router protocol [options]

Page 4: Routing and Routing Protocols Routing Protocols Overview

Routing Configuration

• Network numbers are based on the network class addresses, not subnet or individual host addresses

• Ex: router(config)# router rip router(config-router)# network 172.16.0.0

Page 5: Routing and Routing Protocols Routing Protocols Overview

Routing Protocols

• IP routing protocols are found at the Internet layer of the TCP/IP suite. Examples include: RIP – A distance vector interior routing protocol IGRP – Cisco's distance vector interior routing protocol OSPF – A link-state interior routing protocol EIGRP – Cisco’s advanced distance vector interior routing protocol BGP – A distance vector exterior routing protocol

Page 6: Routing and Routing Protocols Routing Protocols Overview

RIP and IGRP

• Routing Information Protocol (RIP) was originally specified in RFC 1058. A distance vector routing protocol. Hop count is used as the metric for path selection. If the hop count is greater than 15, the packet is

discarded. Updates are broadcast every 30 seconds, by

default. • Interior Gateway Routing Protocol (IGRP) is a

proprietary protocol developed by Cisco. A distance vector routing protocol Bandwidth, load, delay and reliability are used to

create a composite metric. Updates are broadcast every 90 seconds, by

default.

Page 7: Routing and Routing Protocols Routing Protocols Overview

OSPF and EIGRP

• Open Shortest Path First (OSPF) is a non-proprietary protocol. A link-state routing protocol Open standard routing protocol described in RFC 2328. Uses the SPF algorithm to calculate the lowest cost to a destination. Routing updates are flooded as topology changes occur

• EIGRP is a Cisco proprietary enhanced distance vector routing protocol Uses load balancing Uses a combination of distance vector and link-state features. Uses Diffused Update Algorithm (DUAL) to calculate the shortest

path. Updates are broadcast every 90 seconds or as triggered by topology

changes

• Border Gateway Protocol (BGP) is an exterior routing protocol. It is a distance vector exterior routing protocol. Used between ISPs or ISPs and clients. Used to route Internet traffic between autonomous systems.

Page 8: Routing and Routing Protocols Routing Protocols Overview

Autonomous systems and IGP vs. EGP

• Interior gateway protocols are used in a network whose parts are under the control of a single organization.

• Exterior gateway protocols are used between networks controlled by two or more organizations. Ex: Between ISPs Between a company and an ISP

• IP exterior gateway protocols require three sets of information before routing can begin:

• A list of neighbor routers with which to exchange routing information.

• A list of networks to advertise as directly reachable. • The AS number of the local router

Page 9: Routing and Routing Protocols Routing Protocols Overview

IGP vs. EGP

• Routing protocols such as Cisco’s IGRP and EIGRP require that a unique, AS number be assigned