1 00:00:00,000 --> 00:00:03,808 [MUSIC PLAYING] 2 00:00:03,808 --> 00:00:07,150 3 00:00:07,150 --> 00:00:10,840 So now that we've seen internal versus external, now 4 00:00:10,840 --> 00:00:14,830 it's time for the showdown between internal and internal. 5 00:00:14,830 --> 00:00:18,800 And of course, what we mean by that is intra area, 6 00:00:18,800 --> 00:00:21,430 meaning routes learned within my own area, 7 00:00:21,430 --> 00:00:26,600 versus inter area routes learned from a different area. 8 00:00:26,600 --> 00:00:29,140 So effectively, we're talking about routes 9 00:00:29,140 --> 00:00:30,730 that would be learned from a type 1 10 00:00:30,730 --> 00:00:34,090 or a type 2 LSA for the area. 11 00:00:34,090 --> 00:00:38,480 And for a type 3 LSA, for the inter area. 12 00:00:38,480 --> 00:00:41,147 So once again, let's jump to our topology 13 00:00:41,147 --> 00:00:42,730 just to get a quick look at what we're 14 00:00:42,730 --> 00:00:44,530 going to be setting up and demonstrating. 15 00:00:44,530 --> 00:00:46,750 And then we'll jump onto the command line 16 00:00:46,750 --> 00:00:49,430 and see this in action. 17 00:00:49,430 --> 00:00:53,050 So in this demonstration, let's pick up right where we left off 18 00:00:53,050 --> 00:00:55,100 in our previous video. 19 00:00:55,100 --> 00:00:58,270 We already have a loopback on router 8. 20 00:00:58,270 --> 00:01:05,140 Again, this is the 100.100.100.0/24 network. 21 00:01:05,140 --> 00:01:08,600 And router 7 is currently preferring that. 22 00:01:08,600 --> 00:01:11,830 So we're going to start by examining this existing intra 23 00:01:11,830 --> 00:01:12,880 area route. 24 00:01:12,880 --> 00:01:15,130 We'll take a look at it on router 7. 25 00:01:15,130 --> 00:01:21,010 And then we'll create an inter area route with a low cost. 26 00:01:21,010 --> 00:01:23,290 Again, the idea here is we'll try 27 00:01:23,290 --> 00:01:27,100 to get it to prefer this inter area version. 28 00:01:27,100 --> 00:01:29,685 We'll create this on router 5. 29 00:01:29,685 --> 00:01:31,060 And again, we'll be bringing that 30 00:01:31,060 --> 00:01:35,860 in with a very low cost trying to get router 7 to prefer that. 31 00:01:35,860 --> 00:01:38,230 And of course, knowing our rule here, 32 00:01:38,230 --> 00:01:41,980 when we look at these results, what we should see 33 00:01:41,980 --> 00:01:45,280 is that router 7 is still going to be following the route 34 00:01:45,280 --> 00:01:49,000 to router 8, again, regardless of the cost 35 00:01:49,000 --> 00:01:52,870 because the intra area should beat the inter area 36 00:01:52,870 --> 00:01:55,000 route coming from router 5. 37 00:01:55,000 --> 00:01:56,980 So again, let's start out with our observations 38 00:01:56,980 --> 00:02:00,690 here on router 7. 39 00:02:00,690 --> 00:02:03,570 So again, we'll start off looking at that prefix. 40 00:02:03,570 --> 00:02:08,280 And we see that it is in fact being learned as an intra area 41 00:02:08,280 --> 00:02:11,520 route with a metric of 1001. 42 00:02:11,520 --> 00:02:14,640 And that this is coming from router 8. 43 00:02:14,640 --> 00:02:17,440 Router 8 also happens to be our next hop. 44 00:02:17,440 --> 00:02:21,450 So now let's create this inter area route 45 00:02:21,450 --> 00:02:23,490 by jumping over to router 5. 46 00:02:23,490 --> 00:02:27,030 So on router 5, we'll create an interface loopback 100. 47 00:02:27,030 --> 00:02:30,597 We'll set the address to 100.100.100.5. 48 00:02:30,597 --> 00:02:31,680 Once again, make it a /24. 49 00:02:31,680 --> 00:02:34,280 50 00:02:34,280 --> 00:02:38,010 We of course, have to make the network type point to point. 51 00:02:38,010 --> 00:02:41,170 And we put this into area 100. 52 00:02:41,170 --> 00:02:43,540 Now we don't have to set the cost on this one 53 00:02:43,540 --> 00:02:47,140 because if we do a show IP OSPF interface for loopback 54 00:02:47,140 --> 00:02:51,190 100, what we'll see is the default cost on this 55 00:02:51,190 --> 00:02:52,690 is already a one. 56 00:02:52,690 --> 00:02:55,570 So that's pretty much as low as it's going to get. 57 00:02:55,570 --> 00:02:57,940 So we're not going to be able to go any lower than that. 58 00:02:57,940 --> 00:03:02,500 But that should certainly beat the 1,000 coming from router 8. 59 00:03:02,500 --> 00:03:06,190 So let's jump back over to router 7 and view the results. 60 00:03:06,190 --> 00:03:08,410 Now again, it shouldn't be any big surprise 61 00:03:08,410 --> 00:03:11,150 that if we look at the route again, 62 00:03:11,150 --> 00:03:13,930 it's exactly the same as it was before. 63 00:03:13,930 --> 00:03:17,500 Nothing's changed by us bringing in this other route. 64 00:03:17,500 --> 00:03:21,670 This is because the intra area route is being preferred. 65 00:03:21,670 --> 00:03:23,500 But we should at least verify that we're 66 00:03:23,500 --> 00:03:24,470 getting the other one. 67 00:03:24,470 --> 00:03:27,100 So let's do a show IP OSPF database. 68 00:03:27,100 --> 00:03:31,000 And we'll say summary for the 100.100.100.0. 69 00:03:31,000 --> 00:03:34,060 Now we see we're actually getting two copies of this. 70 00:03:34,060 --> 00:03:36,400 One from 10.1.1.1. 71 00:03:36,400 --> 00:03:40,570 The other one, of course, from 10.3.3.3, the two ABRs. 72 00:03:40,570 --> 00:03:43,990 But the important thing is notice on both of these, 73 00:03:43,990 --> 00:03:47,410 the metric is three, which is certainly a heck of a lot 74 00:03:47,410 --> 00:03:49,750 lower than 1001. 75 00:03:49,750 --> 00:03:54,460 So once again, this is not coming down to lowest cost. 76 00:03:54,460 --> 00:03:56,980 This is coming down to preferring 77 00:03:56,980 --> 00:03:59,950 a route within your own area before you 78 00:03:59,950 --> 00:04:03,710 prefer to go to another area. 79 00:04:03,710 --> 00:04:07,540 So in this video, we took a look at our second rule 80 00:04:07,540 --> 00:04:10,760 in the OSPF path selection process, 81 00:04:10,760 --> 00:04:16,269 which is simply to prefer an intra area route over an inter 82 00:04:16,269 --> 00:04:17,390 area route. 83 00:04:17,390 --> 00:04:21,160 And once again, we proved that this is happening long 84 00:04:21,160 --> 00:04:24,400 before the lowest cost because ours 85 00:04:24,400 --> 00:04:26,680 was a significantly lower cost. 86 00:04:26,680 --> 00:04:30,040 And it still didn't get chosen as best. 87 00:04:30,040 --> 00:04:35,720 That area route still won over the inter area route. 88 00:04:35,720 --> 00:04:37,780 I hope this has been informative for you. 89 00:04:37,780 --> 00:04:40,860 And I'd like to thank you for viewing. 90 00:04:40,860 --> 00:04:44,000