1 / 114

CIS 185 CCNP ROUTE Ch. 4 Manipulating Routing Updates

CIS 185 CCNP ROUTE Ch. 4 Manipulating Routing Updates. Rick Graziani Cabrillo College graziani@cabrillo.edu Last Updated: Fall 2011. Materials. Book: Implementing Cisco IP Routing (ROUTE) Foundation Learning Guide: Foundation learning for the ROUTE 642-902 Exam By Diane Teare Book

zinna
Télécharger la présentation

CIS 185 CCNP ROUTE Ch. 4 Manipulating Routing Updates

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CIS 185 CCNP ROUTECh. 4 Manipulating Routing Updates Rick Graziani Cabrillo College graziani@cabrillo.edu Last Updated: Fall 2011

  2. Materials • Book: • Implementing Cisco IP Routing (ROUTE) Foundation Learning Guide: Foundation learning for the ROUTE 642-902 Exam • By Diane Teare • Book • ISBN-10: 1-58705-882-0 • ISBN-13: 978-1-58705-882-0 • eBook • ISBN-10: 0-13-255033-4 • ISBN-13: 978-0-13-255033-8

  3. Network Performance Issues • Common network performance issues include the following: • Excessive routing updates: • Decrease network performance • CPU utilization spikes • The size of the routing update • The frequency of the updates • The presence of any route maps or filters: • Incorrectly configured route maps or filters can cause too much or the wrong data to be sent. • The number of routing protocols running in the same AS: • Processing the updates. • Routes may also be redistributed between protocols, which can add to the number of updates that a specific protocol must process.

  4. Controlling routing updates involves a variety of solutions, including the: • Design changes: • Limiting the number of routing protocols used • Choice of routing protocol • Network design (areas, stub networks, etc.) • Using passive interfaces • Route filtering using: • Access lists • Route maps • Distribute lists • Prefix lists

  5. Route Redistribution

  6. Routing protocols were not designed to interoperate with one another using different: • Metrics • Reactions to topology changes • Timers • Processes • Routers using different routing protocols can exchange routing information. • Route redistribution is the capability of boundary routers connecting different routing domains to exchange and advertise routing information between those routing domains.

  7. Route Redistribution • One-wayroute redistribution - one protocol receives the routes from another) • Two-way route redistribution - both protocols receive routes from each other. • Boundary routers: • Routers that perform redistribution • Borders two or more ASs or routing domains. • Note: The term boundary router is also sometimes used to describe a router running a classful routing protocol (like RIP) that has interfaces in more than one classful network.

  8. Redistribution is always performed outbound • The router doing redistribution does not change its routing table. • Router A (boundary router) participates in both: • OSPF • EIGRP • Two-way redistribution does not affect the routing table on Router A • However: • Router C will learn about redistributed EIGRP networks (via OSPF) • Router B will learn about redistributed OSPF networks (via EIGRP) • Only networks in Router A’s routing table can be redistributed.

  9. Route Redistribution Why configure redistribution? • Company mergers and different IGPs are used • Company has different divisions with the network under separate control for business or political reasons • Company has connections between business partners • To allow multivendor interoperability (OSPF on non-Cisco, EIGRP on Cisco, for instance)

  10. My best path to 192.100.10.0 is this way. R2 and R3 are running both OSPF and EIGRP Configuring Redistribution 192.168.10.0 R3 R1 OSPF Routing Loop! EIGRP R2 My best path to 192.100.10.0 is this way. • Incompatible routing information • Each routing protocol uses different metrics. • EIGRP uses slowest BW and cumulative Delay • OSPF use cumulative BW • Metrics cannot be translated exactly into a different protocol • Path selection may not be optimal. • Potential Routing loops – Depending on how redistribution is used, routers can send routing information received from one AS back into the AS. (Route Feedback) • Inconsistent convergence times: • Different routing protocols converge at different rates. • These potential trouble spots can be avoided with careful planning and implementation.

  11. Selecting the Best Route in a Redistribution Environment • Cisco routers use the following two parameters to select the best path: • Administrative distance: • Trustworthiness of the routing source • Modifying the administrative distance to influence the route-selection process is discussed later • When using route redistribution, you might occasionally need to modify a protocol’s administrative distance so that it is preferred and to prevent routing loops. (later) • Routing metric: • Best path

  12. Concepts of Redistribution

  13. Multiple Routing Processes • Cisco routers support up to 30 dynamic routing processes on a single router. • Most routing protocols allow an administrator to configure multiple processes of the same routing algorithm • RIP and BGP are notable exceptions. Not usually recommended RTA#show running-config router ospf 24 network 10.2.0.0 0.0.255.255 area 0 ! router ospf 46 network 192.168.2.0 0.0.0.255 area 2 ! router eigrp 53 network 172.16.0.0 network 172.17.0.0 ! router eigrp 141 network 10.0.0.0 network 192.168.3.0 Not usually recommended

  14. Route Redistribution • Route redistribution - The process of exchanging routing information between routing protocols. • EIGRP routing domain learns about networks in OSPF routing domain. • OSPF routing domain learns about networks in EIGRP routing domain. • Done by a boundary router which participates in both routing protocols.

  15. Redistribution Concepts and Processes I run both EIGRP and OSPF. Router(config-router)# redistribute from-protocol [process-id] Note: Other parameters may be required and will be discussed. • The redistribution command (“take routes from”) • Configured on the boundary router. • Participates in both routing protocols. • Independent of any one protocol • Various complexities depending on the routing protocols and the options.

  16. Redistributing from OSPF into EIGRP

  17. Our Topology OSPF 1 EIGRP 1 • Boundary router R2-E-O is running: • EIGRP for 172.30.0.0 subnets and 172.31.0.0 network • OSPF for 172.16.0.0 subnets and 172.17.0.0 network • 192.168.1.0 or 10.0.0.0 not currently included in either routing protocol (more on this later)

  18. Redistribution into EIGRP redistributeprotocol [process-id | as-number] [metricbw delay reliability load mtu ] [match {internal | nssa-external | external 1| external 2}] [tagtag-value] [route-map name] • The syntax differs slightly depending on the routing protocol into which routes will be redistributed.

  19. Redistribution into EIGRP redistributeprotocol [process-id | as-number] [metricbw delay reliability load mtu ] [match {internal | nssa-external | external 1| external 2}] [tagtag-value] [route-map name] • protocol - The source of routing information. Includes RIP, OSPF, EIGRP, IS-IS, BGP, connected, and static. • process-id, as-number - If redistributing a routing protocol that uses a process-id or ASN on the router global config command, use this parameter to refer to that process or ASN value. • metric - A keyword after which follows the four metric components (bandwidth, delay, reliability, link load), plus the MTU associated with the route. • match - If redistributing from OSPF, this keyword lets you match internal OSPF routes, external (by type), and NSSA external routes, essentially filtering which routes are redistributed. • tag - Assigns a unitless integer value to the route, which can be later matched by other routers using a route-map. • route-map - Apply the logic in the referenced route-map to filter routes, set metrics, and set route tags.

  20. Redistribution into EIGRP R1-E router eigrp 1 network 172.30.0.0 network 172.31.0.0 auto-summary R3-O router ospf 1 network 172.16.0.0 0.0.255.255 area 0 Current configurations R2-E-O router eigrp 1 network 172.30.0.0 auto-summary router ospf 1 network 172.16.0.0 0.0.0.3 area 0 R4-O router ospf 1 network 172.16.0.0 0.0.255.255 area 0 network 172.17.0.0 0.0.255.255 area 0

  21. What networks do I know about and how did I learn about them? Redistribution into EIGRP What do you expect to see? Directly Connected and any EIGRP networks – NO OSPF networks R1-E# show ip route C 172.31.0.0/16 is directly connected, Loopback31 172.30.0.0/16 is variably subnetted, 6 subnets, 3 masks C 172.30.2.0/24 is directly connected, FastEthernet0/1 C 172.30.3.0/24 is directly connected, Loopback0 C 172.30.0.0/30 is directly connected, Serial0/0 D 172.30.0.0/16 is a summary, 00:02:41, Null0 C 172.30.1.0/24 is directly connected, FastEthernet0/0 C 172.30.4.0/24 is directly connected, Loopback1 R1-E#

  22. Redistribution into EIGRP What do you expect to see? EIGRP and OSPF networks What networks do I know about and how did I learn about them? R2-E-O# show ip route O 172.17.0.0/16 [110/846] via 172.16.0.1, 00:02:32, Serial0/1 172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks O 172.16.0.4/30 [110/845] via 172.16.0.1, 00:02:32, Serial0/1 C 172.16.0.0/30 is directly connected, Serial0/1 O 172.16.1.0/24 [110/782] via 172.16.0.1, 00:02:32, Serial0/1 O 172.16.2.0/24 [110/846] via 172.16.0.1, 00:02:32, Serial0/1 D 172.31.0.0/16 [90/20640000] via 172.30.0.1, 00:03:46, Serial0/0 172.30.0.0/16 is variably subnetted, 5 subnets, 2 masks D 172.30.2.0/24 [90/20514560] via 172.30.0.1, 01:22:36, Serial0/0 D 172.30.3.0/24 [90/20640000] via 172.30.0.1, 01:22:36, Serial0/0 C 172.30.0.0/30 is directly connected, Serial0/0 D 172.30.1.0/24 [90/20514560] via 172.30.0.1, 01:22:36, Serial0/0 D 172.30.4.0/24 [90/20640000] via 172.30.0.1, 01:22:36, Serial0/0 10.0.0.0/24 is subnetted, 1 subnets C 10.0.0.0 is directly connected, FastEthernet0/1 C 192.168.1.0/24 is directly connected, FastEthernet0/0 R2-E-O#

  23. Redistribution into EIGRP What networks do I know about and how did I learn about them? What do you expect to see? Only OSPF networks – NO EIGRP networks R3-O# show ip route O 172.17.0.0/16 [110/65] via 172.16.0.6, 00:09:06, Serial0/2 172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks C 172.16.0.4/30 is directly connected, Serial0/2 C 172.16.0.0/30 is directly connected, Serial0/1 C 172.16.1.0/24 is directly connected, FastEthernet0/0 O 172.16.2.0/24 [110/65] via 172.16.0.6, 00:09:06, Serial0/2 R3-O#

  24. Redistribution into EIGRP What networks do I know about and how did I learn about them? What do you expect to see? Only OSPF networks – NO EIGRP networks R4-O# show ip route C 172.17.0.0/16 is directly connected, FastEthernet0/1 172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks C 172.16.0.4/30 is directly connected, Serial0/0 O 172.16.0.0/30 [110/128] via 172.16.0.5, 00:09:52, Serial0/0 O 172.16.1.0/24 [110/65] via 172.16.0.5, 00:09:52, Serial0/0 C 172.16.2.0/24 is directly connected, FastEthernet0/0 R4-0#

  25. Hey! I don’t see any of the networks in the OSPF domain! What happened? Redistribution into EIGRP I will redistribute my OSPF learned networks (and OSPF network command networks) into EIGRP, telling my EIGRP neighbors about these networks R2-E-O(config)# router eigrp 1 R2-E-O(config-router)# redistribute ospf 1 R1-E# show ip route C 172.31.0.0/16 is directly connected, Loopback31 172.30.0.0/16 is variably subnetted, 6 subnets, 3 masks C 172.30.2.0/24 is directly connected, FastEthernet0/1 C 172.30.3.0/24 is directly connected, Loopback0 C 172.30.0.0/30 is directly connected, Serial0/0 D 172.30.0.0/16 is a summary, 00:02:41, Null0 C 172.30.1.0/24 is directly connected, FastEthernet0/0 C 172.30.4.0/24 is directly connected, Loopback1 R1-E# • No change for R1-E! • No OSPF networks • Let’s see what happened (or didn’t happen)…

  26. Redistribution into EIGRP Should R2’s routing table change? No R2-E-O# show ip route O 172.17.0.0/16 [110/846] via 172.16.0.1, 00:02:32, Serial0/1 172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks O 172.16.0.4/30 [110/845] via 172.16.0.1, 00:02:32, Serial0/1 C 172.16.0.0/30 is directly connected, Serial0/1 O 172.16.1.0/24 [110/782] via 172.16.0.1, 00:02:32, Serial0/1 O 172.16.2.0/24 [110/846] via 172.16.0.1, 00:02:32, Serial0/1 D 172.31.0.0/16 [90/20640000] via 172.30.0.1, 00:03:46, Serial0/0 172.30.0.0/16 is variably subnetted, 5 subnets, 2 masks D 172.30.2.0/24 [90/20514560] via 172.30.0.1, 01:22:36, Serial0/0 D 172.30.3.0/24 [90/20640000] via 172.30.0.1, 01:22:36, Serial0/0 C 172.30.0.0/30 is directly connected, Serial0/0 D 172.30.1.0/24 [90/20514560] via 172.30.0.1, 01:22:36, Serial0/0 D 172.30.4.0/24 [90/20640000] via 172.30.0.1, 01:22:36, Serial0/0 10.0.0.0/24 is subnetted, 1 subnets C 10.0.0.0 is directly connected, FastEthernet0/1 C 192.168.1.0/24 is directly connected, FastEthernet0/0 R2-E-O#

  27. Redistribution into EIGRP R2-E-O(config)# router eigrp 1 R2-E-O(config-router)# redistribute ospf 1 R2-E-O# show ip eigrp top IP-EIGRP Topology Table for AS(1)/ID(192.168.1.1) P 172.30.2.0/24, 1 successors, FD is 20514560 via 172.30.0.1 (20514560/28160), Serial0/0 P 172.30.3.0/24, 1 successors, FD is 20640000 via 172.30.0.1 (20640000/128256), Serial0/0 P 172.30.0.0/30, 1 successors, FD is 20512000 via Connected, Serial0/0 P 172.31.0.0/16, 1 successors, FD is 20640000 via 172.30.0.1 (20640000/128256), Serial0/0 P 172.30.1.0/24, 1 successors, FD is 20514560 via 172.30.0.1 (20514560/28160), Serial0/0 P 172.30.4.0/24, 1 successors, FD is 20640000 via 172.30.0.1 (20640000/128256), Serial0/0 For now notice that there are no “OSPF networks” in R2’s topology table. They are still in the routing table because R2 also runs OSPF, but this is an EIGRP command.

  28. Redistribution into EIGRP BW/DLY BW redistribute protocol [process-id | as-number] [metric bw delay reliability load mtu ] default-metric bw delay reliability load mtu • When redistributing into EIGRP from another routing protocol you must convert the other routing protocol’s metric (OSPF’s cost, bandwidth) into EIGRP’s metric (BW, DLY, Reliability and Load). • This metric, referred to as the seed or default metric, is defined during redistribution configuration. • Three methods: • Metric parameter with redistribute command • Sets the default for all redistribute commands • Default-metric command • Sets the default for all redistribute commands • Route-map • Sets different metrics for routes learned from a single source

  29. Redistribution into EIGRP OSPF 1 10000 100 255 1 EIGRP 1 EIGRP 2 50000 500 255 1 RIP router eigrp 1 network 172.20.0.0 redistribute ospf 1 redistribute eigrp 2 default-metric 10000 100 255 1 1500 redistribute rip metric 50000 500 255 1 1500 • default-metriccommand is used where the metric parameter is not being applied in the redistribute command. • metric parameter takes precedence over the default-metriccommand • Note: The metric will give all redistributed networks the same starting metric. • This is known as the seed metric

  30. Redistribution into EIGRP 1000 33 255 1 R2-E-O(config)# router eigrp 1 R2-E-O(config-router)# redistribute ospf 1 R2-E-O(config-router)# default-metric 1000 33 255 1 1500 BW DLY RLY Load MTU OR R2-E-O(config)# router eigrp 1 R2-E-O(config-router)# redistribute ospf 1 metric 1000 33 255 1 1500 • Note: • MTU is NOT one of the EIGRP metrics (never has been, never will be) • MTU is included because it is tracked through the path to find the smallest MTU. BW DLY RLY Load MTU

  31. Redistribution into EIGRP R2-E-O# show ip eigrp top IP-EIGRP Topology Table for AS(1)/ID(192.168.1.1) P 172.16.0.4/30, 1 successors, FD is 2568448 viaRedistributed (2568448/0) P 172.16.0.0/30, 1 successors, FD is 2568448 viaRedistributed (2568448/0) P 172.16.1.0/24, 1 successors, FD is 2568448 viaRedistributed (2568448/0) P 172.17.0.0/16, 1 successors, FD is 2568448 via Redistributed (2568448/0) P 172.16.2.0/24, 1 successors, FD is 2568448 via Redistributed (2568448/0) EIGRP topology table lists the outgoing interface as "via redistributed" • New Entries All the redistributed routes have the same feasible distance (FD) calculation (2568448), because all use the same component metrics per the configured default-metric command

  32. Redistribution into EIGRP R2-E-O# show ip eigrp top 172.16.0.0/30 IP-EIGRP (AS 1): Topology entry for 172.16.0.0/30 State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2568448 Routing Descriptor Blocks: 0.0.0.0, from Redistributed, Send flag is 0x0 Composite metric is (2568448/0), Route is External Vector metric: Minimum bandwidth is 1000 Kbit Total delay is 330 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 0 External data: Originating router is 192.168.1.1 (this system) AS number of route is 1 External protocol is OSPF, external metric is 0 Administrator tag is 0 (0x00000000) From default-metric command "(this system)", meaning that the router on which the command was issued (R2 in this case) redistributed the route.

  33. Great! Now I see all the networks in the OSPF domain but as EIGRP routes. Redistribution into EIGRP R1-E# show ip route D EX 172.17.0.0/16 [170/3080448] via 172.30.0.2, 00:01:50, Serial0/0 172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks D EX 172.16.0.4/30 [170/3080448] via 172.30.0.2, 00:01:50, Serial0/0 D EX 172.16.0.0/30 [170/3080448] via 172.30.0.2, 00:01:50, Serial0/0 D EX 172.16.1.0/24 [170/3080448] via 172.30.0.2, 00:01:50, Serial0/0 D EX 172.16.2.0/24 [170/3080448] via 172.30.0.2, 00:01:50, Serial0/0 C 172.31.0.0/16 is directly connected, Loopback31 172.30.0.0/16 is variably subnetted, 6 subnets, 3 masks C 172.30.2.0/24 is directly connected, FastEthernet0/1 C 172.30.3.0/24 is directly connected, Loopback0 C 172.30.0.0/30 is directly connected, Serial0/0 D 172.30.0.0/16 is a summary, 00:12:08, Null0 C 172.30.1.0/24 is directly connected, FastEthernet0/0 C 172.30.4.0/24 is directly connected, Loopback1 • EX: External Route (redistributed) • 170: Administrative distance (90 for EIGRP internal routes) • R1-E has the same metric (3080448) for all external EIGRP networks (from the OSPF domain)

  34. Redistribution into EIGRP R2-E-O# show ip eigrp top P 172.16.0.0/30, 1 successors, FD is 2568448 viaRedistributed (2568448/0) • R2 redistributed into EIGRP the routes learned via OSPF and its own directly connected network 172.16.0.0/30. • But not 192.168.1.0/24 and 10.0.0.0/8 • This is because 172.16.0.0/30 is an OSPF enabled interface (network statement) • Redistribute command, redistributes the following: • All routes in the routing table learned by that routing protocol • All connected routes of interfaces on which that routing protocol is enabled • Otherwise must be redistributed another way (connected or static) – coming

  35. Redistribution into EIGRP What about the 10.0.0.0/24 network? How can I redistribute it into EIGRP? R2-E-O(config)# router ospf 1 R2-E-O(config-router)# network 10.0.0.0 0.0.0.255 area 0 R2-E-O# show ip route 10.0.0.0/24 is subnetted, 1 subnets C 10.0.0.0 is directly connected, FastEthernet0/1 • Two ways to redistribute 10.0.0.0/24 network. • Redistribute Connected • Add OSPF network command • Also propagates 10.0.0.0/24 throughout OSPF domain No change to routing table

  36. The 10.0.0.0 network is now included as one of my EIGRP routes. Redistribution into EIGRP R1-E# show ip route D EX 10.0.0.0 [170/3080448] via 172.30.0.2, 00:01:33, Serial0/0 R4-0# show ip route O 10.0.0.0 [110/129] via 172.16.0.5, 00:04:02, Serial0/0 • 10.0.0.0 is now redistributed into the EIGRP domain with the rest of the OSPF networks.

  37. Redistribution into EIGRP What about the 192.168.1.0 network? How can I redistribute it into EIGRP? R2-E-O(config)# router eigrp 1 R2-E-O(config-router)# redistribute connected metric 1000 33 255 1 1500 R1-E# show ip route 10.0.0.0/24 is subnetted, 1 subnets D EX 10.0.0.0 [170/3080448] via 172.30.0.2, 00:01:57, Serial0/0 D EX 192.168.1.0/24[170/3080448] via 172.30.0.2, 00:01:57, Serial0/0 R1-E# • 192.168.1.0/24 is redistributed into EIGRP as a connected network. • metric option is not required for this command (default 0, but beyond the scope of this pres.) • 192.168.1.0/24 is redistributed into the EIGRP domain using the default metric but it is NOT propagated throughout OSPF domain

  38. Redistribution into EIGRP R2: Currently router eigrp 1 network 172.30.0.0 auto-summary redistribute ospf 1 default-metric 1000 33 255 1 1500 redistribute connected 1000 33 255 1 1500 ! router ospf 1 network 10.0.0.0 0.0.0.255 area 0 network 172.16.0.0 0.0.0.3 area 0 • Where we left off…

  39. Redistributing from EIGRP into OSPF

  40. Redistribution into OSPF BW/DLY BW redistributeprotocol [process-id | as-number] [metric {metric-value | transparent}] [metric-type type-value] [match {internal | external 1| external 2 | nssa-external}][tagtag-value] [route-map map-tag] [subnets] • Several similarities and differences to redistributing into EIGRP. • In this case we must convert the EIGRP metric to the Cisco OSPF metric of Bandwidth.

  41. Redistribution into OSPF redistributeprotocol [process-id | as-number] [metric {metric-value | transparent}] [metric-type type-value] [match {internal | external 1| external 2 | nssa-external}][tagtag-value] [route-map map-tag] [subnets] • Metric - Defines the cost metric assigned to the route in the Type 5 (or Type 7 if NSSA) LSA. metric transparent when taking from another OSPF process, pass through the metric with the route. • metric-type {1 | 2} - Defines the external metric type of 1 (E1 routes) or 2 (E2 routes). • Match - If redistributing from OSPF, this keyword lets you match internal OSPF routes, external (by type), and NSSA external routes, essentially filtering which routes are redistributed. • Tag - Assigns a unitless integer value to the route, which can be later matched by other routers using a route-map. • route-map - Apply the logic in the referenced route-map to filter routes, set metrics, and set route tags. • Subnets - Redistribute subnets of classful networks. Without this parameter, only routes for classful networks are redistributed. (This behavior is particular to the OSPF redistribute command.)

  42. Redistribution into OSPF BW/DLY BW=20 BW=20 redistributeprotocol [process-id | as-number] [metric {metric-value | transparent}] [metric-type type-value] [match {internal | external 1| external 2 | nssa-external}][tagtag-value] [route-map map-tag] [subnets] • Defaults when redistributing into OSPF: • When redistributing networks from all other sources the default metric is 20. • External metric type 2 (metric does not change throughout OSPF routing domain) • Only redistributes routes of classful (Class A, B, and C) networks, and not for subnets

  43. Redistribution into OSPF R2: Currently router eigrp 1 network 172.30.0.0 auto-summary redistribute ospf 1 default-metric 1000 33 255 1 1500 redistribute connected 1000 33 255 1 1500 ! router ospf 1 network 10.0.0.0 0.0.0.255 area 0 network 172.16.0.0 0.0.0.3 area 0 • Where we left off…

  44. Redistribution into OSPF What do you expect to see? EIGRP and OSPF networks What networks do I know about and how did I learn about them? R2-E-O# show ip route O 172.17.0.0/16 [110/846] via 172.16.0.1, 00:02:32, Serial0/1 172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks O 172.16.0.4/30 [110/845] via 172.16.0.1, 00:02:32, Serial0/1 C 172.16.0.0/30 is directly connected, Serial0/1 O 172.16.1.0/24 [110/782] via 172.16.0.1, 00:02:32, Serial0/1 O 172.16.2.0/24 [110/846] via 172.16.0.1, 00:02:32, Serial0/1 D 172.31.0.0/16 [90/20640000] via 172.30.0.1, 00:03:46, Serial0/0 172.30.0.0/16 is variably subnetted, 5 subnets, 2 masks D 172.30.2.0/24 [90/20514560] via 172.30.0.1, 01:22:36, Serial0/0 D 172.30.3.0/24 [90/20640000] via 172.30.0.1, 01:22:36, Serial0/0 C 172.30.0.0/30 is directly connected, Serial0/0 D 172.30.1.0/24 [90/20514560] via 172.30.0.1, 01:22:36, Serial0/0 D 172.30.4.0/24 [90/20640000] via 172.30.0.1, 01:22:36, Serial0/0 10.0.0.0/24 is subnetted, 1 subnets C 10.0.0.0 is directly connected, FastEthernet0/1 C 192.168.1.0/24 is directly connected, FastEthernet0/0 R2-E-O#

  45. Redistribution into OSPF R2-E-O# show ip ospf data OSPF Router with ID (192.168.1.1) (Process ID 1) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count 172.16.1.1 172.16.1.1 85 0x80000005 0x006220 5 172.30.0.6 172.30.0.6 2000 0x80000006 0x006BB4 4 192.168.1.1 192.168.1.1 1117 0x80000003 0x009742 3 R2-E-O# • No External Type 5 LSAs • No EIGRP networks being redistributed into OSPF

  46. Redistribution into OSPF R2-E-O(config)# router ospf 1 R2-E-O(config-router)# redistribute eigrp 1 % Only classful networks will be redistributed R2-E-O(config-router)# R2-E-O# show ip ospf data <Router Link States omitted> Type-5 AS External Link States Link ID ADV Router Age Seq# Checksum Tag 172.31.0.0 192.168.1.1 9 0x80000001 0x0094D4 0 R2-E-O# • By default, only classful networks will be redistributed from EIGRP into OSPF. • Subnets will not be redistributed • Supernets will also be redistributed (such as 173.0.0.0/8)

  47. Redistribution into OSPF Remember, routes are only Redistributed if they are in the Routing table R2-E-O# show ip route O 172.17.0.0/16 [110/846] via 172.16.0.1, 00:03:56, Serial0/1 172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks O 172.16.0.4/30 [110/845] via 172.16.0.1, 00:03:56, Serial0/1 C 172.16.0.0/30 is directly connected, Serial0/1 O 172.16.1.0/24 [110/782] via 172.16.0.1, 00:03:56, Serial0/1 O 172.16.2.0/24 [110/846] via 172.16.0.1, 00:03:56, Serial0/1 D 172.31.0.0/16 [90/20640000] via 172.30.0.1, 00:18:29, Serial0/0 172.30.0.0/16 is variably subnetted, 5 subnets, 2 masks D 172.30.2.0/24 [90/20514560] via 172.30.0.1, 01:37:19, Serial0/0 D 172.30.3.0/24 [90/20640000] via 172.30.0.1, 01:37:19, Serial0/0 C 172.30.0.0/30 is directly connected, Serial0/0 D 172.30.1.0/24 [90/20514560] via 172.30.0.1, 01:37:19, Serial0/0 D 172.30.4.0/24 [90/20640000] via 172.30.0.1, 01:37:19, Serial0/0 10.0.0.0/24 is subnetted, 1 subnets C 10.0.0.0 is directly connected, FastEthernet0/1 C 192.168.1.0/24 is directly connected, FastEthernet0/0

  48. Redistribution into OSPF I only see the class B 172.31.0.0/16 network in the EIGRP domain. R3-O# show ip route O 172.17.0.0/16 [110/65] via 172.16.0.6, 00:01:16, Serial0/2 172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks C 172.16.0.4/30 is directly connected, Serial0/2 C 172.16.0.0/30 is directly connected, Serial0/1 C 172.16.1.0/24 is directly connected, FastEthernet0/0 O 172.16.2.0/24 [110/65] via 172.16.0.6, 00:01:16, Serial0/2 O E2 172.31.0.0/16 [110/20] via 172.16.0.2, 00:01:16, Serial0/1 10.0.0.0/24 is subnetted, 1 subnets O 10.0.0.0 [110/65] via 172.16.0.2, 00:01:17, Serial0/1 R3-O# • Only the class B network 172.31.0.0/16 is redistributed into OSPF

  49. Redistribution into OSPF R3-O# show ip ospf data <Router Link States omitted> Type-5 AS External Link States Link ID ADV Router Age Seq# Checksum Tag 172.31.0.0 192.168.1.1 88 0x80000001 0x0094D4 0 R3-O# • External Type 5 LSA

  50. Redistribution into OSPF I will add the subnets option. R2-E-O(config)# router ospf 1 R2-E-O(config-router)# redistribute eigrp 1 subnets No warning message “Only classful networks will be redistributed” • Subnets – Subnets are now included in the redistribution.

More Related