+ All Categories
Home > Documents > Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Date post: 28-Dec-2015
Category:
Upload: brooke-rodgers
View: 240 times
Download: 6 times
Share this document with a friend
Popular Tags:
33
Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle
Transcript
Page 1: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Sybex CCENT 640-822Chapter 8: IP RoutingInstructor & Todd Lammle

Page 2: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Chapter 8 Objectives

• Understanding IP routing• Static routing• Dynamic routing

– RIP– RIPv2– Verifying routing

2

Page 3: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

To route a router need to know:– Remote Networks

– Neighbor Routers

– All Possible routes to remote network

– The absolute best route to all remote networks

– Maintain and verify the routing information

What is Routing?

C B AD

Page 4: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Basic Path Selection

What interface will the router send out a packet if it has destination address of 10.10.10.18?

Page 5: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Simple IP Routing

Page 6: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Routing/PDU Example:Host A Web browses to the HTTP

Server….

Page 7: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Routing/PDU Example 2

Page 8: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

ICMP Error example

Page 9: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Basic Routing Using MAC and IP Addresses

Page 10: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Testing basic routingKnowledge

Page 11: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Configuring IP RoutingNetwork

Page 12: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

ip route remote network

[mask]

{address|interface}

[distance]

[permanent]

Router(config)#ip route remote_network mask next_hop

Static Route Configuration

Page 13: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

ip route 172.16.1.0 255.255.255.0 172.16.3.2or

ip route 172.16.1.0 255.255.255.0 s0

Static Route Example

172.16.3.2

SO

172.16.1.0

B172.16.3.1

A B

Stub Network

172.16.2.0

SO

Page 14: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Default Routes

172.16.3.2

SO

172.16.1.0

B172.16.3.1

A B

Stub Network

172.16.2.0

SO

ip route 0.0.0.0 0.0.0.0 172.16.3.1

ip classless

Page 15: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Configuring a gateway of Last resort

Page 16: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

• Routing protocols are used between routers to: – Determine the path of a packet through a network– Maintain routing tables– Examples?

• Routed protocols are:– Assigned to an interface– Once the path is determined by the Routing

protocol, determines method of delivery– Examples?

Routing vs. Routed

Page 17: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Autonomous System 1 Autonomous System 2

IGPs: RIP, IGRP EGPs: BGP

Routing Protocols

•An autonomous system is a collection of networks under a common administrative domain.

•IGPs operate within an autonomous system.

•EGPs connect different autonomous systems.

Page 18: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Classful Routing Overview

Classful routing protocols do not include the subnet mask with the route advertisement.

– Within the same network, consistency of the subnet masks is assumed.

– Summary routes are exchanged between foreign networks.

– Examples of classful routing protocols:• RIP Version 1 (RIPv1)• IGRP

Page 19: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Classless Routing Overview

Classless routing protocols include the subnet mask with the route advertisement.

– Classless routing protocols support variable-length subnet masking (VLSM).

– Summary routes can be manually controlled within the network.

– Examples of classless routing protocols:• RIP Version 2 (RIPv2)• EIGRP• OSPF• IS-IS

Page 20: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

IGRPAdministrative Distance=100

Router D

Router BRouter A

Router C

RIPAdministrative Distance=120

Default Administrative DistanceDirectly Connected: 0Static Route: 1RIP: 120IGRP: 100EIGRP: 90OSPF: 110

Administrative Distance

Page 21: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

C B AD

RoutingTable

RoutingTable

RoutingTable

RoutingTable

RoutingTable

RoutingTable

RoutingTable

RoutingTable

Distance—How farVector—In which direction

Distance—How farVector—In which direction

Distance vector algorithms do not allow a router to know the exact topology of an internetwork.

All routers just broadcast their entire routing table out all active interfaces on periodic time intervals

Distance Vector

Page 22: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Pinhole Congestion

Page 23: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Discovering RoutesDiscovering Routes

Page 24: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Converged RoutesConverged Routes

Page 25: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Routing Loops

Page 26: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

64kbps

T1

T1 T1

– Hop count metric selects the path, 16 is unreachable

– Full route table broadcast every 30 seconds

– Load balance maximum of 6 equal cost paths (default = 4)

– RIPv2 supports VLSM and Discontiguous networks

RIP Overview

Page 27: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Router(config)#router rip

Router(config-router)#network network-number*

network 172.16.0.0network 192.168.10.0

router RIPnetwork 172.16.0.0network 10.0.0.0

router RIP

*Network is a classful network address.

Every device on network uses the same subnet mask

172.16.10.0 192.168.10.010.3.5.0

RIP Routing Configuration

Page 28: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

RIP Routing Example 2

Page 29: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

RIP Version 2• Allows the use of variable length subnet

masks (VLSM) by sending subnet mask information with each route update

• Distance Vector – same AD, and timers.• Easy configuration, just add the command

“version 2” under the router rip configuration

router ripnetwork 10.0.0.0version 2

Page 30: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Discontiguous Addressing

• Two networks of the same classful networks are separated by a different network address

192.168.10.0/24

10.1.1.0/24

192.168.10.0/24

– RIPv1 and IGRP do not advertise subnet masks, and therefore cannot support discontiguous subnets.

– OSPF, EIGRP, and RIPv2 can advertise subnet masks, and therefore can support discontiguous subnets.

Page 31: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

A Discontiguous network

Page 32: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Verifying RIP

Router#show ip protocols

Router#show ip route

Router#debug ip rip

Router#undebug all (un all)

Page 33: Sybex CCENT 640-822 Chapter 8: IP Routing Instructor & Todd Lammle.

Summary

– Open your books and go through all the written labs and the review questions.

– Review the answers in class.

33


Recommended