1 00:00:00,090 --> 00:00:00,960 In this lesson, 2 00:00:00,960 --> 00:00:03,060 we're going to discuss packet loss. 3 00:00:03,060 --> 00:00:04,800 Packet loss occurs when data packets 4 00:00:04,800 --> 00:00:06,150 traveling across a network 5 00:00:06,150 --> 00:00:08,340 fail to reach their intended destination. 6 00:00:08,340 --> 00:00:09,690 When packet loss occurs, 7 00:00:09,690 --> 00:00:11,100 the quality of your data transmission 8 00:00:11,100 --> 00:00:13,380 is going to be affected, and this can lead to issues 9 00:00:13,380 --> 00:00:14,880 like slow internet speeds, 10 00:00:14,880 --> 00:00:16,770 lags in your video or audio streaming, 11 00:00:16,770 --> 00:00:18,090 and even complete disruptions 12 00:00:18,090 --> 00:00:19,980 to your network's communication. 13 00:00:19,980 --> 00:00:21,630 Now when packet loss is occurring, 14 00:00:21,630 --> 00:00:23,310 you may notice that some common symptoms 15 00:00:23,310 --> 00:00:25,080 like unexplained network slowdowns, 16 00:00:25,080 --> 00:00:27,450 jitter during VoIP calls and abrupt disconnections 17 00:00:27,450 --> 00:00:29,970 in your streaming media playback can occur. 18 00:00:29,970 --> 00:00:32,850 All these symptoms can disrupt your end user's experience 19 00:00:32,850 --> 00:00:34,770 and can lead to a significant loss of productivity 20 00:00:34,770 --> 00:00:36,450 within your organization. 21 00:00:36,450 --> 00:00:37,283 Now, there are many different causes 22 00:00:37,283 --> 00:00:40,710 associated with packet loss, including network congestion, 23 00:00:40,710 --> 00:00:42,930 faulty router configurations, bad cables, 24 00:00:42,930 --> 00:00:44,310 and hardware failures. 25 00:00:44,310 --> 00:00:45,900 Let's take a look at each of these. 26 00:00:45,900 --> 00:00:48,090 First, we have network congestion. 27 00:00:48,090 --> 00:00:50,130 Network congestion occurs when too much data 28 00:00:50,130 --> 00:00:51,480 is being sent through a network 29 00:00:51,480 --> 00:00:53,820 that exceeds the network's handling capacity. 30 00:00:53,820 --> 00:00:55,590 I want you to think about this like a traffic jam 31 00:00:55,590 --> 00:00:57,420 on your local highway when there are simply 32 00:00:57,420 --> 00:00:59,370 too many cars trying to drive down the highway 33 00:00:59,370 --> 00:01:01,860 in the same direction, and this causes slowdowns 34 00:01:01,860 --> 00:01:03,810 or even a complete stop to the traffic flow 35 00:01:03,810 --> 00:01:05,430 on that given highway. 36 00:01:05,430 --> 00:01:08,010 For example, if you're trying to stream a live sports event 37 00:01:08,010 --> 00:01:09,300 while sitting in your office, 38 00:01:09,300 --> 00:01:10,950 but everybody else is trying to do the same thing 39 00:01:10,950 --> 00:01:13,380 with other streaming media programs at the same time, 40 00:01:13,380 --> 00:01:15,300 this will cause your network to slow down, 41 00:01:15,300 --> 00:01:18,810 and in turn cause delays in all of our streaming services. 42 00:01:18,810 --> 00:01:21,750 Second, we have a faulty router configuration. 43 00:01:21,750 --> 00:01:23,520 Now, a faulty router configuration 44 00:01:23,520 --> 00:01:25,830 will occur whenever your routers are set up incorrectly, 45 00:01:25,830 --> 00:01:27,780 and this can lead to your data being misdirected 46 00:01:27,780 --> 00:01:30,930 or not get prioritized properly by your systems. 47 00:01:30,930 --> 00:01:33,180 For example, if I was going to give you directions 48 00:01:33,180 --> 00:01:35,010 on how to drive from Florida to New York, 49 00:01:35,010 --> 00:01:36,570 but I gave you bad directions, 50 00:01:36,570 --> 00:01:38,250 you may end up taking a longer route, 51 00:01:38,250 --> 00:01:39,810 or you may end up completely 52 00:01:39,810 --> 00:01:41,910 in a different location than you intended. 53 00:01:41,910 --> 00:01:43,560 This is why routers must be configured 54 00:01:43,560 --> 00:01:45,630 with the correct routes so that our network traffic 55 00:01:45,630 --> 00:01:48,030 can be routed and passed to the correct devices 56 00:01:48,030 --> 00:01:50,310 in order to complete any requested data transfers 57 00:01:50,310 --> 00:01:52,680 that you may be attempting on your network. 58 00:01:52,680 --> 00:01:54,630 Third, we have bad cables. 59 00:01:54,630 --> 00:01:57,570 Bad cables are physically damaged or deteriorating wires 60 00:01:57,570 --> 00:01:59,880 that will disrupt network data transmissions. 61 00:01:59,880 --> 00:02:01,740 I like to think about this like a leaking pipe 62 00:02:01,740 --> 00:02:03,180 under my bathroom sink. 63 00:02:03,180 --> 00:02:06,030 Sure, the water will still flow through the pipe mostly, 64 00:02:06,030 --> 00:02:07,770 but there is an integrity issue here, 65 00:02:07,770 --> 00:02:09,900 and some of the water may also drip out of the pipes 66 00:02:09,900 --> 00:02:11,790 and end up on my bathroom floor. 67 00:02:11,790 --> 00:02:14,760 So while the data may still flow within a bad cable, 68 00:02:14,760 --> 00:02:16,440 it can also lead to packet losses 69 00:02:16,440 --> 00:02:18,390 because some of that data will get dropped 70 00:02:18,390 --> 00:02:19,500 due to the bad cabling 71 00:02:19,500 --> 00:02:22,260 before it can actually reach its final destination. 72 00:02:22,260 --> 00:02:24,480 Fourth, we have hardware failures. 73 00:02:24,480 --> 00:02:26,820 Now, hardware failures occur when network devices 74 00:02:26,820 --> 00:02:29,730 like switches, routers, or modems malfunction. 75 00:02:29,730 --> 00:02:31,830 This is pretty obvious, but if our network devices 76 00:02:31,830 --> 00:02:34,080 that control the transmission of our data are failing, 77 00:02:34,080 --> 00:02:35,610 this is going to lead to packet loss 78 00:02:35,610 --> 00:02:37,680 and failed data transmissions. 79 00:02:37,680 --> 00:02:39,900 Now, to effectively troubleshoot packet loss, 80 00:02:39,900 --> 00:02:42,900 we first have to identify the source of that packet loss. 81 00:02:42,900 --> 00:02:44,850 To do this, we'll rely on command line tools 82 00:02:44,850 --> 00:02:46,590 like ping and traceroute. 83 00:02:46,590 --> 00:02:48,360 Now, the ping command will help us determine 84 00:02:48,360 --> 00:02:50,550 if the reachability of a specific device on the network 85 00:02:50,550 --> 00:02:53,160 does exist, and Traceroute is going to be used 86 00:02:53,160 --> 00:02:54,960 to map the path that your data is going to take 87 00:02:54,960 --> 00:02:57,150 to reach its intended destination. 88 00:02:57,150 --> 00:02:58,890 By conducting an analysis of your ping 89 00:02:58,890 --> 00:03:01,080 and traceroute results, you're going to quickly be able 90 00:03:01,080 --> 00:03:03,270 to determine where packets might be dropping 91 00:03:03,270 --> 00:03:05,490 as they're passing across your network. 92 00:03:05,490 --> 00:03:06,960 Another great, aid to determining 93 00:03:06,960 --> 00:03:08,550 where your packets are being lost 94 00:03:08,550 --> 00:03:10,920 is the use of network monitoring tools. 95 00:03:10,920 --> 00:03:12,510 This is because our network monitoring tools 96 00:03:12,510 --> 00:03:14,220 can provide more comprehensive insights 97 00:03:14,220 --> 00:03:16,260 into our traffic pattern in order to help us 98 00:03:16,260 --> 00:03:18,990 pinpoint the exact location and the potential cause 99 00:03:18,990 --> 00:03:21,960 of the packet loss being experienced on your network. 100 00:03:21,960 --> 00:03:23,400 After you complete your diagnosis 101 00:03:23,400 --> 00:03:25,110 of the root cause of the packet loss, 102 00:03:25,110 --> 00:03:27,450 you're going to want to begin implementing some of the strategies 103 00:03:27,450 --> 00:03:29,640 to mitigate and resolve this issue. 104 00:03:29,640 --> 00:03:31,890 If you're trying to solve a network congestion issue, 105 00:03:31,890 --> 00:03:33,840 then you should consider increasing bandwidth, 106 00:03:33,840 --> 00:03:35,340 optimizing the network layout, 107 00:03:35,340 --> 00:03:36,990 or employing better quality of service 108 00:03:36,990 --> 00:03:38,790 or QoS configuration settings 109 00:03:38,790 --> 00:03:41,460 to prioritize your most critical traffic. 110 00:03:41,460 --> 00:03:43,380 If you're trying to solve a hardware issue, 111 00:03:43,380 --> 00:03:45,270 then you really should be routinely inspecting 112 00:03:45,270 --> 00:03:46,800 and replacing faulty cables 113 00:03:46,800 --> 00:03:48,120 to ensure that your network devices 114 00:03:48,120 --> 00:03:49,470 like your routers and switches 115 00:03:49,470 --> 00:03:50,730 are going to be functioning correctly 116 00:03:50,730 --> 00:03:52,890 as they're passing the data between them. 117 00:03:52,890 --> 00:03:56,220 Also, if your hardware isn't operating as you expect it to, 118 00:03:56,220 --> 00:03:57,120 you may want to check to see 119 00:03:57,120 --> 00:03:58,680 if your device needs a firmware update 120 00:03:58,680 --> 00:04:00,570 that needs to be implemented in order to resolve 121 00:04:00,570 --> 00:04:02,130 any known issues that could be causing 122 00:04:02,130 --> 00:04:03,930 packet losses to occur. 123 00:04:03,930 --> 00:04:06,030 Now, if you're dealing with configuration errors, 124 00:04:06,030 --> 00:04:07,950 then you need to verify your configuration settings 125 00:04:07,950 --> 00:04:09,870 across all of your network devices. 126 00:04:09,870 --> 00:04:11,460 If you have any incorrect settings, 127 00:04:11,460 --> 00:04:13,830 this can often lead to packet loss as well. 128 00:04:13,830 --> 00:04:16,200 To fix it, you simply need to ensure that your devices 129 00:04:16,200 --> 00:04:17,579 are correctly configured for the network 130 00:04:17,579 --> 00:04:19,440 they're operating within, and this will help prevent 131 00:04:19,440 --> 00:04:22,380 packet loss from occurring due to a configuration error. 132 00:04:22,380 --> 00:04:25,170 Finally, it's important to implement some proactive measures 133 00:04:25,170 --> 00:04:26,700 to help prevent packet loss from occurring 134 00:04:26,700 --> 00:04:28,080 inside of your network. 135 00:04:28,080 --> 00:04:29,040 You should always implement 136 00:04:29,040 --> 00:04:30,600 regular network performance monitoring 137 00:04:30,600 --> 00:04:32,610 to help you identify issues before they escalate 138 00:04:32,610 --> 00:04:34,770 into larger scale and more significant problems 139 00:04:34,770 --> 00:04:36,150 across your network. 140 00:04:36,150 --> 00:04:37,950 By keeping your network infrastructure updated 141 00:04:37,950 --> 00:04:40,320 and well maintained, you'll also be able to reduce the risk 142 00:04:40,320 --> 00:04:43,440 of hardware induced packet losses inside of those networks. 143 00:04:43,440 --> 00:04:45,810 Also, you should always maintain a well-documented 144 00:04:45,810 --> 00:04:48,840 network configuration policy to prevent misconfigurations 145 00:04:48,840 --> 00:04:51,030 because these misconfigurations can often result 146 00:04:51,030 --> 00:04:52,860 in packet losses as well. 147 00:04:52,860 --> 00:04:54,720 So remember, packet loss occurs 148 00:04:54,720 --> 00:04:56,700 when data packets traveling across a network 149 00:04:56,700 --> 00:04:58,950 fail to reach their intended destination. 150 00:04:58,950 --> 00:05:01,230 These packet losses can significantly degrade 151 00:05:01,230 --> 00:05:02,370 our network's performance, 152 00:05:02,370 --> 00:05:04,620 and it will affect everything from simple web browsing 153 00:05:04,620 --> 00:05:06,780 to your most critical business functions. 154 00:05:06,780 --> 00:05:08,730 For this reason, it's critically important 155 00:05:08,730 --> 00:05:10,860 that you understand the symptoms, potential causes, 156 00:05:10,860 --> 00:05:12,330 and troubleshooting methodologies 157 00:05:12,330 --> 00:05:14,250 that you can use to identify and resolve 158 00:05:14,250 --> 00:05:16,503 any packet loss issues on your networks.