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
  • Наука та технологія

КОМЕНТАРІ • 155

  • @GregiiFlieger
    @GregiiFlieger 3 роки тому +18

    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!

  • @harifidyr
    @harifidyr 2 роки тому

    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.

  • @SgtFuzzy80075
    @SgtFuzzy80075 5 місяців тому

    I had a lot of jitter on my network and this helped smooth it out a lot! Thanks for the useful info!

  • @broderickfall
    @broderickfall Рік тому +12

    Simple, concise, organized and indexed, and to the point.
    You, sir, have got yourself a new subscriber

  • @Sam-kx7jc
    @Sam-kx7jc 8 днів тому

    Great video. Straight to the point. I found my best MTU setting was 1472. Plus 28 equals the nice and round 1500 figure

  • @EustisRider
    @EustisRider 2 роки тому +1

    Thank you so much. Very thorough!

  • @leadiususa7394
    @leadiususa7394 2 роки тому

    Great walk thru! I am sharing your video dude!

  • @TheLegoTrainStation
    @TheLegoTrainStation 3 роки тому +13

    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.

    • @leftspeaker2000
      @leftspeaker2000 Місяць тому

      Same thing ! Fun little thing all the same.

  • @TheSnowwraith
    @TheSnowwraith 3 роки тому +4

    Thank you for an informative and to-the-point video. Very helpful!

  • @Joewalshe38
    @Joewalshe38 3 роки тому +3

    Thanks. I followed your instructions and it seems to have worked

  • @rednajma
    @rednajma Рік тому

    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!

  • @Cenodeath
    @Cenodeath 3 роки тому +1

    Thank you for this!

  • @shadyfuucktherest
    @shadyfuucktherest 3 роки тому +1

    Thanks for the help ! nice and easy

  • @apltmk9119
    @apltmk9119 3 роки тому +1

    keep it up! thank u man.

  • @laurencegoodchild2856
    @laurencegoodchild2856 3 роки тому +2

    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)?

    • @homenetworkgeek192
      @homenetworkgeek192  3 роки тому +6

      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

  • @Mecrom
    @Mecrom Рік тому +2

    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?

  • @diptodas6994
    @diptodas6994 3 роки тому +2

    That was a great video. thanks ^_^

  • @Psylo94
    @Psylo94 Рік тому

    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 ?

  • @Xbaharat
    @Xbaharat 2 роки тому +2

    But I have an issue when I run the command that changes the MTU it says: Element not found

  • @okkerz2044
    @okkerz2044 Рік тому +1

    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

  • @roki3805
    @roki3805 2 роки тому

    thank you man. it works

  • @rickhenry1833
    @rickhenry1833 2 роки тому +1

    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 ?

  • @oli133
    @oli133 Рік тому

    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?

  • @flarefrost6302
    @flarefrost6302 3 роки тому +3

    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)

  • @SamA-xu9gy
    @SamA-xu9gy 2 роки тому

    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

  • @kdubssolo9111
    @kdubssolo9111 2 роки тому

    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???

  • @babakopoulo
    @babakopoulo 2 роки тому

    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 ?

  • @rabinderluhana1496
    @rabinderluhana1496 3 роки тому +2

    does anyone know how to set it up on huawei router? i cant find settings

  • @diasandreas4901
    @diasandreas4901 2 роки тому +1

    Ive tried my mtu, it still pinging even at 1200. I used ethernet connection, what should i do then??

  • @fathersun6238
    @fathersun6238 Рік тому

    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???

  • @PhilHibbs
    @PhilHibbs 3 роки тому +6

    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?

  • @garethwigglesworth8187
    @garethwigglesworth8187 2 роки тому

    I have ipv6 should I increase my MTU size from the default 1280?

  • @DougLiebig
    @DougLiebig 2 місяці тому

    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?

    • @Zeric1
      @Zeric1 Місяць тому

      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.

  • @426Studios
    @426Studios 2 роки тому +3

    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.

  • @ressan7455
    @ressan7455 3 роки тому +3

    Really nice video, But I have an issue when I run the command that changes the MTU it says: Element not found. help please

    • @b00gzzz
      @b00gzzz 2 роки тому

      Be sure to find out what your interface name is and put the name in quotations

  • @Eloign
    @Eloign 9 місяців тому +1

    What do you do if it says operation not permitted?

  • @rbluma9329
    @rbluma9329 3 роки тому +1

    thanks for this video it helps alot i was fining this stuff im not smart like you

  • @informationzoobi509
    @informationzoobi509 3 роки тому

    I have router d'link 825acg1 mtu 1492 tell me perfect mtu setting plz

  • @eskimosandpresents6481
    @eskimosandpresents6481 2 роки тому +2

    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?

    • @b00gzzz
      @b00gzzz 2 роки тому

      makes it permanent

  • @arthurky3937
    @arthurky3937 3 роки тому +1

    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

    • @homenetworkgeek192
      @homenetworkgeek192  3 роки тому +1

      It will be whatever is listed as the interface when you run this command: netsh interface ipv4 show subinterfaces

  • @4lx727
    @4lx727 2 роки тому

    bro this helped a lot

  • @invikari
    @invikari 11 місяців тому

    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.

  • @ssn22
    @ssn22 3 роки тому +1

    underrated channel!!!

  • @ibraheemali3562
    @ibraheemali3562 2 роки тому

    How do I know my ping size on when I’m on talktalk when I enter it says no file found

  • @Healcraft
    @Healcraft 2 роки тому

    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

  • @jayyates3621
    @jayyates3621 2 роки тому

    if by adding 28 i should get 1500 is it possible that i can go down to 1490 for example

  • @kinginthenaught
    @kinginthenaught 3 дні тому

    is this for ipv4 or ipv6?
    both have diFfernt MTU...
    does this matter?

  • @MjedOP
    @MjedOP Рік тому

    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

  • @legendarytronic7774
    @legendarytronic7774 2 роки тому

    Thank You!

  • @stoneystevenson1060
    @stoneystevenson1060 2 роки тому

    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?

  • @zubaeerahmed1139
    @zubaeerahmed1139 3 роки тому +2

    Can you do it for android too? Please

  • @danielskarsten6194
    @danielskarsten6194 3 роки тому +9

    4:50 to change mtu

  • @xen4456
    @xen4456 10 місяців тому

    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?

  • @incoming90ify
    @incoming90ify Рік тому

    so does this apply to any network, so it just find the mix that your computer can fun

  • @seksdesperate9245
    @seksdesperate9245 Рік тому

    I dont understand the adding or subtracting 28 bytes
    Wouldnt that be included in the mtu packet being sent...

  • @steventhompson3507
    @steventhompson3507 Рік тому

    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.

  • @CSAFMedia
    @CSAFMedia 3 роки тому +5

    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?

    • @homenetworkgeek192
      @homenetworkgeek192  3 роки тому +1

      Yeah that's right - no need to change anything.

    • @richievellalar3214
      @richievellalar3214 3 роки тому +2

      @@homenetworkgeek192 Then why you change your MTU from 1500 to 1488 ?

    • @PharaoahMonk
      @PharaoahMonk 7 місяців тому

      @@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

  • @Obbss
    @Obbss 6 місяців тому

    wait i got it to 1472 but 1500 is where im getting the packet loss though?

  • @ryanwood6754
    @ryanwood6754 Рік тому

    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

  • @jakenotjake899
    @jakenotjake899 3 роки тому +6

    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

    • @TheRealSpleech
      @TheRealSpleech 2 роки тому

      You would have 1506

    • @ZacharyNR
      @ZacharyNR 2 роки тому

      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.

  • @benjaminkurian4730
    @benjaminkurian4730 3 роки тому +4

    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?

  • @Hammond_youidiot
    @Hammond_youidiot 2 роки тому

    How can you set it back to default?

  • @panaoutsios1990
    @panaoutsios1990 3 роки тому +2

    Fragment threshold best setting is 255 and RTS threshold to 5 or 10

  • @incoming90ify
    @incoming90ify Рік тому

    can you do this with ipv6

  • @neil9151
    @neil9151 Рік тому

    thx legend!

  • @yesnt5986
    @yesnt5986 Рік тому

    Can someone please help me revert these settings, every since I did this my internet speed is messed all the way up

  • @krisztoferorlik4858
    @krisztoferorlik4858 3 роки тому

    hy what is the interface name ?

  • @inspiredbyyou7048
    @inspiredbyyou7048 2 роки тому +2

    I cant find my MTU is always says timeout

  • @ColdNovRain
    @ColdNovRain 2 роки тому

    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

  • @marianarvaez9923
    @marianarvaez9923 3 роки тому

    Does anyone know how to do this for your Xbox

  • @VEKTOR_87
    @VEKTOR_87 3 роки тому

    thanks

  • @alexz6985
    @alexz6985 2 роки тому

    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

    • @gauravcharde13
      @gauravcharde13 2 роки тому

      put Wi-Fi in double quotes

    • @gauravcharde13
      @gauravcharde13 2 роки тому

      i mean whatever the interface name, put it in double quotes

    • @alexz6985
      @alexz6985 2 роки тому +1

      @@gauravcharde13 thx bro

    • @gauravcharde13
      @gauravcharde13 2 роки тому

      @@alexz6985 welcome 🙂

  • @BlazenWinchester
    @BlazenWinchester 7 місяців тому

    on point

  • @Capt_OscarMike
    @Capt_OscarMike 3 роки тому

    SUBSCRIBED

  • @Sauron191
    @Sauron191 Рік тому

    Can you show us how to change the MRU setting so that this is optimal please

    • @VVVVV99611
      @VVVVV99611 Рік тому

      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

  • @pokulot3041
    @pokulot3041 2 роки тому +1

    There is no MTU in my router.. pls help!

    • @b00gzzz
      @b00gzzz 2 роки тому

      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.

  • @tlwilly223
    @tlwilly223 2 роки тому

    Mine keeps showing requests timed out

  • @TheUncleshady
    @TheUncleshady 3 роки тому +29

    lol I was hyped up! Got it down to 1472. Added 28. Got 1500. Router defaults to 1500. Anyways....

    • @elias38
      @elias38 2 роки тому +3

      the same

    • @trr1932
      @trr1932 2 роки тому +3

      Same, mtu default was 1500, on my nas its 9000 for jumbo frames^^

    • @VVVVV99611
      @VVVVV99611 Рік тому

      You got lucky mate. Cheers

  • @hgrobert2
    @hgrobert2 2 роки тому

    thx for the MTU break down I
    was setting my 1500 MTU thx to you found my sweet spot 1472

    • @curtisbme
      @curtisbme 2 роки тому +1

      And then you add 28 to 1472 so 1500 is your sweet spot.

  • @nasrn1862
    @nasrn1862 3 роки тому +2

    What about the MRU bro ?
    Thanks for the video

    • @Bloom10
      @Bloom10 3 роки тому

      The MRU same goes for MTU they are the same

    • @nasrn1862
      @nasrn1862 3 роки тому +1

      @@Bloom10 thank you 🌺
      Your 600 subscriber

    • @Bloom10
      @Bloom10 3 роки тому

      @@nasrn1862 np 👍

    • @Bloom10
      @Bloom10 3 роки тому

      @Vlad Yes.

  • @vasiliyboulytchev2434
    @vasiliyboulytchev2434 2 роки тому

    netsh int ipv4 set subinterface “Ethernet” mtu=1490 store=persistent
    The parameter is incorrect.

  • @7modagamer980
    @7modagamer980 3 роки тому +3

    The filename, directory name, or volume label syntax is incorrect He said

  • @twistedatm6937
    @twistedatm6937 3 роки тому +1

    Mtu value out of range?

  • @FiSA01
    @FiSA01 2 роки тому

    What happens if i dont add 28?

    • @trr1932
      @trr1932 2 роки тому

      You can try it, your pc will simply lose its internet connection

  • @capricels334
    @capricels334 Рік тому

    how to reset the mtu settings

  • @user-iz4rs5vf3n
    @user-iz4rs5vf3n Місяць тому

    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.

  • @viperv7305
    @viperv7305 3 роки тому

    This doesn't work on Terminal? I keep getting '-f not permitted' error'

  • @TLK3324
    @TLK3324 7 місяців тому

    You are talking about the Win, how about MACOS?

  • @evolutionarystate5386
    @evolutionarystate5386 Рік тому

    after you had us Mac users open terminal... no instructions.. LOL.. it's -s to insert packet size

  • @blubhumm
    @blubhumm Рік тому

    Deep

  • @AlbertusEka
    @AlbertusEka Рік тому

    how to reset MTU?

  • @bigbillyz
    @bigbillyz 3 роки тому

    What’s a rooter

    • @richardgraham4512
      @richardgraham4512 3 роки тому

      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 😉

  • @zubilitic
    @zubilitic Рік тому

    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.

  • @charlesrichardson8635
    @charlesrichardson8635 3 роки тому

    It would be nice if you would put the text of the commands into the description. You are also speaking just a bit fast.

  • @LiveEnjoyment
    @LiveEnjoyment Рік тому

    lol mine is 1472, and the standard is 1500 =D

  • @NotNagruf
    @NotNagruf 2 роки тому

    Sorry, but i think u didn't write this command to the description, so guys just copy:
    netsh interface ipv4 show subinterface

  • @robgigabyte580
    @robgigabyte580 2 роки тому

    No Mention on QOS or Jumbo Frames? Oops!

  • @GuyTheAnimated
    @GuyTheAnimated Рік тому

    well I found that my MTU was already perfect at 1500.... lol

  • @valkyrja--
    @valkyrja-- 2 роки тому

    jeez, mine is 572 lol

  • @codaman127
    @codaman127 2 місяці тому

    1472 + 28 = 1500... Huh.