Presentation is loading. Please wait.

Presentation is loading. Please wait.

IP Routing. Chapter 8 Objectives Understanding IP routing Static routing Dynamic routing –RIP –RIPv2 –OSPF –EIGRP Verifying routing Router Security 2.

Similar presentations


Presentation on theme: "IP Routing. Chapter 8 Objectives Understanding IP routing Static routing Dynamic routing –RIP –RIPv2 –OSPF –EIGRP Verifying routing Router Security 2."— Presentation transcript:

1 IP Routing

2 Chapter 8 Objectives Understanding IP routing Static routing Dynamic routing –RIP –RIPv2 –OSPF –EIGRP Verifying routing Router Security 2

3 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? CB A D

4 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? CB A D

5 Basic Path Selection What interface will the router send out a packet if it has destination address of ?

6 Simple IP Routing >ping

7 Routing/PDU Example: 3. The destination port number in a segment header will have a value of __ 1. The destination address of a frame will be the _______________________ 2. The destination IP address of a packet will be the IP address of the________________________________ Host A Web browses to the HTTP Server….

8 SO Static Routes B A B Stub Network SO A Routes must be unidirectional

9 ip route remote network [mask] {address|interface} [distance] [permanent] Router(config)#ip route remote_network mask next_hop Static Route Configuration

10 ip route or ip route s0 Static Route Example SO B A B Stub Network SO

11 Default Routes SO B A B Stub Network SO ip route ip classless

12 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

13 Autonomous System 1Autonomous System 2 IGPs: RIP, IGRPEGPs: 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.

14 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

15 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

16 IGRP Administrative Distance=100 Router D Router B Router A Router C RIP Administrative Distance=120 Default Administrative Distance Directly Connected: 0 Static Route: 1 RIP: 120 IGRP: 100 EIGRP: 90 OSPF: 110 Administrative Distance

17 CB A D Routing Table Routing Table Routing Table Routing Table Routing Table Routing Table Routing Table Routing Table Distance—How far Vector—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

18 Discovering Routes

19

20 Routing Loops

21 Router Loop Prevention Maximum Hop Count Split Horizon Route Poisoning Holddowns

22 64kbps 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

23 Router(config)#router rip Router(config-router)#network network-number* network network router RIP network network router RIP *Network is a classful network address. Every device on network uses the same subnet mask RIP Routing Configuration

24 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 rip network version 2

25 Discontiguous Addressing Two networks of the same classful networks are separated by a different network address / / /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.

26 Passive Interface Maybe you don’t want to send RIP updates out your router interface connected to the Internet. Use the passive-interface command: Router(config)#router rip Router(config-router)#passive- interface serial0 This allows a router to receive route updates on an interface, but not send updates via that interface S0 Gateway Internet Updates X X

27 Verifying RIP Router#show ip protocols Router#show ip route Router#debug ip rip Router#undebug all (un all)

28 Summary –Open your books and go through all the written labs and the review questions. –Review the answers in class. 28


Download ppt "IP Routing. Chapter 8 Objectives Understanding IP routing Static routing Dynamic routing –RIP –RIPv2 –OSPF –EIGRP Verifying routing Router Security 2."

Similar presentations


Ads by Google