+ All Categories
Home > Documents > Chapter 5 IP Routing Routing Sending packets through network from one device to another What must...

Chapter 5 IP Routing Routing Sending packets through network from one device to another What must...

Date post: 19-Dec-2015
Category:
View: 233 times
Download: 0 times
Share this document with a friend
Popular Tags:
24
Chapter 5 IP Routing
Transcript
Page 1: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

Chapter 5

IP Routing

Page 2: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

Routing

Sending packets through network from one device to another

What must routers know?– Destination address– Neighboring routers– Possible routes to remote network– Best route to remote network– How to keep routing information current

Page 3: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

IP Routing Process

Pages 207-210 shows steps when Host A pings Host B (lots of steps!)

Page 4: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

IP Routing Process (cont.)

Page 5: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

IP Routing Process (cont.)

Page 6: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

IP Routing in Larger Network

Figure 5.2 shows diagram of network Table 5.1 shows networks, interfaces, and

addresses Then, configure those routers!

Page 7: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

IP Routing in Our Network

Routing tables keep track of networks If destination is not in routing table, packet is

dropped! Must build routing table and keep it current Types of routing

– Static– Default– Dynamic

Page 8: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

Static Routing

Admin manually adds routes to tables No overhead on router CPU, no overhead traffic

between routers, very secure Big pain to add routes often, not good for large or

changing networks Adding a static route:

ip route [destination_network] [mask] [next_hop_address or exitinterface] [administrative_distance] [permanent]

Page 9: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

Verify Your Routing

Ping from one end router to the otherTimeouts are common while routers

add to cacheThen, connectivity should be quick

Page 10: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

Default Routing

Only one exit port out of a stub network? Can set a default route

Routers Lab_A and Lab_C qualify Need to remove static routes and add one

default route

Page 11: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

Dynamic Routing

Use protocols to automatically update tables Types of routing protocols for Ch. 5:

– Routing Information Protocol (RIP)– Interior Gateway Routing Protocol (IGRP)

Advanced protocols not covered here:– Enhanced Interior Gateway Routing Protocol

(EIGRP)– Open Shortest Path First (OSPF)

Page 12: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

Administrative Distances

Rate the trustworthiness of routes

Page 13: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

Classes of Routing Protocols

1. Distance Vector– Distance is hops to remote network– Vector is direction to remote network– Used by RIP and IGRP

2. Link State and Hybrid– Keeps track of directly attached neighbors,

topology of entire network, builds routing tables– OSPF and EIGRP (not covered yet)

Page 14: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

Distance-Vector Routing

Do you know where RIP has problems?

Page 15: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

Distance-Vector Start-up

Page 16: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

Distance Vector Convergence

Page 17: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

Routing Loops

What if Network 5 goes down? Routing tables don’t converge quickly, loops

can occur between remote sites

Page 18: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

Stopping Routing Loops

Maximum hop count – avoids routers sending packets infinite times

Split Horizon – routing info cannot be sent back to where it was received

Route Poisoning – send immediate message that route is down (don’t wait for normal routing broadcast timer)

Holddowns – wait longer than normal before announcing that route is back up

Page 19: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

RIP

A true distance-vector protocol– Sends updates every 30 seconds on all active

interfaces– Only uses hop count

Maximum allowable hop count of 15

Good for small networks– Inefficient on large networks or slow WAN links– RIP v1 requires same subnet mask for all devices

Page 20: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

RIP

RIP Timers– Route update timer – usually 30 seconds– Route invalid timer – no message from router for 90

seconds? Route marked as invalid– Route flush timer – 240 seconds and still no word?

Remove route from table

Page 21: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

Configure RIP

First, remove any static routes. Then,

1. Lab_A(config)# router rip

2. Lab_A(config)# network 192.168.10.0

3. Lab_A(config)# network 192.168.20.0

4. Lab_A(config)# ^Z

5. Lab_A#

Page 22: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

More RIP Stuff

Verifying the RIP Routing Tables– 2621A(config)#sh ip route

You don’t want RIP broadcast to Internet– Holding Down RIP Propagation

1. RouterA#config t2. RouterA(config)#router rip3. RouterA(config-router)#network 10.0.0.04. RouterA(config-router)#passive-interface serial 0

Page 23: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

Interior Gateway Routing Protocol (IGRP)

Cisco-only protocol for larger networks Max hop count of up to 255 Looks at hop count, bandwidth, and delays IGRP timers work on larger networks

– Update timers – 90 seconds– Invalid timers – 270 seconds– Holddown timers – 280 seconds– Flush timers – 630 seconds

Page 24: Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.

Configure and Verify IGRP

Use same number for routers on same network IGRP Routing (e.g. 10)

Lab_A(config)#router igrp 10

Lab_A(config-router)#network 192.168.10.0

Check configurations (pp. 239-245)show ip route

show protocols

show ip protocol

debug ip rip

debug ip igrp events

debug ip igrp transactions


Recommended