1 00:00:00,120 --> 00:00:00,953 In this lesson, 2 00:00:00,953 --> 00:00:03,030 we're going to talk about route selection. 3 00:00:03,030 --> 00:00:04,380 Now, when we talk about routers, 4 00:00:04,380 --> 00:00:06,030 we have to think about how is traffic 5 00:00:06,030 --> 00:00:07,770 going to go across these routers 6 00:00:07,770 --> 00:00:09,570 and determine which path they're going to take. 7 00:00:09,570 --> 00:00:10,470 And that's what we're talking about 8 00:00:10,470 --> 00:00:12,390 when we talk about route selection. 9 00:00:12,390 --> 00:00:13,740 Now, when it comes to route selection, 10 00:00:13,740 --> 00:00:14,760 the first we have to consider 11 00:00:14,760 --> 00:00:17,100 is the believability of a route. 12 00:00:17,100 --> 00:00:18,240 Now, what exactly does that mean 13 00:00:18,240 --> 00:00:20,430 when we talk about the believability of a route? 14 00:00:20,430 --> 00:00:21,630 Well, let's say I have a network 15 00:00:21,630 --> 00:00:23,490 that's using more than one routing protocol, 16 00:00:23,490 --> 00:00:25,200 because my routers can support multiple 17 00:00:25,200 --> 00:00:26,790 protocols all at once. 18 00:00:26,790 --> 00:00:29,940 For example, I might be running RIP and I might have OSPF, 19 00:00:29,940 --> 00:00:31,260 and both of them are being used 20 00:00:31,260 --> 00:00:33,570 on the same router in the same network. 21 00:00:33,570 --> 00:00:35,730 So how do I know which one we're going to go with 22 00:00:35,730 --> 00:00:36,930 when a packet enters the router 23 00:00:36,930 --> 00:00:38,610 and has to be moved around the network? 24 00:00:38,610 --> 00:00:40,110 Well, these routing protocols 25 00:00:40,110 --> 00:00:42,450 are going to be considered more or less believable 26 00:00:42,450 --> 00:00:44,700 based on some different factors that we have. 27 00:00:44,700 --> 00:00:46,860 For example, RIP is an older protocol, 28 00:00:46,860 --> 00:00:49,530 and it's considered to be less believable than OSPF, 29 00:00:49,530 --> 00:00:51,120 which was a newer protocol. 30 00:00:51,120 --> 00:00:52,170 Now, why is that? 31 00:00:52,170 --> 00:00:55,530 Well, this is because routers use an index of believability, 32 00:00:55,530 --> 00:00:59,340 and we like to call this the AD or administrative distance. 33 00:00:59,340 --> 00:01:01,830 Now, if a route has a lower administrative distance, 34 00:01:01,830 --> 00:01:03,810 it's going to be considered more believable 35 00:01:03,810 --> 00:01:05,190 or more trustworthy, 36 00:01:05,190 --> 00:01:07,860 and that means it's going to have a better or lower number, 37 00:01:07,860 --> 00:01:09,210 just like in golf. 38 00:01:09,210 --> 00:01:10,410 So the lower the number, 39 00:01:10,410 --> 00:01:12,870 the better it is in terms of believability. 40 00:01:12,870 --> 00:01:13,950 Now here's a chart for you 41 00:01:13,950 --> 00:01:15,540 with all the administrative distances 42 00:01:15,540 --> 00:01:17,670 for the different protocols that we talked about. 43 00:01:17,670 --> 00:01:20,550 For the exam, you do not need to memorize this chart, 44 00:01:20,550 --> 00:01:21,660 but you should at least have a sense 45 00:01:21,660 --> 00:01:22,980 of which ones are the higher numbers 46 00:01:22,980 --> 00:01:25,050 and which ones are the lower numbers. 47 00:01:25,050 --> 00:01:26,370 Now, when we look at this 48 00:01:26,370 --> 00:01:28,200 and you're dealing with a directly connected route, 49 00:01:28,200 --> 00:01:30,660 we're going to have this as our most believable. 50 00:01:30,660 --> 00:01:31,710 Now, why is that? 51 00:01:31,710 --> 00:01:32,850 Well, it's because the router 52 00:01:32,850 --> 00:01:34,740 is directly connected to another router, 53 00:01:34,740 --> 00:01:35,760 so it knows itself 54 00:01:35,760 --> 00:01:37,140 and it trusts its own opinion 55 00:01:37,140 --> 00:01:38,760 that it's connected to that router. 56 00:01:38,760 --> 00:01:40,080 And this makes a lot of sense 57 00:01:40,080 --> 00:01:41,580 because if I know you personally 58 00:01:41,580 --> 00:01:42,540 and we're holding hands, 59 00:01:42,540 --> 00:01:45,120 we're both connected and therefore we have trust, 60 00:01:45,120 --> 00:01:45,953 and that trust would have 61 00:01:45,953 --> 00:01:47,970 a very, very low administrative distance 62 00:01:47,970 --> 00:01:49,830 because we trust it highly. 63 00:01:49,830 --> 00:01:52,110 That's the idea of a directly connected route. 64 00:01:52,110 --> 00:01:53,460 It's a fully trusted route 65 00:01:53,460 --> 00:01:55,710 because the router itself determined it. 66 00:01:55,710 --> 00:01:58,170 Now, the next one we have is going to have an AD of 1, 67 00:01:58,170 --> 00:02:00,750 and this is called a statically-configured network. 68 00:02:00,750 --> 00:02:02,250 Now, this is the next most believable 69 00:02:02,250 --> 00:02:04,980 because routers are designed to do what they're told. 70 00:02:04,980 --> 00:02:05,940 So as a router, 71 00:02:05,940 --> 00:02:07,470 I'm going to trust myself first, 72 00:02:07,470 --> 00:02:09,509 and then I'm going to trust my programmer, 73 00:02:09,509 --> 00:02:12,150 and then I'm going to trust all the dynamic protocols. 74 00:02:12,150 --> 00:02:13,890 That's kind of the order of these things. 75 00:02:13,890 --> 00:02:15,480 So if you as a network administrator 76 00:02:15,480 --> 00:02:17,940 go in and configure a static route in the router, 77 00:02:17,940 --> 00:02:18,877 you told the router, 78 00:02:18,877 --> 00:02:19,897 "I want you to believe this 79 00:02:19,897 --> 00:02:21,787 "above everything else you know, 80 00:02:21,787 --> 00:02:23,317 "unless you're directly connected to somebody else 81 00:02:23,317 --> 00:02:24,607 "'cause then you know better. 82 00:02:24,607 --> 00:02:25,957 "Beyond that, you're going to trust me 83 00:02:25,957 --> 00:02:27,367 "because I'm the network administrator 84 00:02:27,367 --> 00:02:30,450 "and I told you that's the route I want you to use." 85 00:02:30,450 --> 00:02:31,710 All right, the next one we have 86 00:02:31,710 --> 00:02:33,060 after our directly-connected routes 87 00:02:33,060 --> 00:02:34,200 and our static routes 88 00:02:34,200 --> 00:02:36,780 is going to be EIGRP. 89 00:02:36,780 --> 00:02:40,050 Now, EIGRP is a very trustworthy protocol 90 00:02:40,050 --> 00:02:42,420 because it's one of the newer protocols we have. 91 00:02:42,420 --> 00:02:44,580 After that, we're going to go backwards in time a little bit 92 00:02:44,580 --> 00:02:46,020 and go to OSPF, 93 00:02:46,020 --> 00:02:50,070 and then we'll go backwards again to RIP, or R-I-P. 94 00:02:50,070 --> 00:02:52,830 After that, we're going to go into an external protocol 95 00:02:52,830 --> 00:02:55,080 known as external EIGRP, 96 00:02:55,080 --> 00:02:57,270 and then we go all the way to the bottom of our chart, 97 00:02:57,270 --> 00:02:59,520 and you'll see the worst believability we have, 98 00:02:59,520 --> 00:03:01,650 which is unknown or unbelievable, 99 00:03:01,650 --> 00:03:04,410 which means we're going to have a rate of 255 100 00:03:04,410 --> 00:03:06,240 for its administrative distance. 101 00:03:06,240 --> 00:03:08,040 Now, the reason we set this at 255 102 00:03:08,040 --> 00:03:09,187 is basically we're saying, 103 00:03:09,187 --> 00:03:10,657 "We can't find this network anymore. 104 00:03:10,657 --> 00:03:12,157 "Do not trust it at all. 105 00:03:12,157 --> 00:03:13,267 "Don't send data that way. 106 00:03:13,267 --> 00:03:15,450 "It is totally unbelievable." 107 00:03:15,450 --> 00:03:17,070 So as I said, for the exam, 108 00:03:17,070 --> 00:03:19,290 you do not need to memorize all these numbers, 109 00:03:19,290 --> 00:03:20,670 but you need to have an idea 110 00:03:20,670 --> 00:03:21,930 of the order of these things 111 00:03:21,930 --> 00:03:24,450 in terms of their believability or trustworthiness. 112 00:03:24,450 --> 00:03:27,300 Remember, directly connected is the most believable, 113 00:03:27,300 --> 00:03:29,160 then static, because you as a human 114 00:03:29,160 --> 00:03:30,330 told it what to do 115 00:03:30,330 --> 00:03:31,770 will be the next believable. 116 00:03:31,770 --> 00:03:35,460 After that, we go to the more modern protocols like EIGRP, 117 00:03:35,460 --> 00:03:36,990 and then we start working backwards in time 118 00:03:36,990 --> 00:03:38,940 to OSPF and then RIP. 119 00:03:38,940 --> 00:03:40,170 In fact, if you think about this, 120 00:03:40,170 --> 00:03:41,310 this makes a lot of sense 121 00:03:41,310 --> 00:03:43,380 because RIP was one of our earliest protocols, 122 00:03:43,380 --> 00:03:45,840 so it is going to be one of our least believable. 123 00:03:45,840 --> 00:03:48,540 Then we had OSPF was an improvement to RIP, 124 00:03:48,540 --> 00:03:50,220 so it's a little bit more believable. 125 00:03:50,220 --> 00:03:51,600 And then we had EIGRP, 126 00:03:51,600 --> 00:03:53,310 which was an improvement on OSPF. 127 00:03:53,310 --> 00:03:55,440 So, again, it's more believable. 128 00:03:55,440 --> 00:03:57,150 This is the kind of memory I like to use 129 00:03:57,150 --> 00:03:57,983 when I'm trying to remember 130 00:03:57,983 --> 00:03:59,970 which ones are most or least believable 131 00:03:59,970 --> 00:04:01,770 as I'm going through my charts. 132 00:04:01,770 --> 00:04:03,270 Lastly, we have the metrics 133 00:04:03,270 --> 00:04:05,010 associated with each of these routes. 134 00:04:05,010 --> 00:04:06,060 And when we look at these metrics 135 00:04:06,060 --> 00:04:06,990 and we look at these routes, 136 00:04:06,990 --> 00:04:08,730 there's going to be a routing protocol 137 00:04:08,730 --> 00:04:11,310 that's able to choose which path it's going to go on. 138 00:04:11,310 --> 00:04:13,470 And we do this based on those metrics. 139 00:04:13,470 --> 00:04:15,030 These are things like hop count, 140 00:04:15,030 --> 00:04:16,920 believability, reliability, 141 00:04:16,920 --> 00:04:20,790 bandwidth, delay, cost, and other metrics like that. 142 00:04:20,790 --> 00:04:22,710 Each protocol is going to use a different metric 143 00:04:22,710 --> 00:04:23,910 based on its programming 144 00:04:23,910 --> 00:04:25,680 to determine which route it should be using 145 00:04:25,680 --> 00:04:28,770 and which one is going to be considered faster or slower. 146 00:04:28,770 --> 00:04:30,270 Depending on which route it is, 147 00:04:30,270 --> 00:04:32,910 this is going to determine which metric you're going to use. 148 00:04:32,910 --> 00:04:34,410 And so when you're dealing with these metrics, 149 00:04:34,410 --> 00:04:36,300 it's always going to be thinking about the fact 150 00:04:36,300 --> 00:04:38,460 that our lower numbers are considered better 151 00:04:38,460 --> 00:04:40,410 and our higher numbers are considered worse 152 00:04:40,410 --> 00:04:42,000 whenever we're dealing with routing. 153 00:04:42,000 --> 00:04:44,760 So, again, I like to think about this as golf rules. 154 00:04:44,760 --> 00:04:46,260 You want the lowest score possible 155 00:04:46,260 --> 00:04:48,270 to be the fastest you can be. 156 00:04:48,270 --> 00:04:49,950 Now, anytime we talk about hop count, 157 00:04:49,950 --> 00:04:51,510 we want the least number of hops 158 00:04:51,510 --> 00:04:53,670 because that gives us less distance to cover 159 00:04:53,670 --> 00:04:55,830 and it means we'll be able to get things done quicker. 160 00:04:55,830 --> 00:04:57,360 If we start talking about bandwidth, 161 00:04:57,360 --> 00:04:59,160 we want the lowest cost of bandwidth, 162 00:04:59,160 --> 00:04:59,993 which means we're going to have 163 00:04:59,993 --> 00:05:02,100 the highest amount of bandwidth for us to use, 164 00:05:02,100 --> 00:05:04,200 and so our lower cost becomes better. 165 00:05:04,200 --> 00:05:05,310 If we're dealing with delay, 166 00:05:05,310 --> 00:05:06,960 we want the least amount of delay. 167 00:05:06,960 --> 00:05:08,100 We talk about believability, 168 00:05:08,100 --> 00:05:09,180 we want the lowest number 169 00:05:09,180 --> 00:05:12,720 because a zero is directly connected and most believable. 170 00:05:12,720 --> 00:05:14,970 Now, this is the way we start thinking about these things. 171 00:05:14,970 --> 00:05:17,280 Lower numbers are always going to be better 172 00:05:17,280 --> 00:05:19,500 when we're talking about route selection. 173 00:05:19,500 --> 00:05:21,270 Now, the last thing I want to talk to you about 174 00:05:21,270 --> 00:05:23,040 is this summary slide here. 175 00:05:23,040 --> 00:05:23,880 Now, this is one of those things 176 00:05:23,880 --> 00:05:25,380 that I like to write down in my notes 177 00:05:25,380 --> 00:05:27,750 so you can have all your routing protocols in one place, 178 00:05:27,750 --> 00:05:29,850 and it summarizes everything really nicely, 179 00:05:29,850 --> 00:05:34,650 from RIP to OSPF to EIGRP to IS-IS and BGP, 180 00:05:34,650 --> 00:05:36,090 and it shows you which ones are interior, 181 00:05:36,090 --> 00:05:37,290 which ones are exterior, 182 00:05:37,290 --> 00:05:38,760 which ones are distance vectors, 183 00:05:38,760 --> 00:05:40,710 and which ones are linked states. 184 00:05:40,710 --> 00:05:41,543 I hope this helps you 185 00:05:41,543 --> 00:05:42,570 as you're studying for your exam 186 00:05:42,570 --> 00:05:43,403 and you're trying to remember 187 00:05:43,403 --> 00:05:44,850 all your different routing protocols 188 00:05:44,850 --> 00:05:46,800 and some of the key facts and figures for them 189 00:05:46,800 --> 00:05:48,100 before you take your exam.