1 00:00:00,790 --> 00:00:07,510 So my home router is connected to the Internet and can forward traffic onto the Internet even though 2 00:00:07,510 --> 00:00:10,320 it doesn't know all the routes in the Internet. 3 00:00:10,630 --> 00:00:13,460 Internet routing tables are growing all the time. 4 00:00:13,720 --> 00:00:21,550 So there are more than 500,000 routes on the Internet and a small router wouldn't be able to handle that 5 00:00:21,610 --> 00:00:24,180 number of routes in its routing table. 6 00:00:24,190 --> 00:00:28,720 Now it's possible to telnet to live BGP routers on the Internet. 7 00:00:28,960 --> 00:00:35,170 So in this example, I'm gonna telnet to route-server.ip.att.net. 8 00:00:35,200 --> 00:00:44,080 I'm told that I can log in with this username which gives me read-only access to the router and I'm 9 00:00:44,080 --> 00:00:53,950 gonna type show route summary. As you can see here there are 8.5 million odd routes in the 10 00:00:53,950 --> 00:00:59,500 routing table with 567,000 destinations. 11 00:00:59,710 --> 00:01:09,220 BGP summary will show me the BGP routing table BGP is the routing protocol used on the Internet. 12 00:01:09,270 --> 00:01:15,430 So total paths is 8.5 million, active paths is 567,000. 13 00:01:15,630 --> 00:01:22,920 As you can imagine a small router is not going to be able to handle this number of routes in this routing 14 00:01:22,920 --> 00:01:23,630 table. 15 00:01:23,910 --> 00:01:31,290 Here you can see examples of routes in the BGP routing table on this router and how long those routes 16 00:01:31,290 --> 00:01:33,510 have been in the routing table. 17 00:01:33,510 --> 00:01:38,170 Small routers aren't going to handle that number of routes. 18 00:01:38,310 --> 00:01:44,940 So you would typically use a default route pointing your router to a gateway of last resort. 19 00:01:45,390 --> 00:01:53,220 So a default route is a special type of static route pointing your device or router to a gateway of 20 00:01:53,270 --> 00:01:54,960 last resort. 21 00:01:54,960 --> 00:02:04,530 This is similar to the concept of a default gateway on a PC or a device such as an iPhone or iPad when 22 00:02:04,530 --> 00:02:06,760 the router doesn't know where to send the traffic 23 00:02:06,810 --> 00:02:10,710 it simply sends it to the gateway of last resort. 24 00:02:10,710 --> 00:02:18,350 In other words, it will send it to this IP address as configured with the static default route. Another 25 00:02:18,370 --> 00:02:27,260 advantage of static routes is that you as the administrator determine explicitly where traffic flows. 26 00:02:27,280 --> 00:02:34,570 So rather than a routing protocol making the decision for you you decide and have control over where 27 00:02:34,570 --> 00:02:37,760 traffic goes or where packets are routed. 28 00:02:38,020 --> 00:02:46,240 But on the flip side, the burden of management and keeping things up to date also fall on your shoulders. 29 00:02:46,360 --> 00:02:49,090 So you have to administer the routing table. 30 00:02:49,120 --> 00:02:50,300 Keep it up to date. 31 00:02:50,530 --> 00:02:56,920 Make sure that routes are not pointing to non-existent devices where networks go down. 32 00:02:56,920 --> 00:03:03,230 You would have to update the routing table and that's simply not scalable in large topologies. 33 00:03:03,550 --> 00:03:11,980 So hence dynamic routing protocols such as OSPF or EIGRP are used to dynamically add or remove routes 34 00:03:12,070 --> 00:03:13,800 from a routing table. 35 00:03:14,140 --> 00:03:21,600 BGP is mentioned is the routing protocol used on the internet for very large-scale implementations. 36 00:03:21,610 --> 00:03:29,560 The major advantage of dynamic routing protocols is that there is the dynamic or automatic adjustment of 37 00:03:29,560 --> 00:03:34,540 the routing table based on topology changes in your network. 38 00:03:34,540 --> 00:03:41,920 So rather than you having to manually adjust to a topology change the routing protocols update, insert 39 00:03:42,220 --> 00:03:49,600 or remove routes from the routing table based on changing conditions in the network. 40 00:03:49,600 --> 00:03:57,700 As soon as you enable a routing protocol such as OSPF or EIGRP the routers will form a neighbor or peer 41 00:03:57,820 --> 00:04:02,470 relationships with each other and exchange routes with one another. 42 00:04:02,470 --> 00:04:09,490 The routers will thus automatically learn about the networks available in the topology. Routers exchange 43 00:04:09,490 --> 00:04:12,930 information about routes using different methods. 44 00:04:13,060 --> 00:04:21,100 But as an example, OSPF uses link-state updates to advertise information about routes that are available 45 00:04:21,339 --> 00:04:23,800 in the network topology. 46 00:04:23,800 --> 00:04:31,000 This puts overhead on the network because additional traffic is sent and received by routers as they communicate 47 00:04:31,090 --> 00:04:32,600 with one another. 48 00:04:32,620 --> 00:04:39,760 However, as the network grows there is an exponential increase in the amount of work that would be required 49 00:04:40,120 --> 00:04:47,680 if static routes were used and thus because of the advantage that dynamic routing protocols put less 50 00:04:47,710 --> 00:04:53,650 overhead and workload on administrators to maintain routing tables. 51 00:04:53,650 --> 00:05:00,940 They are used in most networks today especially larger networks with the largest being the Internet which 52 00:05:00,940 --> 00:05:04,270 runs on BGP or border gateway protocol 53 00:05:04,540 --> 00:05:12,670 and once again dynamic routing protocols can adjust to changes in the topology automatically and without 54 00:05:12,970 --> 00:05:14,730 administrative intervention.