1 00:00:09,010 --> 00:00:14,560 This is one of multiple videos discussing multi area OSPF. 2 00:00:14,860 --> 00:00:19,660 This is both a troubleshooting as well as an explanation of video. 3 00:00:20,170 --> 00:00:28,270 We've been told in this topology that router one on the left is not able to ping router six on the right, 4 00:00:28,720 --> 00:00:32,880 router one is running IGP. 5 00:00:32,890 --> 00:00:35,590 So the command show IP protocols. 6 00:00:36,370 --> 00:00:42,790 Shows us that the only routing protocol enabled on this rudder is air GOP. 7 00:00:44,700 --> 00:00:52,530 En route of six show IP protocols shows us that OSPF is enabled on router six. 8 00:00:53,670 --> 00:01:05,099 We can also see that the router has a loopback address of 6.6.6.6, so quadruple six can write a one 9 00:01:05,519 --> 00:01:10,410 ping that address and the answer is no pings or failing. 10 00:01:14,750 --> 00:01:23,660 All disable IP domain, look up to speed things up and let's do a trace to that loopback after the moment 11 00:01:23,660 --> 00:01:25,700 of the trace is going nowhere. 12 00:01:27,910 --> 00:01:38,740 I'll do a debug IP packet to see what happens and I'll ping with only one ping to that address. 13 00:01:39,220 --> 00:01:42,460 So ping 6262626. 14 00:01:42,460 --> 00:01:43,750 Repeat one. 15 00:01:45,670 --> 00:01:47,530 And let's do that again. 16 00:01:50,300 --> 00:01:52,250 And I'll turn off debugging. 17 00:01:53,460 --> 00:01:54,570 Notice here. 18 00:01:54,600 --> 00:01:57,280 Source 1.1.1.1. 19 00:01:57,300 --> 00:01:59,760 Pinging 6262626. 20 00:02:00,030 --> 00:02:02,010 We're told that it's unreadable. 21 00:02:02,980 --> 00:02:06,640 These are the messages are air copy messages. 22 00:02:06,670 --> 00:02:08,889 The ping is unsuccessful. 23 00:02:09,820 --> 00:02:16,750 So show IP rot shows us that that network doesn't exist in the routing table. 24 00:02:18,130 --> 00:02:26,740 If we try and ping ten .1.5.1, that also fails and so does 10.15 to 2. 25 00:02:27,970 --> 00:02:33,010 So we can't ping this network or the loopback of router six. 26 00:02:34,180 --> 00:02:36,250 What about the loopback of router five? 27 00:02:36,670 --> 00:02:41,170 So we able to ping the loopback or out of five, but not the loopback of router six. 28 00:02:41,170 --> 00:02:50,500 And if we trace to ten .1.5.1, the trace fails immediately because the route doesn't exist in the routing 29 00:02:50,530 --> 00:02:51,190 table. 30 00:02:51,850 --> 00:03:00,820 Ten .1.4.0 does exist in the routing table, so we can ping 10.1 to 4 to one as well as ten .1.422. 31 00:03:00,970 --> 00:03:04,090 In other words, we can get to this network. 32 00:03:04,860 --> 00:03:09,390 Now again, we are running choppy on this router. 33 00:03:10,050 --> 00:03:14,700 So these routes have been redistributed from OSPF into IGP. 34 00:03:15,900 --> 00:03:22,410 Let's look at rather two and see if rather two can ping the loopback of router six. 35 00:03:22,740 --> 00:03:27,060 It's not able to do that, so show IP route. 36 00:03:27,360 --> 00:03:31,800 We are not seeing that loopback in the routing table. 37 00:03:32,760 --> 00:03:34,440 So let's have a look at out of five. 38 00:03:36,420 --> 00:03:41,610 Ken Rotter five paying the loot back of Rider six. 39 00:03:42,450 --> 00:03:45,270 The answer is it can so show IP route. 40 00:03:45,780 --> 00:03:48,250 It's able to ping the loopback or write a six. 41 00:03:48,270 --> 00:03:53,790 The loopback exists as an OSPF rat in the routing table of right of five. 42 00:03:53,880 --> 00:03:55,470 What about router four? 43 00:03:58,150 --> 00:04:09,400 Paying loopback over out of six that ping fails show IP route that two loopback doesn't exist in the 44 00:04:09,400 --> 00:04:10,360 routing table. 45 00:04:11,080 --> 00:04:19,029 So let's have a look at router of five by using the command show IP protocols and tell me if you can 46 00:04:19,029 --> 00:04:22,540 see the problem by looking at this output. 47 00:04:23,290 --> 00:04:26,530 What do you think's the problem when you look at this output? 48 00:04:27,270 --> 00:04:35,130 And to give you a hint, I'll do the same command on router four to show IP protocols on router four. 49 00:04:35,460 --> 00:04:37,380 There's the output for router four. 50 00:04:38,720 --> 00:04:41,270 He has the output four out of five. 51 00:04:41,360 --> 00:04:45,620 What's the problem with this configuration? 52 00:04:47,680 --> 00:04:48,010 Okay. 53 00:04:48,010 --> 00:04:50,230 So notice the following. 54 00:04:50,590 --> 00:04:54,220 It's routing for areas one and two. 55 00:04:55,040 --> 00:05:01,520 The strata has interfaces in multiple areas but doesn't have area zero configured. 56 00:05:02,450 --> 00:05:05,090 So show run section OSPF. 57 00:05:05,880 --> 00:05:14,760 Shows us that the router is configured for Area one and Area two, but is not configured for Area zero. 58 00:05:15,760 --> 00:05:19,900 Waterfall is configured for Area one. 59 00:05:20,320 --> 00:05:27,160 It's a requirement in OSPF that area zero be connected to other areas. 60 00:05:27,880 --> 00:05:30,520 In other words, this is configured as area one. 61 00:05:32,420 --> 00:05:40,730 This is configured as area two, but area two is not adjacent or bordering area zero. 62 00:05:41,180 --> 00:05:42,650 That's a problem. 63 00:05:42,830 --> 00:05:53,750 If we look at router three over here, show IP protocols, we can see that this router is configured 64 00:05:53,750 --> 00:05:55,670 as an area border router. 65 00:05:56,510 --> 00:06:01,850 It has interfaces in area zero and interfaces in area one. 66 00:06:01,850 --> 00:06:11,600 So show IP OSPF interface brief shows us that gigabit zero zero is configured in area zero gigabit zero 67 00:06:11,600 --> 00:06:14,330 one is configured in area one. 68 00:06:14,330 --> 00:06:15,680 So that looks good. 69 00:06:16,490 --> 00:06:19,700 But rather five isn't configured in that way. 70 00:06:20,030 --> 00:06:24,320 So show IP OSPF interface brief notice. 71 00:06:24,320 --> 00:06:31,280 It has interfaces in area one and area two, but not in area zero. 72 00:06:32,000 --> 00:06:42,200 That's why rather one can ping the loopback of router four and the loopback of router five, but not 73 00:06:42,200 --> 00:06:43,820 the loopback of router six. 74 00:06:44,750 --> 00:06:45,920 Because. 75 00:06:48,590 --> 00:06:51,890 OSPF is correctly configured with Area zero. 76 00:06:53,530 --> 00:06:55,690 And Area one over here. 77 00:06:55,720 --> 00:06:56,890 It works. 78 00:06:57,160 --> 00:06:59,110 But here we have a problem. 79 00:06:59,320 --> 00:07:02,920 We need to create what's called a virtual link. 80 00:07:04,260 --> 00:07:08,430 Between rather three and rather five. 81 00:07:08,580 --> 00:07:18,660 So we have to essentially pull or extend area zero from router three to right of five to make root of 82 00:07:18,660 --> 00:07:20,580 five and area border router. 83 00:07:21,250 --> 00:07:31,060 So we will be essentially creating a tunnel where Area Zero traverses across area one to router five. 84 00:07:31,300 --> 00:07:34,840 Area zero is going to be tunneled across area one. 85 00:07:35,020 --> 00:07:43,630 So that root of five becomes an area border rider, which means that Area two is adjacent to area zero. 86 00:07:44,570 --> 00:07:47,060 That is required in OSPF. 87 00:07:47,300 --> 00:07:54,740 All areas have to be adjacent to area zero when you have multiple OSPF areas. 88 00:07:55,880 --> 00:07:58,210 So show run section OSPF. 89 00:07:58,220 --> 00:08:01,040 We can see the configuration of router three. 90 00:08:02,910 --> 00:08:12,060 Now when you create your virtual links, you have to configure the other side using the router ID, 91 00:08:12,090 --> 00:08:15,840 not the IP address of the router but the router ID. 92 00:08:16,500 --> 00:08:23,580 So the command show ip ospf interface will show us the local routers router id. 93 00:08:24,400 --> 00:08:28,120 So the rata ID is 3 to 3 to 3 to 3. 94 00:08:29,260 --> 00:08:34,740 We can also use the command show ip ospf and we'll be able to see that router id. 95 00:08:34,750 --> 00:08:38,530 So notice router ids 3.32323. 96 00:08:40,190 --> 00:08:44,290 En route of five show IP OSPF. 97 00:08:45,160 --> 00:08:48,100 The right ID is 5.5 to 5.5. 98 00:08:49,280 --> 00:08:54,320 So back on route a three show run section OSPF. 99 00:08:56,740 --> 00:09:00,070 That's the configuration of OSPF on router three. 100 00:09:02,180 --> 00:09:06,230 And that's the configuration of rather of five. 101 00:09:07,710 --> 00:09:07,980 So. 102 00:09:07,980 --> 00:09:08,820 Rather three. 103 00:09:08,850 --> 00:09:09,750 Rather. 104 00:09:10,620 --> 00:09:12,150 OSPF one. 105 00:09:12,900 --> 00:09:14,550 Area one. 106 00:09:14,580 --> 00:09:18,000 This is the area that we are traversing. 107 00:09:18,980 --> 00:09:26,150 The Virtual link and the neighbors router ID is 5.5 to 5.5. 108 00:09:26,480 --> 00:09:30,550 Now there are options where you can set authentication and other options. 109 00:09:30,560 --> 00:09:31,640 I'm not going to do that. 110 00:09:31,640 --> 00:09:34,640 I'm simply going to create the virtual link. 111 00:09:36,270 --> 00:09:38,490 So Radha ospf one. 112 00:09:40,610 --> 00:09:41,180 Area. 113 00:09:41,180 --> 00:09:49,340 One virtual link and the right ID that we'll connect to on this side is 3.3 to 3.3. 114 00:09:50,090 --> 00:09:54,760 So show ip ospf neighbor. 115 00:09:54,770 --> 00:09:57,470 You can see that a neighbor relationship was established. 116 00:09:58,710 --> 00:10:01,680 Using Virtual Link zero. 117 00:10:02,380 --> 00:10:04,060 We can see that over here. 118 00:10:04,510 --> 00:10:07,450 No election takes place on a virtual link. 119 00:10:08,920 --> 00:10:11,290 Show ip ospf neighbor. 120 00:10:11,320 --> 00:10:13,590 On this side we can see something similar. 121 00:10:13,690 --> 00:10:22,540 A neighbor relationship has been formed from router three directly to router five through the OSPF virtual 122 00:10:22,540 --> 00:10:23,170 link. 123 00:10:23,410 --> 00:10:29,590 So logically it's as if these two routers rather three and router five are connected to one another. 124 00:10:30,420 --> 00:10:34,980 So Ken wrote a three ping the loopback of router six. 125 00:10:35,610 --> 00:10:38,940 Notice the router is in the routing table, so that looks better. 126 00:10:39,480 --> 00:10:44,370 And notice router three can ping the loopback of router six. 127 00:10:44,910 --> 00:10:54,990 And if we go back to router one, right, a one can now ping the loopback of router six and when we 128 00:10:54,990 --> 00:10:58,230 do a trace notice it goes to router two. 129 00:10:59,250 --> 00:11:02,130 Rather three out of four. 130 00:11:03,110 --> 00:11:05,810 We're out of five and rather six. 131 00:11:06,770 --> 00:11:10,040 This tunnel is not like a jerry tunnel. 132 00:11:10,070 --> 00:11:12,340 It's an OSPF mechanism. 133 00:11:12,350 --> 00:11:20,690 So traffic still goes via the physical links and you see every hop in the network which you wouldn't 134 00:11:20,690 --> 00:11:23,330 see if you were using Jerry. 135 00:11:23,540 --> 00:11:28,340 The virtual link is simply used for OSPF link advertisements. 136 00:11:28,940 --> 00:11:31,220 So in other words, to advertise routes. 137 00:11:31,850 --> 00:11:34,070 So we've now solved the problem. 138 00:11:34,070 --> 00:11:40,370 We've been able to configure the network to allow right of one to ping router six. 139 00:11:41,180 --> 00:11:43,880 Let's have a look at some more information on router three. 140 00:11:44,540 --> 00:11:46,160 So show IP route. 141 00:11:46,880 --> 00:11:52,760 We are learning about that network as an inter area network. 142 00:11:53,210 --> 00:11:55,230 It's coming from a separate area. 143 00:11:55,250 --> 00:11:57,740 So IP OSPF database. 144 00:11:59,010 --> 00:12:07,950 For Area zero notice we have rather two, rather three and root of five in area zero. 145 00:12:08,610 --> 00:12:10,710 Rather five is shown his DNA. 146 00:12:11,100 --> 00:12:13,410 The neighbor relationship will not age. 147 00:12:13,410 --> 00:12:20,130 So do not age this neighbor relationship because it's set through a virtual link. 148 00:12:20,950 --> 00:12:27,520 So we see rather link states or LSA type ones, net link states or LSA type tos. 149 00:12:28,270 --> 00:12:31,780 We see summary losses or LSA type threes. 150 00:12:33,070 --> 00:12:41,530 We see something similar for Area one and we see external routes in the OSPF database. 151 00:12:45,700 --> 00:12:54,220 So that was an example of how to configure OSPF virtual links to solve a problem where you've got an 152 00:12:54,220 --> 00:12:59,650 area separated by another area which is not area zero. 153 00:13:00,520 --> 00:13:04,320 In OSPF, all areas have to touch the backbone area. 154 00:13:04,330 --> 00:13:06,160 In other words, area zero. 155 00:13:06,370 --> 00:13:15,700 So here we are extending area zero across area one to meet the OSPF design criteria. 156 00:13:16,570 --> 00:13:18,180 I hope you enjoyed this video. 157 00:13:18,190 --> 00:13:23,170 If you did, please like it and please subscribe to my YouTube channel. 158 00:13:23,530 --> 00:13:25,480 I wish you all the very best.