How, do you go from this to this by simply changing one setting? That's what I'm going to show you today. Let's do this and welcome to another episode of talking tech with the techie guy. My name is Leon Negev, where I make tech simple if you're into phones, gadget, apps tips and tricks on how to hit that subscribe button, and let's get on to today's show, so you've gone grocery shopping, and you've come home and there are loads of items all which need to be carried inside, which would you rather do carry each item individually or stick them into a carrier bag? Well, most of us will prefer fewer trips to and from the cars, so loads of item in a carrier bag is faster and more efficient. The only thing we need to really worry about is overloading the bag, as things will fall out, and basically we would have to make more trips again. This is how our computers work too, but some data are sent and received, and together they make up whatever it is. We happen to be doing online.
Most of us get our computer simply connected to the router and modem open. A website internet seems to be loading, so it's all working sure. Technically, it's working, but it's not optimized. It's like making those separate trips to and from the car to get each item individually versus using the bag. So how do we make our computers as efficient as carrying items in a bag? Well, we do that by telling our computers to pack loads of data into a big bag and make fewer trips, and we do that by increasing the size of the MTU, the maximum transmission unit.
This is done in two steps. Step number one is to find out what is the maximum data packet our computer can handle, as we don't want to overfill our data packet. If we do just like the carrier bag, the items are going to drop out, in other words, data's, going to drop out, and it's going to require more trips. Once we have that we move on to step number two, which is to tell a computer hey use this as the MTU size. Don't worry both of these steps are super simple, and I'm going to show you exactly how to do that right.
Let's start off with a baseline, so first I'm going to show you that my Ethernet is currently set to 576 MTU, so based on that, let's run the good old speed test. What are we going to get on that ping? Nine milliseconds, that's pretty good! The download speed is 140 150 megabits per second bear in mind, I'm on a 450 megabits per second line, and what's the upload 16.73, my upload cap is at 20. So clearly I'm not getting the speed that I'm paying for so, let's begin the test to see how I can optimize my system all right, so step number one. How do you find out? What is the right MTU size for you and your computer as all our computers are going to be slightly different? Well we're going to do that using the good old ping command. The thing command is basically just says to your website: hey website.
Are you there please reply with you rip address, so ping google. com and google replies with it sip address, but what we're going to do is use that command to send the biggest ping and either one of two things will happen? Either one will get a message back from the website saying everything is good, or we'll get a message back saying: uh the data is fragmented, which means whoops too much data in our bag, and we'll have to try a smaller ping until it works. Let me show you how to do this. Okay, fire up your computer type in cmd in the search right, click on that and then choose run as administrator. What we're going to do now is type ping google.
com minus f, which essentially means don't fragment the packet size, and then we're going to say minus l and put a byte size, but that is the maximum path size, our big packet that we're going to send through and essentially what we're looking for. Is this fragmented, in other words, a hundred percent loss? This is the packet is just way too big a system is not handling it. What do we do? We reduce it by ten ones. Four, eight two, instead of one four nine two, are we still getting the error message? Yes, we are reduced it by 10, again 1472. Oh, look at this now we're getting a response, which means this is the big packet size.
It's not fragmented and zero percent loss. This is a winner, let's see if we can get it any bigger, and now we're going to increase it by increments of one, four, seven three, and now we can see all fragmented again. So now we know on this system one four: seven two is the maximum packet size, the maximum bag carrier bag that we were speaking about earlier before the packet starts getting fragmented. So what's next, what we do? Fire up? A calculator take one four, seven two, and then you have to add 28. So, whatever your number is added 28 to that, and that's going to give you the MTU size that you can use right now onto step number two.
Now that we have the right size of the MTU. Well, the next step is to tell our system to actually use it. Ideally, you should set this at your router level so that everything on your network can use this MTU. I say ideally, as some routers don't have that facility now, if your router doesn't have that, don't worry, I'm also going to show you how to manually set this on your computer. Let's start with the router option to set it on your router.
First, you have to access the rafters' admin console. Typically, this info is listed on the bottom of your router, and it's how you set up your router in the first place. Now, if you don't have that info here is what you can do. Okay, let's get you into your router, so type cmd again this time you don't have to right-click, you can just open it and type IP config and what we're looking for is something called the default gateway, and they'll have an IP address, 192.168.1.1 now, of course, yours might be slightly different, so whatever your gateway IP address, make a note of that, because we're going to need it for the next step, open your web browser type in the IP address that you got your default gateway and that should take you to the router login and what you're looking for somewhere deep within your settings is the ability to manually set the MTU, see how mine says auto I'm going to switch it to manual and there we go that 1500 that we spoke about earlier, I'm going to put that in there and then click on apply. Now everything that's connected through my router is going to get that setting now.
If your router doesn't have this feature anywhere, let me show you how you can set it on your computer and yes, you're going to have to do this on each computer on your network. If your router doesn't have that settings in your windows go to the search type, cmd right, click on that command, prompt and click on run. As administrator now in the description, you'll see this particular line and remember change the MTU to whatever MTU size that works on your system and then press enter, and it will give you this little okay. You can also use this command to actually show you that it actually worked. So there is my Ethernet and then, as you can see, on the left-hand side, there is 1500, which means I've just updated the MTU to 1500.
Now, let's assume you don't have Ethernet, or you want to update your Wi-Fi as well. No problem, it's the same line as before. The only thing we're going to do is we're going to change instead of Ethernet we're going to use the word Wi-Fi and the MTU we're going. Going to set it at 1500 press enter to get the ok run that command to see if everything has been changed and there it is Wi-Fi, is now set at 1500. , simple stuff.
Now all that remains to do is a final speed test to see how much difference this MTU can make. Already, we can see a clear difference. Look at that the download is now sitting at 459 megabits per second as a download. The upload is a very healthy over 20 megabits per second, there is your proof: MTU does make a difference, go and optimize your system just another tip to get you and your Wi-Fi internet faster and better. If you want more videos check out these videos down here on, this topic hit the head below to subscribe.
If this is your first time here, give the video a thumbs up. If you liked it, and I'll see you in those videos, let's go.
Source : Liron Segev