How to Speed up Your Home Network by Changing the MTU Size
Вставка
- Опубліковано 24 лип 2024
- In this video, we talk about MTU is, why you should consider changing the MTU size to get the most out of your home network, and I'll walk you through how to actually get it changed.
Command to test the packet size:
Ping www.homenetworkgeek.com -f -l 1500
Command to see all of the network interfaces and the current MTU size:
netsh interface ipv4 show subinterfaces
Command to change the MTU size:
(Replace "Ethernet" with your interface name and "1428" with the best MTU size you found)
netsh int ipv4 set subinterface “Ethernet” mtu=1428 store=persistent
📝 Check out the written article - homenetworkgeek.com/mtu-size/
🏠 Home Network Geek - homenetworkgeek.com
🧰 Recommended Gear - homenetworkgeek.com/recommend...
(Affiliate Disclosure: As an Amazon Associate I earn from qualifying purchases.)
📡 Recommended Routers:
ASUS RT-AC88U - amzn.to/2WkC9hF
NETGEAR Nighthawk AX12 AC6000 - amzn.to/3dlWMRq
TP-Link AC1900 - amzn.to/2z10elF
🎚 Recommended Network Switches:
NETGEAR Nighthawk S8000 - amzn.to/2VTS9YZ
Ubiquiti UniFi 48 Port - amzn.to/2KPTLg4
NETGEAR GS308E - amzn.to/2YLDKA0
📶 Recommended Wireless Access Points:
Ubiquiti UniFi UAP-AC-PRO - amzn.to/2WEGL2u
NETGEAR WAC540 - amzn.to/2SRJ0hH
Comfast AC1200 - amzn.to/3cpaL9i
💾 Recommended Network Attached Storage:
Synology DiskStation DS418 - amzn.to/2zRDtRH
Synology 12 Bay NAS Diskstation DS2419+ - amzn.to/2WjyIYD
TerraMaster F2-210 - amzn.to/3ddiSpn
🔌 Recommended Powerline Adapters
D-Link DHP-P701AV - amzn.to/3fcnJsM
TP-Link TL-WPA4220 - amzn.to/3rU1g99
TRENDnet TPL-407E2K - amzn.to/2yaXrXe
⛓ Recommended Ethernet Cables:
Monoprice Cat6a Cable - amzn.to/2YvdzNN
Vandesail Cat7 Cable - amzn.to/3aXCJag
Fast Cat Cat5e Bulk Cable - amzn.to/2VTyjwW
👍🏻. Recommended Services:
🕵🏼 Express VPN - www.xvbelink.com/?a_fid=homen...
🕸. SiteGround Web Hosting - www.siteground.com/index.htm?...
Contents of this video:
0:00 - Introduction
0:32 - What is MTU?
1:09 - When should you change the MTU size?
2:15 - How to find the best MTU size
4:15 - How to change the MTU size
About Chris:
Chris is an IT professional that setup HomeNetworkGeek.com and this UA-cam Channel to share his knowledge on home networking. To learn more about him, visit: homenetworkgeek.com/about/N - Наука та технологія
Nice job. I like the fast and straightforward charging through the topic. If people think that your going too fast, they should just watch again! Thanks and cheers!
It helped me a lot, others tutorials dont show me how to find my local network router name. Thank you very much and nice job.
I had a lot of jitter on my network and this helped smooth it out a lot! Thanks for the useful info!
Simple, concise, organized and indexed, and to the point.
You, sir, have got yourself a new subscriber
agreed
What the people need
Great video. Straight to the point. I found my best MTU setting was 1472. Plus 28 equals the nice and round 1500 figure
Thank you so much. Very thorough!
Great walk thru! I am sharing your video dude!
Interesting stuff! Just started using my Honor Router 3 today so messing around. The only Wifi 6 device around is my gf's phone and she isn't even here cuz lockdown..
I found this via your website. Ironically the highest stable value I could get was 1472, which when you add 28 takes me back to the router's default 1500! But fun either way.
Same thing ! Fun little thing all the same.
Thank you for an informative and to-the-point video. Very helpful!
Thanks. I followed your instructions and it seems to have worked
Glad it helped
New subscriber here. Glad to see your video 'coz I couldn't find a way to change MTU via my modem's interface. Very helpful!
Thank you for this!
Thanks for the help ! nice and easy
keep it up! thank u man.
Hi Chris, thanks for this video. Like you, the router provided by my provider (Vodafone) does not allow me to change my MTU. As such I'd like to do this at a device level. Trouble is, the device in question is a raspberry pi which I have very little experience with, and generally speaking my IT knowledge is basic. Do you happen to know if it is possible to change my MTU on my raspberry pi? Or if I changed it using a Windows laptop, would this also change the MTU at the router level (I.E. for all devices connected to it)?
Changing the MTU size your Windows laptop will only change it on that device unfortunately. I haven't done it myself, but this thread looks to guide you through how to change it on the Pi - discourse.osmc.tv/t/how-to-change-mtu-size-on-wifi-ethernet/11125/9
how does the mtu size get distributed? both the sender and receiver need to have the same mtu, correct? So how do they know the mtu of eachother? dhcp?
That was a great video. thanks ^_^
so what issue it can cause to go with the highest mtu 1500 if u have df packet ? does it inpact the video games etc ?
But I have an issue when I run the command that changes the MTU it says: Element not found
hi mate great video but when i put netsh int ipv4 set subinterface "Ethernet" mtu=1492 store=persistent instead of it replying OK its says element not found can you please help
thank you man. it works
Question M8. I have my MTU set at 1500, yet my video streaming is still pausing/buffering. I've cleared all my caches, turned off all unnecessary background programs and no one else is on my network. What else can be the issue that I may have overlooked ? Is it possibly my bloody ISP ?
Yes!
good vid mate bt I cant seem, to get My pc to move files to my NAs at more than 7.5 - 8 mb/s on a 100mb hard line.. any ideas?
I've been looking for a way to change MTU size on pc after I changed the MTU size on my Nintendo Switch and went from 200kb/s download speed to 12mb/s download speeds (My only internet where I live is my phone's hotspot)
How can i know the mtu of internet provider ?
What the order or the code that can i write in ms dos terminal windows , for give me the real mtu of internet provider ? Not from my router
i get 0% packet loss at 1472, so i add 28 which would mean i need to set it to 1500 correct?
but what if mine says 1500 already when i did the, netsh "interface ipv4 show subinterfaces"
does that mean there is nothing i can change???
I have a laptop . This change of MTU will effect only my home internet connection ? The performance and general behavior of my pc when i travel, will be the same . Correct ? No problems ?
does anyone know how to set it up on huawei router? i cant find settings
Ive tried my mtu, it still pinging even at 1200. I used ethernet connection, what should i do then??
Just a sec there's 2 options for ps5 digital edition when you go 2 advanced section,for example Automatic MTU or manual 1500.If 1500 is the maximum & Automatic need time 2 find the correct number then what is better?Manual setting with 1500 MTU or Automatic???
So if you can set it on the router, or on the device, which takes precedence? As the local device already has a setting (mine was 1468, whereas the tests showed 1500 as optimal), how would changing it on the router make a difference if my local device already has a setting? Is it to do with the MedaSenseState?
which ever is smaller
I have ipv6 should I increase my MTU size from the default 1280?
Does the part where you mention adding 28 bytes to the maximum packet size that doesn't require fragmentation apply if you are ONLY using this router for VPN traffic? I ask because the maximum packet size that pings through the VPN without fragmentation is 1472. This plus 28 equals 1500 which is the router default. So I would just leave it at the default?
Yes, leave it at default. The majority of people have no need to be changing the MTU, there are edge cases where it can help, but it's not needed for most. If one's speedtest performance on a hardwired connection gives them roughly the speed they expect, then there is no reason to delve further. This is only something to muck with if one is having performance issues on hardwired connections. I say hardwired connections because performance problems in WiFi are common and much more likely to be related to something else.
I followed the calculation, and what I got is 1500, which is already the default setting for me T_T. I am using an Deco M4 with Ethernet Backhaul. It was originally a wifi backhaul and someone suggested to me changing it to Ethernet backhaul so I did. After I switched to Ethernet Backhaul I got the full speed but after a few days it reverted back to half of my plan speed. I tried connecting wired directly to the router and got the full speed. I tried connecting to the Main node and still got the full speed but on the 2nd node I only get half the speed. I dont know anymore whats the problem.. I tested all the cables and theres no problem with it. I also purchased another ethernet card. At first I got full speed but after a few days it again reverted to half the speed. I tried reformatting my pc and still the same problem: At first full speed then reverted back to half speed.
Really nice video, But I have an issue when I run the command that changes the MTU it says: Element not found. help please
Be sure to find out what your interface name is and put the name in quotations
What do you do if it says operation not permitted?
thanks for this video it helps alot i was fining this stuff im not smart like you
I have router d'link 825acg1 mtu 1492 tell me perfect mtu setting plz
Does the store=persistent command make this a permanent change on a device, or does it reset the MTU to default when the computer reboots?
makes it permanent
Show when you say network interface do you mean the name of my network adapter or the connection type that I'm using because im using a lan connection any clarification will be greatly appreciated by myself
It will be whatever is listed as the interface when you run this command: netsh interface ipv4 show subinterfaces
bro this helped a lot
I accidently changed the MTU value for "Loopback Pseudo-Interface 1"
Could anybody help me reverting it back to default?
I wasn't smart enough to take a screenshot of the table before I made any changes and in this case a mistake.
underrated channel!!!
How do I know my ping size on when I’m on talktalk when I enter it says no file found
Whenever I ping any address with 1472, 1460 etc it times out, but it doesn't time out when I use just a normal ping with no additional arguements
if by adding 28 i should get 1500 is it possible that i can go down to 1490 for example
is this for ipv4 or ipv6?
both have diFfernt MTU...
does this matter?
The filename, directory name, or volume label syntax is incorrect. this is what i get when i set the mtu. what is the problem ? please help me
Thank You!
Hi, I have a question. On your web site I don't see any certifications or qualifications listed. As an IT person would you not want to show that off? Your web site has no contact info. Hum...
If changing the MTU is so good then why is it not set that way?
Can you do it for android too? Please
4:50 to change mtu
When I attempt to change my MTU setting: "netsh int ipv4 set subinterface “Ethernet” mtu=1428 store=persistent" command prompt shows: "Element not found."
What do I do?
so does this apply to any network, so it just find the mix that your computer can fun
I dont understand the adding or subtracting 28 bytes
Wouldnt that be included in the mtu packet being sent...
i dont understamd what command it is that your saying to type in . all i get is windows system 32 after clicking yes to run as administrator.
When I performed this step 5:06 the displayed MTU value 1500 was higher than my ping test optimum MTU plus 28 value, 1498. So really no need for a change?
Yeah that's right - no need to change anything.
@@homenetworkgeek192 Then why you change your MTU from 1500 to 1488 ?
@@richievellalar3214 lol yeah. also mine shows 1500 but when i do the ping test it follows as fragmented so maybe that's not the best option
wait i got it to 1472 but 1500 is where im getting the packet loss though?
Cheers dude I followed another internet article and they got the change command prompt all wrong. So I was stuck halfway through the process. Cheers my Internet went form 50 download speed to 110
so when testing ping at my 1500 mtu(already at 1500), it wont work, highest i can get is 1478. then when changing you said to add 28, which puts it back to 1500. i dont get how that works
You would have 1506
Because only the 1478 is relevant to the packets, the other 28 (which would make your overall mtu 1506) is for additional things. You should set your Mtu to 1506 in your router settings.
I did the the ping test and found MTU at 1432 i.e 1432+28 = 1460. But the MTU set on my router is 1492. What should I do?
Change it
How can you set it back to default?
Fragment threshold best setting is 255 and RTS threshold to 5 or 10
how to change
@@TobolChi wifi settings
can you do this with ipv6
thx legend!
Can someone please help me revert these settings, every since I did this my internet speed is messed all the way up
hy what is the interface name ?
I cant find my MTU is always says timeout
when i find the right one i add it and i do the scan again with the same one that worked with 0% packet loss i get 100% packet loss from the same one.this really doesn't work
Does anyone know how to do this for your Xbox
thanks
can someone help with this error :
the error :
The syntax supplied for this command is not valid. Check help for the correct syntax
i wrote :
netsh int ipv4 set subinterface 1 Wireless LAN adapter Wi-Fi 3 mtu=1492 store=persistent
did everything right idk why its not changing
put Wi-Fi in double quotes
i mean whatever the interface name, put it in double quotes
@@gauravcharde13 thx bro
@@alexz6985 welcome 🙂
on point
SUBSCRIBED
Can you show us how to change the MRU setting so that this is optimal please
Yes this will help you change MTU. You gotta put your router url in your browser to access *your* router settings. To get that info, look up your router's brand and model
There is no MTU in my router.. pls help!
Which router are you using? I'm using an Asus AX58U and in the "WAN" menu using "Auto IP" there isn't an MTU adjustment. I changed to firmware to Asus MerlinWRT and it was there after the flash.
Mine keeps showing requests timed out
lol I was hyped up! Got it down to 1472. Added 28. Got 1500. Router defaults to 1500. Anyways....
the same
Same, mtu default was 1500, on my nas its 9000 for jumbo frames^^
You got lucky mate. Cheers
thx for the MTU break down I
was setting my 1500 MTU thx to you found my sweet spot 1472
And then you add 28 to 1472 so 1500 is your sweet spot.
What about the MRU bro ?
Thanks for the video
The MRU same goes for MTU they are the same
@@Bloom10 thank you 🌺
Your 600 subscriber
@@nasrn1862 np 👍
@Vlad Yes.
netsh int ipv4 set subinterface “Ethernet” mtu=1490 store=persistent
The parameter is incorrect.
The filename, directory name, or volume label syntax is incorrect He said
same
Mtu value out of range?
What happens if i dont add 28?
You can try it, your pc will simply lose its internet connection
how to reset the mtu settings
Explanation of what to do in Geek Jargon is too fast and the CMD window you display is too small to see what to type. It may be a doddle, like a second lingo but not for the regular or intermediate joe.
This doesn't work on Terminal? I keep getting '-f not permitted' error'
same here
You are talking about the Win, how about MACOS?
after you had us Mac users open terminal... no instructions.. LOL.. it's -s to insert packet size
Deep
how to reset MTU?
What’s a rooter
Its the British English pronounciation of what US English speakers call a "row-ter"...😝
Its because in the UK "route" (i.e a course to take) is pronounced "root"; which distinguishes it from "rout" (i.e a disorderly retreat) pronounced "rowt" hth 😉
Hello,
Suggesting "open terminal for macos" without showing how ping works there is misleading and I will explain why.
Whoever is watching this (and doesn't know) may think that ping command works in the same way on Windows and macOS which in fact it does not.
For a simple "ping target" is OK but if you add more options the things are totally different.
FYI: the option -f in macos or linux = flood ping which is not something one would want to use. Anyway, it needs power user (root) but the confusion is created.
It would be nice if you would put the text of the commands into the description. You are also speaking just a bit fast.
Thanks for the feedback; they have been added.
lol mine is 1472, and the standard is 1500 =D
Sorry, but i think u didn't write this command to the description, so guys just copy:
netsh interface ipv4 show subinterface
No Mention on QOS or Jumbo Frames? Oops!
well I found that my MTU was already perfect at 1500.... lol
jeez, mine is 572 lol
1472 + 28 = 1500... Huh.