1 00:00:00,060 --> 00:00:00,893 In this lesson, 2 00:00:00,893 --> 00:00:03,480 we're going to cover the maximum transmission unit. 3 00:00:03,480 --> 00:00:05,790 The maximum transmission unit, or MTU, 4 00:00:05,790 --> 00:00:07,680 refers to the largest size of a frame 5 00:00:07,680 --> 00:00:09,390 that can be sent over a network. 6 00:00:09,390 --> 00:00:11,430 The frame size is measured in bytes, 7 00:00:11,430 --> 00:00:13,950 and the frame size dictates how much data can be sent 8 00:00:13,950 --> 00:00:15,420 and processed by a network 9 00:00:15,420 --> 00:00:18,270 inside of a single transaction or transmission. 10 00:00:18,270 --> 00:00:19,530 Personally, I like to think 11 00:00:19,530 --> 00:00:21,180 about the maximum transmission unit 12 00:00:21,180 --> 00:00:22,590 as the maximum load capacity 13 00:00:22,590 --> 00:00:24,660 for your frames inside of your network. 14 00:00:24,660 --> 00:00:26,190 For example, in the real world, 15 00:00:26,190 --> 00:00:28,620 you might walk into an elevator in a high rise building, 16 00:00:28,620 --> 00:00:29,797 and you can see a sign that says, 17 00:00:29,797 --> 00:00:33,540 "Maximum capacity, 10 people," or 2,500 pounds. 18 00:00:33,540 --> 00:00:34,500 And this is the equivalent 19 00:00:34,500 --> 00:00:36,840 of your maximum transmission unit size. 20 00:00:36,840 --> 00:00:38,460 If you try to put more than 10 people 21 00:00:38,460 --> 00:00:40,500 or more than 2,500 pounds in that elevator, 22 00:00:40,500 --> 00:00:42,240 it probably won't work, or, 23 00:00:42,240 --> 00:00:44,280 it would cause some kind of strange issues, 24 00:00:44,280 --> 00:00:46,560 just like if you try to put more data into a frame 25 00:00:46,560 --> 00:00:48,300 than it's designed to hold. 26 00:00:48,300 --> 00:00:50,760 Now, when we talk about a maximum transmission unit, 27 00:00:50,760 --> 00:00:51,930 it's really important that you realize 28 00:00:51,930 --> 00:00:54,150 that these MTUs will impact the performance 29 00:00:54,150 --> 00:00:55,980 and efficiency of your network. 30 00:00:55,980 --> 00:00:58,950 A properly configured MTU will ensure that the data packets 31 00:00:58,950 --> 00:01:01,740 and frames are neither too large or too small. 32 00:01:01,740 --> 00:01:04,200 If you set the MTU too high, then your packets 33 00:01:04,200 --> 00:01:06,660 and frames may be too large for the network to handle, 34 00:01:06,660 --> 00:01:08,190 and this can lead to packet loss 35 00:01:08,190 --> 00:01:10,575 and the need for data to be remitted. 36 00:01:10,575 --> 00:01:13,380 On the other hand, if you set the MTU too small, 37 00:01:13,380 --> 00:01:15,480 the network will experience increased overhead 38 00:01:15,480 --> 00:01:17,880 due to the larger number of packets that need to be sent, 39 00:01:17,880 --> 00:01:18,870 which can also slow down 40 00:01:18,870 --> 00:01:21,750 your network's maximum transmission data speed too. 41 00:01:21,750 --> 00:01:23,640 Now, the MTU size that you're going to configure 42 00:01:23,640 --> 00:01:25,170 is going to depend on the type of network 43 00:01:25,170 --> 00:01:26,070 and the type of traffic 44 00:01:26,070 --> 00:01:27,780 that you're trying to support. 45 00:01:27,780 --> 00:01:29,820 If you're using a wired ethernet network, 46 00:01:29,820 --> 00:01:33,840 the standard or default MTU size is 1500 bytes. 47 00:01:33,840 --> 00:01:36,600 This size is generally considered acceptable in the industry 48 00:01:36,600 --> 00:01:38,190 because it balances out the efficiency 49 00:01:38,190 --> 00:01:40,890 and compatibility requirements across many different types 50 00:01:40,890 --> 00:01:43,170 of network equipment and internet pathways 51 00:01:43,170 --> 00:01:45,000 without causing any issues. 52 00:01:45,000 --> 00:01:47,040 Now, if you're using a wireless network, though, 53 00:01:47,040 --> 00:01:49,920 you may need to use a smaller MTU size. 54 00:01:49,920 --> 00:01:51,690 The smaller size is often required 55 00:01:51,690 --> 00:01:54,240 because our wireless networks are inherently unstable 56 00:01:54,240 --> 00:01:56,700 and they have higher error rates during their communication. 57 00:01:56,700 --> 00:02:00,240 So using a larger MTU size could lead to larger packets 58 00:02:00,240 --> 00:02:02,070 with increased retransmission rates too, 59 00:02:02,070 --> 00:02:03,930 and that's why we like to use a smaller size 60 00:02:03,930 --> 00:02:05,910 when we're dealing with wireless networks. 61 00:02:05,910 --> 00:02:07,950 Now, if you're going to be using a virtual private network 62 00:02:07,950 --> 00:02:10,680 or a point-to-point protocol over ethernet connection, 63 00:02:10,680 --> 00:02:12,780 known as a PPPoE, 64 00:02:12,780 --> 00:02:14,460 you may need to configure your devices 65 00:02:14,460 --> 00:02:16,590 to use a smaller MTU size. 66 00:02:16,590 --> 00:02:18,210 This is because both the VPN 67 00:02:18,210 --> 00:02:22,410 and PPPoE connections will utilize an encapsulation process 68 00:02:22,410 --> 00:02:24,390 that add extra headers to the packets, 69 00:02:24,390 --> 00:02:26,250 and this reduces the remaining space available 70 00:02:26,250 --> 00:02:29,280 for the actual data payload inside of the frame. 71 00:02:29,280 --> 00:02:33,180 Personally, when I set up A VPN or a PPPoE connection, 72 00:02:33,180 --> 00:02:35,310 I tend to configure my MTU size 73 00:02:35,310 --> 00:02:39,540 to something between 1400 and 1450 bytes in size. 74 00:02:39,540 --> 00:02:40,500 Now, this leaves enough room 75 00:02:40,500 --> 00:02:42,030 for the additional overhead required 76 00:02:42,030 --> 00:02:45,090 when I'm forwarding the VPN or PPPoE frames 77 00:02:45,090 --> 00:02:46,920 out to the rest of my network. 78 00:02:46,920 --> 00:02:49,500 The final MTU configuration you need to be aware of 79 00:02:49,500 --> 00:02:51,450 is known as a jumbo frame. 80 00:02:51,450 --> 00:02:53,760 Now, a jumbo frame simply refers to any frame 81 00:02:53,760 --> 00:02:54,840 that exceeds the standard 82 00:02:54,840 --> 00:02:58,800 or default ethernet MTU size of 1500 bytes. 83 00:02:58,800 --> 00:03:02,040 While a jumbo frame can be any frame larger than 1500 bytes, 84 00:03:02,040 --> 00:03:04,230 generally, you're going to see that our jumbo frames 85 00:03:04,230 --> 00:03:06,120 are configured to use the default size 86 00:03:06,120 --> 00:03:08,340 of 9000 bytes instead. 87 00:03:08,340 --> 00:03:10,890 These larger 9000 byte frames are beneficial 88 00:03:10,890 --> 00:03:12,630 when working in storage area networks 89 00:03:12,630 --> 00:03:14,130 because they can enhance the efficiency 90 00:03:14,130 --> 00:03:17,100 of your data transfers by reducing your overhead. 91 00:03:17,100 --> 00:03:19,350 This occurs because more data is being sent inside 92 00:03:19,350 --> 00:03:20,790 of a single jumbo frame, 93 00:03:20,790 --> 00:03:23,010 and this can help reduce our switches processor load 94 00:03:23,010 --> 00:03:25,650 and improve your data transfer and throughput speeds. 95 00:03:25,650 --> 00:03:27,150 This makes jumbo frames ideal 96 00:03:27,150 --> 00:03:28,770 for high-bandwidth applications, 97 00:03:28,770 --> 00:03:31,740 such as storage area networks, large file transfers, 98 00:03:31,740 --> 00:03:32,760 video streaming, 99 00:03:32,760 --> 00:03:34,320 and server-to-server communications 100 00:03:34,320 --> 00:03:36,120 within a controlled environment. 101 00:03:36,120 --> 00:03:38,190 Now, jumbo frames have many advantages, 102 00:03:38,190 --> 00:03:39,300 but they can also lead 103 00:03:39,300 --> 00:03:42,120 to network problems if you improperly configure them. 104 00:03:42,120 --> 00:03:44,100 This occurs because not all network equipment 105 00:03:44,100 --> 00:03:46,110 is going to support jumbo frames. 106 00:03:46,110 --> 00:03:47,280 Mismatched configurations 107 00:03:47,280 --> 00:03:49,980 between network devices can also lead to dropped packets 108 00:03:49,980 --> 00:03:52,290 and further reduce your network performance. 109 00:03:52,290 --> 00:03:54,510 Another issue with jumbo frames is the potential 110 00:03:54,510 --> 00:03:56,430 for fragmentation to occur. 111 00:03:56,430 --> 00:03:58,110 If a jumbo frame encounters a device 112 00:03:58,110 --> 00:04:00,540 or network segment with a smaller MTU size, 113 00:04:00,540 --> 00:04:01,950 the frame will need to be split up 114 00:04:01,950 --> 00:04:04,650 or fragmented into smaller size frames. 115 00:04:04,650 --> 00:04:07,260 This fragmentation can actually negate any of the benefits 116 00:04:07,260 --> 00:04:10,140 of using a jumbo frame because it leads to increased latency 117 00:04:10,140 --> 00:04:13,050 and processing overhead on your network devices. 118 00:04:13,050 --> 00:04:14,850 Another major issue with jumbo frames 119 00:04:14,850 --> 00:04:16,800 is that they make troubleshooting, diagnosing, 120 00:04:16,800 --> 00:04:19,230 and fixing network issues much more challenging 121 00:04:19,230 --> 00:04:20,370 because many of our traditional 122 00:04:20,370 --> 00:04:21,660 network troubleshooting tools 123 00:04:21,660 --> 00:04:25,350 do not support the larger frame sizes used by jumbo frames. 124 00:04:25,350 --> 00:04:28,140 So to effectively use jumbo frames in your network, 125 00:04:28,140 --> 00:04:30,300 you really need to ensure that all of your network devices, 126 00:04:30,300 --> 00:04:32,040 including your switches, your routers, 127 00:04:32,040 --> 00:04:34,320 and your network interface cards are all going to be able 128 00:04:34,320 --> 00:04:36,270 to support the use of jumbo frames, 129 00:04:36,270 --> 00:04:37,890 and they're all configured consistently 130 00:04:37,890 --> 00:04:39,600 across all of your network devices 131 00:04:39,600 --> 00:04:41,880 to use the same MTU size, 132 00:04:41,880 --> 00:04:43,800 you also should monitor your network performance 133 00:04:43,800 --> 00:04:45,300 and conduct thorough testing before 134 00:04:45,300 --> 00:04:46,890 and after you implement jumbo frames 135 00:04:46,890 --> 00:04:48,570 in your network to ensure that you're receiving 136 00:04:48,570 --> 00:04:51,480 the intended benefits of using those jumbo frames. 137 00:04:51,480 --> 00:04:53,490 Now, let's consider a real-world example 138 00:04:53,490 --> 00:04:55,230 to better understand how MTU size 139 00:04:55,230 --> 00:04:57,330 is going to be configured in our networks. 140 00:04:57,330 --> 00:04:59,700 Let's assume that you're working on a medium-sized business 141 00:04:59,700 --> 00:05:00,870 that has a mix of both wired 142 00:05:00,870 --> 00:05:03,540 and wireless networks for use by its onsite employees, 143 00:05:03,540 --> 00:05:05,940 but they also use a VPN for its remote employees 144 00:05:05,940 --> 00:05:07,170 to use when they're on travel 145 00:05:07,170 --> 00:05:08,880 or if they're working from home. 146 00:05:08,880 --> 00:05:10,650 Now, the network administrator wants to configure 147 00:05:10,650 --> 00:05:12,810 the wired ethernet segments to use the standard 148 00:05:12,810 --> 00:05:16,200 or default MTU size of 1500 bytes on this network. 149 00:05:16,200 --> 00:05:18,390 But for the wireless network, they're going to opt 150 00:05:18,390 --> 00:05:22,320 for a slightly lower MTU size of around 1420 bytes 151 00:05:22,320 --> 00:05:24,090 to accommodate the less stable nature 152 00:05:24,090 --> 00:05:25,680 of our wireless networks. 153 00:05:25,680 --> 00:05:27,090 For our VPN connections, 154 00:05:27,090 --> 00:05:29,580 the MTU size is going to be reduced even further 155 00:05:29,580 --> 00:05:33,210 by making the MTU size only 1400 bytes in size to account 156 00:05:33,210 --> 00:05:35,220 for the additional overhead that's going to be introduced 157 00:05:35,220 --> 00:05:37,110 by a VPN encapsulation process 158 00:05:37,110 --> 00:05:39,330 as we send that data over the network. 159 00:05:39,330 --> 00:05:42,120 On the other hand, this network can also serve a portion 160 00:05:42,120 --> 00:05:43,980 of the organization's data center. 161 00:05:43,980 --> 00:05:45,360 Inside of the data center, 162 00:05:45,360 --> 00:05:47,880 the organization's servers are going to communicate extensively 163 00:05:47,880 --> 00:05:50,640 with each other over a specialized high speed network. 164 00:05:50,640 --> 00:05:52,500 So for that portion of the network, 165 00:05:52,500 --> 00:05:54,060 the network administrator might decide 166 00:05:54,060 --> 00:05:55,410 to implement jumbo frames 167 00:05:55,410 --> 00:05:58,560 by setting the maximum MTU size at 9000 bytes 168 00:05:58,560 --> 00:06:00,600 to optimize their data transfer efficiency 169 00:06:00,600 --> 00:06:03,360 for these large file transfers between the servers. 170 00:06:03,360 --> 00:06:06,030 So remember, when it comes to the maximum transmission unit, 171 00:06:06,030 --> 00:06:09,330 or MTU size, what we're referring to is the largest size 172 00:06:09,330 --> 00:06:12,900 of a data packet or frame that can be sent over the network. 173 00:06:12,900 --> 00:06:14,910 This frame size is measured in bytes, 174 00:06:14,910 --> 00:06:17,430 and the frame size will dictate how much data can be sent 175 00:06:17,430 --> 00:06:18,780 and processed by a network 176 00:06:18,780 --> 00:06:21,300 in a single transaction or transmission. 177 00:06:21,300 --> 00:06:23,130 Our standard or default MTU size 178 00:06:23,130 --> 00:06:26,280 for a wired ethernet network is going to be 1500 bytes, 179 00:06:26,280 --> 00:06:28,230 and the standard or default MTU size 180 00:06:28,230 --> 00:06:31,680 for a jumbo frame is going to be 9000 bytes in size. 181 00:06:31,680 --> 00:06:34,410 If you're going to configure an MTU size for a wireless network 182 00:06:34,410 --> 00:06:35,430 of VPN connection 183 00:06:35,430 --> 00:06:38,610 or a PPPoE connection, then I recommend that you aim 184 00:06:38,610 --> 00:06:43,440 for an MTU size of around 1400 to 1420 bytes in size 185 00:06:43,440 --> 00:06:45,720 to give you the best performance for your networks. 186 00:06:45,720 --> 00:06:47,880 By mastering the MTU configurations, 187 00:06:47,880 --> 00:06:50,280 network administrators are going to significantly enhance 188 00:06:50,280 --> 00:06:52,260 their network efficiency, stability, 189 00:06:52,260 --> 00:06:53,643 and overall performance.