1 00:00:08,810 --> 00:00:11,900 This is one of multiple OSPF videos. 2 00:00:12,200 --> 00:00:19,880 I was asked to explain OSPF multiple areas and this is one of multiple videos helping explain how OSPF 3 00:00:19,880 --> 00:00:23,120 works when you have multiple areas configured. 4 00:00:23,480 --> 00:00:25,070 Here's a question for you. 5 00:00:25,160 --> 00:00:32,600 In this topology, which OSPF router types are you able to identify as an example? 6 00:00:32,600 --> 00:00:40,370 Which routers in this topology are area border routers or neighbors which rather or routers are backbone 7 00:00:40,370 --> 00:00:48,140 routers, which router or routers are internal routers, which router or routers are Espers or autonomous 8 00:00:48,140 --> 00:00:49,460 system border routers. 9 00:00:49,700 --> 00:00:54,620 So in this topology, we have IGP running on the left hand side. 10 00:00:54,650 --> 00:01:05,330 Then we have OSPF Area one, OSPF Area zero, and OSPF area to an ABR or area border router is a router 11 00:01:05,330 --> 00:01:08,090 that has interfaces in multiple areas. 12 00:01:08,480 --> 00:01:16,130 So as an example, router three is an area border router because it has an interface in area one and 13 00:01:16,130 --> 00:01:18,290 an interface and area zero. 14 00:01:18,740 --> 00:01:26,750 Router five is an area border rider because it has an interface in Area Zero and an interface an area 15 00:01:26,750 --> 00:01:27,560 two. 16 00:01:28,190 --> 00:01:35,360 Router two is an autonomous system border rider because it has an interface configured in a different 17 00:01:35,360 --> 00:01:42,170 routing protocol in this case IGP, and it has an interface configured in OSPF. 18 00:01:42,350 --> 00:01:46,610 So router two is an ASPIRE or autonomous system? 19 00:01:46,610 --> 00:01:47,480 Border Rider. 20 00:01:48,270 --> 00:01:53,160 Rather three and rather five are area border riders or ABS. 21 00:01:53,520 --> 00:01:55,890 Rather four is a backbone. 22 00:01:55,890 --> 00:01:57,870 Rather or backbone area. 23 00:01:57,870 --> 00:02:02,610 Rather it is a router with interfaces in the backbone area. 24 00:02:02,940 --> 00:02:05,990 Now riders can take on multiple roles. 25 00:02:06,000 --> 00:02:13,530 So rather three and rather five are also backbone routers in that they have interfaces in the backbone 26 00:02:13,530 --> 00:02:15,070 or area zero. 27 00:02:15,090 --> 00:02:19,740 But if you were asked to this question, I would answer that rather three and rather five. 28 00:02:19,740 --> 00:02:21,540 Our area, border riders. 29 00:02:22,110 --> 00:02:29,600 Area border riders always touch the backbone area, a virtual link, so out of the scope of the CCNA. 30 00:02:29,880 --> 00:02:38,250 But I will discuss how to configure virtual links which allow you to pull or extend the backbone area 31 00:02:38,370 --> 00:02:40,650 across another area. 32 00:02:40,740 --> 00:02:48,750 So Area Zero would be extended across another area such as area one to allow an area border router to 33 00:02:48,750 --> 00:02:55,620 have an interface in the backbone area and meet the criteria that an area border rider must touch. 34 00:02:55,620 --> 00:03:00,450 The backbone area router six is an internal router. 35 00:03:00,600 --> 00:03:04,740 It's a router with interfaces only in an internal area. 36 00:03:04,770 --> 00:03:06,660 In other words, area two. 37 00:03:07,550 --> 00:03:11,720 So now that we know the right of types, let's configure these routers. 38 00:03:12,600 --> 00:03:16,170 These routers have just booted up and have no configuration. 39 00:03:19,280 --> 00:03:24,500 So I'll bypass the initial configuration of the routers so that we can configure them manually. 40 00:03:25,220 --> 00:03:29,360 So on router one, this is the router on the left hand side. 41 00:03:29,810 --> 00:03:36,440 I'm going to configure interfaces in these subnets as per the diagram. 42 00:03:37,560 --> 00:03:46,140 As well as configure a loopback on the routers with a IP address of the router name. 43 00:03:46,830 --> 00:03:48,210 So this is rather one. 44 00:03:48,210 --> 00:03:50,520 So we'll configure the loopback as follows. 45 00:03:50,520 --> 00:03:56,220 So do show IP interface brief shows us the IP address as configured on the router. 46 00:03:56,700 --> 00:04:02,400 Now this router will only run IGP, so we'll configure. 47 00:04:04,420 --> 00:04:16,510 IGP on this rota, in this example in Autonomous System 100 and I'm going to configure IGP on all interfaces 48 00:04:16,510 --> 00:04:17,470 of the router. 49 00:04:19,500 --> 00:04:21,990 I'll also turn off automatic summarization. 50 00:04:22,290 --> 00:04:32,610 So do show IP copy interface shows us that IP is enabled on the gigabit zero zero interface and the 51 00:04:32,610 --> 00:04:33,900 loopback interface. 52 00:04:35,310 --> 00:04:42,820 He has brought a to configure a hostname of rather to go on to the gigabyte zero interface. 53 00:04:42,840 --> 00:04:46,230 No, shut it and give it an IP address of ten 112. 54 00:04:47,100 --> 00:04:49,650 Slash 24 mosque. 55 00:04:51,430 --> 00:04:52,390 Interface gigabit. 56 00:04:52,420 --> 00:04:54,300 Zero one IP Address. 57 00:04:54,310 --> 00:04:56,620 Ten 121. 58 00:04:58,760 --> 00:05:03,920 Slash 24 mask and I'll create a loopback of quadruple to. 59 00:05:04,740 --> 00:05:09,060 Now this Rada needs to run two writing protocols. 60 00:05:09,330 --> 00:05:18,420 Firstly, it needs to run GP and I want to enable GP only on gigabit zero zero. 61 00:05:20,140 --> 00:05:22,960 So notice the eye dropping neighbor relationship has come up. 62 00:05:23,140 --> 00:05:29,860 So do show IP copy neighbor shows us the neighbor relationship. 63 00:05:30,640 --> 00:05:38,050 Now do show IP interface brief shows us that the IP address configured on gigabit is zero zero is this 64 00:05:38,050 --> 00:05:40,870 ten 112 and do show. 65 00:05:41,020 --> 00:05:51,490 Run pipe section IGP shows us that we've only configured IP on that interface. 66 00:05:52,730 --> 00:05:57,620 I'll enable OSPF in this example on ten one, two, one. 67 00:05:59,770 --> 00:06:05,560 This is the gigabit zero one interface and I'll configure it in area one. 68 00:06:05,680 --> 00:06:18,310 So do show IP OSPF interface brief shows us that OSPF is enabled on gigabit zero one in area one and 69 00:06:18,310 --> 00:06:19,900 process ID one. 70 00:06:20,170 --> 00:06:24,580 Process ID was this number area number we configured over there. 71 00:06:25,000 --> 00:06:31,540 After a while we'll see the state go to DDR if we don't configure router three quickly. 72 00:06:31,690 --> 00:06:33,460 But I'm not going to do that right now. 73 00:06:34,820 --> 00:06:38,870 Rather two is an autonomous system border rider. 74 00:06:38,900 --> 00:06:43,640 We need to do what's called redistribution from one routing protocol to another. 75 00:06:44,150 --> 00:06:53,720 So basically we need to translate, if you like, or import routes from one routing protocol into another. 76 00:06:53,870 --> 00:07:01,730 This is very similar to translating a language like French into English or English into Spanish. 77 00:07:01,850 --> 00:07:07,040 We are going to translate routes from one routing protocol into another. 78 00:07:07,340 --> 00:07:14,450 Often as it is in the real world, when you translate from one language to another, you can lose meaning. 79 00:07:14,840 --> 00:07:17,030 So sometimes words in one language. 80 00:07:18,170 --> 00:07:21,350 Don't quite mean the same thing in another language. 81 00:07:21,380 --> 00:07:30,080 And that's true when you do Redistribution II GOP supports different metrics or different ways of determining 82 00:07:30,080 --> 00:07:32,830 the best route when compared to OSPF. 83 00:07:32,840 --> 00:07:39,860 So when we redistribute IGP into OSPF, we can change what's called the seed metric. 84 00:07:40,220 --> 00:07:42,470 OSPF will set it by default. 85 00:07:42,500 --> 00:07:49,370 We can also change the default cost of a route that's redistributed. 86 00:07:49,700 --> 00:07:53,450 ERP uses bandwidth and delay to determine the best route. 87 00:07:53,750 --> 00:08:00,230 OSPF doesn't understand that it only understands bandwidth, so you typically need to specify a seed 88 00:08:00,230 --> 00:08:03,590 metric when you redistribute routes into a routing protocol. 89 00:08:03,770 --> 00:08:11,210 OSPF has a default, but notice when we redistribute OSPF into IGP, we're going to want to specify 90 00:08:11,210 --> 00:08:15,530 a metric and you'll often see the metric. 91 00:08:16,570 --> 00:08:19,030 Written something like this. 92 00:08:20,630 --> 00:08:26,990 So we are taking rats from OSPF and advertising them into air drop and we are also advertising routes 93 00:08:26,990 --> 00:08:30,760 from air drop into OSPF. 94 00:08:30,770 --> 00:08:33,830 That's what an area border router does. 95 00:08:34,100 --> 00:08:42,740 Now at the moment I've only enabled OSPF on gigabit zero one and ergo P on gigabit zero zero. 96 00:08:42,770 --> 00:08:48,080 What I'll do with a loopback is advertise that into OSPF. 97 00:08:48,500 --> 00:08:52,340 So advertise this network into OSPF. 98 00:08:52,730 --> 00:09:01,190 So now when we use the command show IP OSPF database, you can see different LSA types in the database. 99 00:09:01,490 --> 00:09:06,050 We've got what's called LSA type one, or rather LSA. 100 00:09:06,080 --> 00:09:09,080 At the moment we only have one router in the database. 101 00:09:10,580 --> 00:09:15,050 We have LSA Type two or summary Alice's. 102 00:09:16,290 --> 00:09:20,900 Now, I did make a mistake here and as I put that interface into Area Zero. 103 00:09:21,120 --> 00:09:25,950 Actually want to put that into area one hence. 104 00:09:27,900 --> 00:09:33,610 US seeing Area zero and Area one in the link state database. 105 00:09:34,060 --> 00:09:40,000 So I'm going to remove that from Area Zero and put that into Area one. 106 00:09:40,000 --> 00:09:43,270 So show IP OSPF database. 107 00:09:43,270 --> 00:09:50,200 We only see Area one in the database for type one and type two. 108 00:09:50,200 --> 00:09:57,490 Liz's type one is once again router aliases, type two or summary aliases, and we have what are called 109 00:09:57,490 --> 00:09:58,960 type five lists. 110 00:09:59,080 --> 00:10:02,560 These are routes that came from a different routing protocol. 111 00:10:02,650 --> 00:10:10,840 In other words, they were redistributed by an SVR or autonomous system border router into OSPF, and 112 00:10:10,840 --> 00:10:13,510 that's what Rather two is doing in the topology. 113 00:10:13,780 --> 00:10:20,740 So at the moment, if we type show IP route, we will see the loopback of router one in the routing 114 00:10:20,740 --> 00:10:21,340 table. 115 00:10:21,370 --> 00:10:33,490 As a parent and on router one we see the loopback of router two advertised into IGP as an external route. 116 00:10:33,490 --> 00:10:41,170 It was redistributed from OSPF into IGP and that's also true for this route. 117 00:10:41,440 --> 00:10:43,510 So those are called external routes. 118 00:10:43,510 --> 00:10:46,240 They came from a different routing protocol. 119 00:10:46,570 --> 00:10:48,400 I hope you found this video useful. 120 00:10:48,400 --> 00:10:53,200 If it's been of benefit to you, please like it and please subscribe to my YouTube channel. 121 00:10:53,440 --> 00:10:55,360 I wish you all the very best.