I had the EdgeRouter-X for around 8-9 months until I realised it was causing its own problems. UDP packets were not being processed in order which meant packet loss occurred and rubber banding showed its face in gaming. An easy way to replicate if your unit is affected is by using MTR (opensource trace route app) run it and you will see 8-10% packet loss on your default gateway IP. The EdgeRouter Lite is full of problems with UDP processing, the EdgeRouter-X is not without problems either. I moved back to a custom pfSense router shortly after finding out it was the EdgeRouter-X causing my rubber banding in rocket league etc. @Battle(non)sense
yeah.. i was wondering... should be top comment.. or in description.. but doesnt matter.. i already repostet to my friends, because they are all the time having the family-bandwitch-syndrome :D
I have had this exact setup since watching this video about 6 months ago. It has been perfect. No lag in gaming and a trouble free up time on my home network.
This video started me on the dark, seductive path that is home networking, from simple 5 port switch and cable modem router to Ubiquiti USG Pro, APs, Synology backup, and surveillance systems among other goodies. Thank you, Battle(non)sense. I should send you my receipts. lol!
Sir... I sincerely applaud you! I live in The Netherlands and have the luxury of a very high quality 1000Mb/1000Mb fiber connection. The hardware they supplied did the job well but with a huge bufferbloat problem "D". They will let you use your own hardware but cannot provide assistance with configuration. They give the basic input like: Use DHCP and VLAN ID xx etc. ...ER X (second hand) is so cheap these days that I couldn't loose anything so I gave it a shot. A factory reset and plug it in --> firmware update --> wizard (this is a joke so easy for a non consumer router). Testing is and around 300Mb up and down with a bufferbloat "C". Followed your step for the QoS with 150Mb cap on both up and down. and testing is 150Mb up and down with bufferbloat ''A+". ...Went a step further to see if this device is bottlenecking my max. ISP signal. Offloading enabled gave me 930Mb up or down. that is the same with my old hardware. I do understand that this max. speed can only be either downloading or uploading. But for @home use there is almost nothing that uses high speeds in both directions at the same time. This router is still the best option to go for in mid 2019! Even for high fiber customers. The QoS is the real king for gaming and is doesn't matter if you can't use you max download. Gaming can be done on a 20Mb connection. It's al about the quality of that one specific connection. You were speaking of that a moderate connection would not always be the issue for bad online gaming experience. I would love to see you make a in depth video where you explain that more. I would love to learn more about that. Thanks again!
Same here in Poland. I'm on 10Gbits/s up/down fibrewire, new line architecture etc., but the router they gave me is pure s**t. Still struggling to fix NAT problems not to mention bufferbloat...
You Sir deserve a medal, thank you for your time and knowledge, I just want to say that people like you that share their expertise in online communities make the internet world a little bit better, thanks again, and keep it up!
One of the best tips ever! I just connected the Edge Router to my "Drei Neo" modem and only set the QoS up. I changed nothing in the modem settings, you can even let the DHCP of the modem on, the Edge Router X knows that it`s a separate network then and has a own DHCP for the Ports 1-4. I went from B,D,A to A+,A+,A+!
This is a great video. I actually just purchased the EdgeRouter X and the Unifi AP-AC Lite and was looking for videos on how to set up for when I get fiber connected next week, and this explains everything perfectly. Can't believe how professional this product suite is at such a reasonable price, much cheaper than those all in one gaming wireless MIMO routers with antenna's all sticking out the wazoo and seems it may even perform better than this stuff at half the cost. Wasn't aware of such a thing as Buffer bloat with me being a casual gamer. But you learn something new every day.
Not sure if it's been mentioned but if you're running the UniFi Controller with the USG Pro (I already owned this device); While accessing the controller, you can click "Devices", select your USG-PRO to open the properties panel, click the "Configuration" tab, expand WAN1, and then you will find the Smart Queue check box at the bottom. Checking it will then allow you to enter your Up/Down speeds.
Wow! Ich hab meinen 4 Jahre alten Linksys Router nach deinem Video mit der UBNT Hardware ersetzt und bin begeistert! Habe jetzt ein viel stabileren Ping und TH-cam schauen neben einem größeren Download ist jetzt auch überhaupt kein Problem mehr. Sogar die WLAN Verbindung ist jetzt überall wesentlich stabiler. Nochmal Danke für diesen Augenöffner!
Ubiquiti SHOULD be paying you for this. By far the most clear instructions for setting up an edge router and access point. Thank you so much for this. Been having massive lag spikes on Citrix RDP.
I know this video is quite old but the last 6 months ive been using edgerouter x as my router/firewall and i have to say...THANK YOU sir for this video...thanks to you i can now enjoy my games even with all my family online.
Just got my new connection and was very pleasantly surprised. Using the Router my ISP provided (Speedport Smart on a VDSL100 line from Telekom) and had practically no bufferbloat! The DSLReports test gave me a rating of "A". I wasn't looking forward to having to install an additional device to get a rock stable connection at all times. So for anyone in Germany eyeing a setup like mine: Rejoice, no additional hardware needed!
I bought the edge router x because of its fallback wan but realized I didn't need it. It just found it's worth with your video. from Rank D C C now its A A A! Thanks
Thank you SOOOOO much for this tutorial! I've been having what seems to be like random ping issues for MONTHS. I think this is going to help a lot. I can't wait for a few hours gaming session to see what my pings do. I've gone from F to A+ for BufferBloat.
@@iiparam-wz202 I was using a test (I have forgotten which one I was using) that would evaluate ping issues. It rated me at a F initially. After using the tutorial (buying the equipment and setting up the network as described), it was rated as an "A+" for buffer bloat.
MANY MANY THANKS!!!! I bought it and replaced even my ISP modem and SMQ works perfect!!! This was my biggest frustration for over 10 years CoD! My internet speed is 200/200 but to get the perfect buffer bloat I had to put in 100/100 for speeds otherwise the speeds are to high for the router to work perfectly. I tested it and it plays so sick and smooth i just still can't believe it. i do have to mention i put my Netgear XR500 behind it for the Netduma software to be sure to play on close servers. When i perfectly have setup and done with more testing en setting up I will look on patreon to sponsor a little bit just as an appretiation for so much frustration that NOOOOO BIG TH-camR show how come they have great internet and only show the gameplay.
This is the best video i seen from you, thanks for doing it, really good stuff on it, i been an ubiquiti user (mostly AP) for more than 4 years now and i very happy with them, i just wished my ISP allowed me to use an Edge router X.
Chris, great video as usual. I have an ER-X and I get ~150 Mbps down / 12 Mbps up with Smart Queue turned on. Without it I get 240 Mbps down / 12 Mbps up. I know it may vary from user to user, but just wanted to put that out there for anyone considering the ER-X. My PC is connected directly to the ER-X. For me, the loss of ~ 90 Mbps per second downstream is well worth the advantages of Smart Queue.
Yeah, that is the CPU of the ERX becoming the bottleneck and limiting your max bandwidth. With 240 down 12 up you could try and only enable QoS in the upstream direction and see if you even need QoS on the downstream when you get 240Mbps.
If you don't mind some terminal action, there's improved SQM modules ("cake") available on the Edgemax forums. These are better and more efficient which should allow you to get at least 200/12Mbps.
Chris, any chance of an update to this video or a new one on routers? I have around 400 Megabits connection and suffer badly from the ISP’s router not prioritising traffic properly.
Hey man great video. Have this exact setup point for 2 years or so. Works great. But one thing about your setup is bothering me? Why dont you run cable modem into LAN of the POE injector then POE to eth0 (POE IN) and eth04 (POE OUT) -> access point. Then the POE injector runs the whole thing. (router + access point) - remember to enable poe on eth04 in actions in the dashboard.
Great explanation. Bufferbloat and ping spikes are gone now. Have the newest firmware for the Edgerouter X v2.0.6 and the overall internet speed only fell from 860 mbps to 480 mbps downstream - not too bad a penalty for having an A+ gameplay expiriance for the boys.
One config some should be aware of is this router is PoE passthrough. So best to connect modem > PoE injector > eth0 > eth4 > ac-lite. This way you only need to plug in the PoE injector which will power the router and AP.
Absolutely agree with Battle(non)sense with his findings. I have seen other users have to really limit their bandwidth to get reasonable BufferBloat results on the NetDuma and other devices. With the EdgeRouter Lite I don't lose my performance. However I would suggest the EdgeRouter Lite over the X. Yes it is a little more, I have both, but there is a clear performance difference between the 2. I would even take the Lite over the USG. I do have an entire Unifi setup, USG Pros, switches and WAPs at my workplace. I do not get paid nor do I have any affiliation with Ubiquiti but I have not had any issues. I really like the administration of all 3 of my networks being in 1 location! My ISP package is 300Mbps X 20Mbps but without any settings I will see 350Mbps X 28Mbps. I have my own modem (Netgear CM600) and have my EdgeRouter Lite, no ISP equipment at all. I have 2 PS4s and a PS3 that I would like open to the internet so less administration for me. This is a sample on commands to configure for multiple Xboxs on a single Network. I use the GUI for DHCP reservations, this user didn't. For multiple Xboxs you need an extra rule to block port 3074. Access the EdgeRouter CLI configure set service dhcp-server shared-network-name LAN1 subnet 192.168.1.0/24 static-mapping XBOX-1 ip-address 192.168.1.241 set service dhcp-server shared-network-name LAN1 subnet 192.168.1.0/24 static-mapping XBOX-1 mac-address 50:1A:C5:A2:A6:51 set service dhcp-server shared-network-name LAN1 subnet 192.168.1.0/24 static-mapping XBOX-2 ip-address 192.168.1.242 set service dhcp-server shared-network-name LAN1 subnet 192.168.1.0/24 static-mapping XBOX-2 mac-address 4C:0B:BE:52:A4:2E set service upnp2 listen-on eth0 set service upnp2 nat-pmp enable set service upnp2 secure-mode enable set service upnp2 wan eth1 set service upnp2 acl rule 10 action deny set service upnp2 acl rule 10 description "Block default Xbox Live port 3074" set service upnp2 acl rule 10 external-port 3074 set service upnp2 acl rule 10 local-port 0-65535 set service upnp2 acl rule 10 subnet 192.168.1.0/24 set service upnp2 acl rule 20 action allow set service upnp2 acl rule 20 description "Allow XBOX-1" set service upnp2 acl rule 20 external-port 1024-65535 set service upnp2 acl rule 20 local-port 0-65535 set service upnp2 acl rule 20 subnet 192.168.1.241/32 set service upnp2 acl rule 30 action allow set service upnp2 acl rule 30 description "Allow XBOX-2" set service upnp2 acl rule 30 external-port 1024-65535 set service upnp2 acl rule 30 local-port 0-65535 set service upnp2 acl rule 30 subnet 192.168.1.242/32 set service upnp2 acl rule 100 action deny set service upnp2 acl rule 100 description "Deny All other devices" set service upnp2 acl rule 100 external-port 1024-65535 set service upnp2 acl rule 100 local-port 0-65535 set service upnp2 acl rule 100 subnet 0.0.0.0/0 commit save Here is my configuration example. I have my WAN on Eth0. configure set service upnp2 listen-on eth1 set service upnp2 nat-pmp enable set service upnp2 secure-mode enable set service upnp2 wan eth0 set service upnp2 acl rule 20 action allow set service upnp2 acl rule 20 description "Allow PS4" set service upnp2 acl rule 20 external-port 1024-65535 set service upnp2 acl rule 20 local-port 0-65535 set service upnp2 acl rule 20 subnet 10.10.25.80/32 set service upnp2 acl rule 30 action allow set service upnp2 acl rule 30 description "Allow PS4 Pro" set service upnp2 acl rule 30 external-port 1024-65535 set service upnp2 acl rule 30 local-port 0-65535 set service upnp2 acl rule 30 subnet 10.10.25.83/32 set service upnp2 acl rule 40 action allow set service upnp2 acl rule 40 description "Allow PS3" set service upnp2 acl rule 40 external-port 1024-65535 set service upnp2 acl rule 40 local-port 0-65535 set service upnp2 acl rule 40 subnet 10.10.25.82/32 set service upnp2 acl rule 100 action deny set service upnp2 acl rule 100 description "Deny All other devices" set service upnp2 acl rule 100 external-port 1024-65535 set service upnp2 acl rule 100 local-port 0-65535 set service upnp2 acl rule 100 subnet 0.0.0.0/0 commit save I have only setup 1 QoS rule. In Smart Queue I have limited my Upload to 25Mbps (even though my upload package is 20Mbps) and I get A across the board with DSLReports speed test. www.dslreports.com/speedtest/26413509
I was using the Asus GT-AC5300 (total overpriced junk by the way). I would get terrible spikes. Watched this video and went out right away and bought this stuff and it's a world of difference. I'm stuck on a 20Mbps/1Mbps connection and struggle to play games as well as run everything in the house. Thanks so much for making this video as I can finally game online.
Holy shit. Went from a triple D to a A+. I live with three people and one child and everyone is always using the internet. So as you can imagine is can become incredibly infuriating playing any online games. Got the E-X and turned my old router into an access point, I'm on a hard line to the E-X. ill eventually replace that with a decent one from ubnt as well. Iv always had lag spikes and rubber banding and this solution cleared up this issue. Thank you.
I've been using this router for 7 months already, it's awesome even for my shit internet, i have 2 connections (10 and 8 mbps down) in balanced mode. Even when my family starts watching netflix/youtube i can maintain my ping below 80 in overwatch, (though, i have to set the qos for half of my bandwith, but it's well worth it) can't recommend this enough.
Hey Chris. If you have both these devices, you can use the poe injector that comes with the WAP to power both the router and the WAP. Put the ethernet cable coming from the modem into the LAN port of the injector and the put the ethernet cable coming from eth0 (poe in) on the router into the POE port of the injector. Next put a ethernet cable into eth4 (poe out) on the router and put the other end into the WAP, now enable POE passthrough on eth4. Now when you power on the poe injector will will power both the router and WAP.
Great video. I am so thankful for it as I am searching the perfect setup for myself since a couple of years and I think I finally found it. I have a Fiber connection with 1Gig Up/Down and couldn’t use my preferred way to go with OpenWRT based devices as these always reduced the speed to max. 400 MBit just because OpenWRT and all other Third party firmwares were not able to handle 1Gig Internet speed. Now I will just connect all rooms with gaming devices to the edge router directly and the unifi access point in the middle of my home to provide the maximum WiFi performance to phones and laptops.
Just installed. Other than having to try a few times installing firmware on mac (reset helped) this router is the bomb! Earlier setup was cable modem bridged into Asus ac68u. Without and with Qos had problems with solid connections (video streams and sites randomly stalling). Now gone with EdgerouterX and the Asus as Ap.
After so many month have passed, i finally came back here and ordert that router using your link! :D Was planning on this forever and now i need Smart Que! :D thanks man
the first thing i always do is QoS port based and plug myself in the port 1 and only set that on on highest priority.. also good if i need to upload my cat pictures to onedrive. 6:45 .. what you can always do is putting your own router behind the ISP router.. that's no issue just unplug the other cables and deactivate the wifi.. so you still have the benefits of your edge router
A better wifi coverage device is a Mikrotik, setup as a dumb switch . Create a VirtualWifi AP on the Mikrotik and plug it into the ER-X. It will function as any other access point. Config the wifi Tx / Rx / dbi / security etc, accordingly on the mikrotik. You can also make a guest bridge for guest wifi access.
Does using a network switch change any of this setup ? I will be using a 24 port network switch. going from the EdgeRouter to the network switch ???? please help.
If you're using the POE adapter to power the ERX, you don't need the wall wart and you can also power the AP AC LITE with the POE out port, if you enable POE passthrough on the main page in the interface settings.
Yes, but I advice against that as a failure of the PoE brick will then not only take down your AP but also your router. :) I also want to add that the PoE brick has barely enough power for the ERX and the AP AC Lite.
Another great video. I had this issue - always with Apple devices hogging bandwidth or Netflix usage. Smart Queue really helped. These Edge routers are brilliant value for money.
You can just any device with sqm or qos. In any case I can't use those devices due to low processing power of those SOCs. Right now I'm using Xeon processors to manage my 1gbps connection. I also use specialized rules based on deep packet inspection to speedup the real-time traffic through the firewall.
dbyrne91 pfSense + suricata. You need a compatible hardware for the DBS kernel. Edgerouter are not bad but not versatile. Edgerouter are based on vyos. But vyos is CMD line only but is based on Linux.
What router can support SQM for 500Mbps or 1Gbps? I found only EdgeRouter Pro 8 supporting like 250Mbps and no other routers with SQM that can go further. Thanks for the information.
One could build a router using custom hardware, running Pfsense or OpenWRT. Most consumer CPUs nowadays will probably handle higher bandwidth connections with SQM significantly better.
Sweet! Finally a GOOD solution! Thank you very much!
7 ปีที่แล้ว
If you are buying the EdgeRouter PoE and use the same procedure as in this video, you will only be able to get like 60-70 Mbit/s out of your connection if you have a 100 Mbit/s line. I was able to get more out of it when enabling a burst of 6 MBytes in the "Show advanced options" menu. I subscruibe to 100 Mbit/s, and i am getting 96 in real life. I have set my rate to be 94 Mbit/s in the EdgeRouter PoE, and 6 MBytes burst. I am able to get 91-93 Mbit/s out of it now, with the sqm enabled. The bufferbloat is about 8 - 18ms.
I finally got around to getting a U6-Pro AP to replace the router I have plugged into the ER4 for wifi and it was honestly a nightmare. Spent hours troubleshooting but could not get the controller software to detect the AP for adoption. Maybe I just had a bad unit but it was just too much of a mess to deal with.
I like the idea of a modular router setup with the wifi being in a separate module. If you want to improve either the wired or wifi section you don't have to buy an entire new router that way
I got an F for bufferbloat. But I'm the only one using my router, and when I'm gaming, everything that can be disabled, is disabled. So is it not actually a problem? Is it only an issue if someone else is using the connection for something?
Bufferbloat refers to how latency changes as bandwidth is saturated. If bandwidth isn’t saturated, then bufferbloat doesn’t occur. But you have to bare in mind that any file or video download will attempt to saturate your connection (even if only briefly), and will cause ping spikes.
I have a adsl + 4g router and i cant make the edgerouter to work. My line is a combination of 7Mbps/1Mbps from adsl and 30Mbps/5Mbps from 4g. Should i buy something different?
Hello battle, i'm so overwhelmed with your knowledge in computers, network, etc,etc. I'm from Venezuela and here the internet is a nightmare to much ignorance and ISP want to threat you as a noob :( So the thing is i'm using a cable modem with just a bandwidth of 2mb and upload lesss than 512kbps (i know this sucks) But im getting high bufferbloat like insane 400-1900 and always my ping is spiking.. from lets say 80ms to 120, 90, 120, 130, 80... and is terrible the unsync in games... I have the oldest modem provided by the ISP like docsis 1.1 modem, and a non gaming router which is: TP-LINK 150Mbps Wireless N Router Model No. TL-WR720N, and what i wanted to ask you, is there something that i can do to fix my problems? What advises would you give to me? like a Computer configuration with adapters, or what can i say to ISP? like changing MTU? or telling them something with buffer-bloat? any help, cause the situation here is really tough already, so thanks in advance Hope u can see this comment. PD: Even if i connected my pc direct to the modem and turning off the router, i still get huge Buffer-bloat.
Hello. Your TPLINK router probably has a dd-wrt firmware for it. In a few words, it's a community made firmware that enables a lot of features that the stock firmware doesn't, including QoS/SQM(lag free gaming). Search, look for your router model and install it. ATTENTION: BE CAREFUL! As you flashing wrong firmware into your router, might break it.
@@kleanlins Heya Cleanderson thanks for your comment, so do you think that i should contact in Forum the staff of Tp-link about my router, and ask them for a custom firmware with possible options such SQM? Cause my router already has QOS but is poorly i mean i cannot set limit bandwidth alternative like for upload or dowload.. nope x.x
@@PescaitoFrito No. There's a dd-wrt forum already. Look for your router version on their website to see if it does have a stable version available. dd-wrt is a big project.
Chris, @ 9:30 You applied QoS to the whole router? If my internet is 150/150, why would I limit it to less than that? Would I be able to limit bandwidth to one port on this router? I will keep looking, as I bought this router as well as the R7800 X4S from Netgear. Do you hvae comparison data between the Edgerouter X and the 7800?
As I said in the video, the ER-X is for internet connections with up to 100Mbps as the CPU will become a bottleneck then. Please refer to the chart I showed in the video to find a model that works at higher rates when SQM is enabled.
You can power the ER-X with the PoE injector and also power the AP. Move the PoE injector to your ISP Ethernet cable (in your case eth0) and active the PoE passthrough for port 4. Be warned that not every device supports PoE passthrough and your device can be damage.
i bought an old wdr 3600 and put openwrt on it. you just have to download sqm on it and then set the type of sqm. i chose cake and piece of cake. then you set your download and upload speed ( minus about 10%). works incredibly well. 4 or 5 people can download at the same time and the ping stays within about 10-15ms of the ping when nothing is downloading. if you want a cheap 20 dollar router and dont want to mess wtih 3rd party firmware for 25 meg maybe up to 50 meg then the tplink 841n with bandwidth control turned on does pretty well. you set the download and upload speed just like sqm but thats it. youre done pretty much. you can also set per device limits but its not necessary
whats the order of devices need to be? I have a wireless router, an edgerouter, and the ISP modem. Do i need to put the edge router in the middle or after last?
Just pulled the trigger on this, after years of suffering with the linksys e2500 I am looking forward to having a real network! And Amazon guarantees delivery in 1 day! First time I've had that option (:
Hey Chris, again thanks! This thing works tremendously as you said it would. Pain in the butt to setup but , the end result was good. Plus it was cheap. Can't thank you enough. Good gaming mates!
I love Ubiquiti products. My entire business and home is covered by Unify access points. Super fast and super reliable and super to manage (fun fact: they were the first company to patch their access points for the CRACK Wi-Fi bug from a few months back)
I don't know Meraki is one of the easiest products I have come across. But saying that it's so simple it misses some really nice features I feel like should be added.
A tip, when you change ISP, especially if your new connection is faster, don't forget to alter the QOS. I was wondering why my upload wasn't any quicker until I remembered QOS!
ASUS RT-AC88U and Rog (properly others too) comes with QOS for both up and download. I have tested both (USG and RT-AC88U). Asus can handle it up to 1GBit where the USG and ER-X stops at 100MBit, as you explain.
I have been having issues with buffer bloat in recent time. Would you recommend the ER-X for a 150Mb/s connection or is there another I should be looking at? I would also like to have a Wifi connection if you could also recommend a wifi access point or something with one built in.
I use an edge router x and get my full ISP bandwidth through it (350 mbps) and my ap is a uap ac lite and get about 250 mbps through it. I never have issues gameplay wise. Just make sure your hwnat offload is enabled because from what I remember it doesnt come enabled by default
I'm using PFsense, and i could easily say it's fun to setup but definitely overkill for most people and i actually setup Edge Routers whenever i can for clients lol
What could be the cause if there isnt much change to bufferbloat? I just got an ER-X, set it up like you and to my shock it didnt do much about my bufferbloat. I now get a B or C (very unstable results) instead of a D with 50 to 200 ms bufferbloat in both upload and download. The only thing I did differently is that there are 2 additional routers connected to the ER-X, but my PC is only connected to the ER-X directly. I guess its something about my ISP settings then? But what? Anything specific I could mention to them to fix this? Or even anything I could do on my own to fix this?
Yeah, I did it exactly like described in this video. I just adjusted my connection bandwidth. Do you mean the hwnat and ipsec options in the config-tree? What do I put in those fields to enable them?
CarTrips Yes the hwnat and ipsec options. If you are on the latest firmware, just type enable next to both of them in the boxes on the right, then press save at the bottom of the screen. If you are on earlier firmware you can only do it though the command line .That will turn on hardware offloading and allow the router to operate much faster. This is what you need to do if you have a gigabit internet connection with this router. Be aware though, when using hardware offloading the smart queue management is not running. Smart queue is not a service of the router that can be offloaded, but the router runs so much better that you don't need it in my opinion. I went from a C to an A on my bufferbloat score. Hopefully it will work for you.
Sounds like you need to connect directly to your modem/gateway, without any router with your PC wired ethernet and troubleshoot with your ISP. Sounds like something is just wrong with your internet connection.
I have a 350 mbit cable connection. What Ubiquiti or Open WRT/SQM capable routers would be recommended? Currently using an ASUS AC68U with Merlin FW on fq_codel for docsis. Runs well enough but it shows the strain when I'm on my PC and so are both my kids whiulst there's 12 other wireless devices connected.
So according to the chart, the ER Lite will get a minimum of 60 mbps when SQM is enabled and with my 150 down the cpu of the router will cause a bottleneck and ping spikes?
What router should I suggest to my buddy for his 200Mb/s down 10Mb/s up connection that he shares with 4 flat mates? Are there any routers capable of SQL management at those speeds?
Try this. In your QoS rule, do not apply to your download. Only check upload and limit it close to your upload max per ISP. Then test. I get 350Mbps down and still get A's on DSLReports.
Just subscribed. Great video. Got a quick question for you. I have been considering the Edgerouter X for my setup but would like to find out if this would be the best unit for me. I have Comcast 100 down 5 up internet. I'm not a gamer, but I am subscribed to DirecTV Now streaming service which I will be running on 2 Amazon Fire TV's that are hard wired Ethernet. Right now I am only using one, but get some buffering every now and then, so I would like to start using QOS to help with this problem. Will the Smart Que help with 2 streaming devices, or am I better off with a router that does QOS that you can link to the mac addresses of the streaming devices? Thanks 👍
I have 200+mb connection, but suffer from a lot of bufferbloat. So if I understand correctly, I can fix this with the ER-X, but I'd have to sacrifice about half my download speed? Or is there any way to set it up so that it only uses SQM when gaming? So that I can still download games and what not at normal speeds.
Hey @Battle(non)sense, are you able to manually set MTU for different ports with the Edgerouter X? I recently got a new modem to work with my connection (BT Infinity FTTC in the UK) and both the network infrastructure and modem support baby jumbo frames (RFC4638) meaning 1500 MTU is possible on PPPoE, rather than 1492. However when manually setting my current router to 1500 or even 1508 MTU, a command prompt ping still shows my max is 1464 + 28. In various somewhat vague guides dotted around online, there is often the mention of eth0 or eth1 ports which is beyond anything I've ever seen on router GUIs. If the Edgerouter X can achieve this, I'd like to get one to put between my modem and router :) hope you can help me. Thanks!
Yes, you can set the MTU manually per port. However when you use PPPoE then you need to set the MTU on that interface rather than on the physical ETH0.
Battle(non)sense thanks for the reply. Deleted my previous reply as I seem to have got my head around everything I need to do. Find the command line interface button and apply this... configure set interfaces ethernet eth0 pppoe 0 mtu 1500 set interfaces ethernet eth0 mtu 1508 delete firewall options mss-clamp commit save exit I should be able to put the Edgerouter X between my current modem and router (for its WiFi) right? My current router can apply up to 9198 MTU so that shouldn't be an obstacle once 1500 MTU is achieved. Thanks again for taking the time to help me with this!!
You can do everything in the GUI, no need to use the CLI for that. Yes, you can (ab)use your old router as WiFi Access Point, see: th-cam.com/video/KwHes-GWYuY/w-d-xo.htmlm59s
What would you suggest to do when the router is on the one end of the apartment and the PC is on the other end? I currently use DLAN and get from possible 120 MBit/s only around 50 MBit/s on my PC. When i am plugging a laptop directly in the router or am in front of the router and use wlan i get 120 MBit/s so the maximum. Is there something i could do to get more MBit/s at my PC? A 20 meters LAN cable isn't an option^^ A WLAN repeater also isn't an option because my PC doesn't support WLAN. My router is the standard Unitymedia Router "Connect Box". And the DLAN hardware is from the Devolo "dlan 200 avplus" series. Is there even something i could do? ^^ EDIT: The speedtest for me shows a "A+" for Overall and Quality, but a "-" (so no result) for BufferBloat and Speed. What does this mean?
I currently have a Mikrotik device.. On my PC I mark all games and discord connections with DSCP 56 mark, and then in my Mikrotik router I mark those packets and prioritize their upload and download traffic to a maximum while also setting a max limit to other traffic to about 80% of the download speed.. I think it's making a difference, but how different is it from SQM? I have 20/5 ISP and my PC is wired
i have a question for you if i don't use the Edge Router X if you disconect all the device and the WiFi from you main router and use your computer only and do the test the result will be A+ or what ? and the result while you use QOS or not in your main router ?
The BufferBloat test will tell you how your router handles..... BufferBloat. It does not matter how many devices are connected to your router during the test.
ok i see your setup use sqm in the interface wan will if the other device have some one who do high download or upload that is the status of the bufferload i was using QOS in badwith control with priority ip address i got A in BufferBloat test, while the BufferBloat test got from 9 - 20 ms is that good
Yes, you can use an old WiFi Router as Access Point. For that you: 1. disable DHCP on the old router (as you run DHCP on the Edge Router) 2. set the LAN IP adress of that old router to something outside the DHCP range of the Edge Router 3. connect any of the LAN ports of the old router your your lan
Is there any benefit in using SQM if there's only two gamers in the same network, never really downloading anything heavy (so does it help at all if there's only "gaming traffic" in the network)? Can SQM have a negative impact if the modem's/router's CPU isn't strong enough (I have a Netgear DGN3500 with openwrt)? Also would you recommend using only a ADSL2 modem/router combo, or using one modem/router as a modem and another one as a router.
You only need a modem/router combo which should be put in bridge mode if you are using DSL or Cable broadband. If you are using fiber optic, you plug the router directly into the ONT box. As for using SQM, yes if there is more than 1 person in the house it is a benefit having it turned on. Any download will use all the bandwidth. As for hardware, I'd honestly just buy an Eero 6 or Eero 6 Pro. Their specs can easily handle SQM which is a feature on their software. No need for installing openwrt or any of that shenanigans.
Soooooo, what's a well priced modem you recommend? Say I want to apply a similar set up when updating, and my current structure is a modem+router that isn't up to my standard
Hey Chris, I have an Edgerouter X SFP, and when I enabled SQM my download bufferbloat stayed low, but my upload bufferbloat went through the roof! (+2000ms), am I doing something wrong? I have it set to eth0 which is where my traffic is, and i tried setting the limits to 60/60 (my true speed), and i also tried 50/50. Cheers mate
Hey, I'm new to this stuff and a bit confused. Currently I'm using a modem+router combo so if I get this, do I have to go in my current device and disable the routing settings?
You have to contact your ISP and ask them if and how you can use your own router. Usually they can switch their device into "bridge mode", but not every ISP wants to do that. Should they ask "why?" then you best say "I need to use my own VPN router for work". But how and if you can use your own router depends on the ISP.
Hey, so I managed to get my old Motorola into bridge mode and I was able to setup the edge router X, but I have 2 issues. The first is that for some reason on my PC the download speed in around 8 Mbps less than my parents' PC (which is also connected to the router with an Ethernet cable), and my upload speed is around 0.5 Mbps less. The second issues is that the QoS rule only helped to reduce buffer-bloat on my upload traffic, but didn't do anything for the download. Any help would be appreciated.
5:05 copy/paste mistake :( The USG costs €111.88 / $119.00
Timecodes:
- 2:02 it fixes your marriage?
- 3:36 why an ER-X instead of OpenWRT/LEDE?
- 4:09 why an ER-X instead of an USG?
- 6:27 ER-X basic setup
- 9:19 ER-X Smart Queue configuration
- 10:06 ER-X Port forwarding and UPNP
- 13:13 Unifi Access Point setup
double the price ??? little mistake ??
I had the EdgeRouter-X for around 8-9 months until I realised it was causing its own problems. UDP packets were not being processed in order which meant packet loss occurred and rubber banding showed its face in gaming. An easy way to replicate if your unit is affected is by using MTR (opensource trace route app) run it and you will see 8-10% packet loss on your default gateway IP. The EdgeRouter Lite is full of problems with UDP processing, the EdgeRouter-X is not without problems either. I moved back to a custom pfSense router shortly after finding out it was the EdgeRouter-X causing my rubber banding in rocket league etc. @Battle(non)sense
yeah.. i was wondering... should be top comment.. or in description.. but doesnt matter.. i already repostet to my friends, because they are all the time having the family-bandwitch-syndrome :D
I have had this exact setup since watching this video about 6 months ago. It has been perfect. No lag in gaming and a trouble free up time on my home network.
Jokes on you, I'm not married!
Show enough ladies and it will fix that too.. :)
So sad..
Should've bought this router sooner then.
This video started me on the dark, seductive path that is home networking, from simple 5 port switch and cable modem router to Ubiquiti USG Pro, APs, Synology backup, and surveillance systems among other goodies. Thank you, Battle(non)sense. I should send you my receipts. lol!
Im starting off by buying a cheap used Edgerouter X in 2024. This comment is 6y old already. How is your network lab now?
@@erickmk hahah you are not alone I am also looking for edgerouter x or simiar alternatives in 2024 to improve my home network :D
Sir... I sincerely applaud you! I live in The Netherlands and have the luxury of a very high quality 1000Mb/1000Mb fiber connection. The hardware they supplied did the job well but with a huge bufferbloat problem "D". They will let you use your own hardware but cannot provide assistance with configuration. They give the basic input like: Use DHCP and VLAN ID xx etc. ...ER X (second hand) is so cheap these days that I couldn't loose anything so I gave it a shot. A factory reset and plug it in --> firmware update --> wizard (this is a joke so easy for a non consumer router). Testing is and around 300Mb up and down with a bufferbloat "C". Followed your step for the QoS with 150Mb cap on both up and down. and testing is 150Mb up and down with bufferbloat ''A+". ...Went a step further to see if this device is bottlenecking my max. ISP signal. Offloading enabled gave me 930Mb up or down. that is the same with my old hardware. I do understand that this max. speed can only be either downloading or uploading. But for @home use there is almost nothing that uses high speeds in both directions at the same time. This router is still the best option to go for in mid 2019! Even for high fiber customers. The QoS is the real king for gaming and is doesn't matter if you can't use you max download. Gaming can be done on a 20Mb connection. It's al about the quality of that one specific connection.
You were speaking of that a moderate connection would not always be the issue for bad online gaming experience. I would love to see you make a in depth video where you explain that more. I would love to learn more about that.
Thanks again!
Same here in Poland. I'm on 10Gbits/s up/down fibrewire, new line architecture etc., but the router they gave me is pure s**t. Still struggling to fix NAT problems not to mention bufferbloat...
You Sir deserve a medal, thank you for your time and knowledge, I just want to say that people like you that share their expertise in online communities make the internet world a little bit better, thanks again, and keep it up!
One of the best tips ever! I just connected the Edge Router to my "Drei Neo" modem and only set the QoS up. I changed nothing in the modem settings, you can even let the DHCP of the modem on, the Edge Router X knows that it`s a separate network then and has a own DHCP for the Ports 1-4. I went from B,D,A to A+,A+,A+!
This is a great video. I actually just purchased the EdgeRouter X and the Unifi AP-AC Lite and was looking for videos on how to set up for when I get fiber connected next week, and this explains everything perfectly. Can't believe how professional this product suite is at such a reasonable price, much cheaper than those all in one gaming wireless MIMO routers with antenna's all sticking out the wazoo and seems it may even perform better than this stuff at half the cost. Wasn't aware of such a thing as Buffer bloat with me being a casual gamer. But you learn something new every day.
Not sure if it's been mentioned but if you're running the UniFi Controller with the USG Pro (I already owned this device); While accessing the controller, you can click "Devices", select your USG-PRO to open the properties panel, click the "Configuration" tab, expand WAN1, and then you will find the Smart Queue check box at the bottom. Checking it will then allow you to enter your Up/Down speeds.
Wow! Ich hab meinen 4 Jahre alten Linksys Router nach deinem Video mit der UBNT Hardware ersetzt und bin begeistert!
Habe jetzt ein viel stabileren Ping und TH-cam schauen neben einem größeren Download ist jetzt auch überhaupt kein Problem mehr. Sogar die WLAN Verbindung ist jetzt überall wesentlich stabiler. Nochmal Danke für diesen Augenöffner!
Gerne!
Ubiquiti SHOULD be paying you for this. By far the most clear instructions for setting up an edge router and access point. Thank you so much for this. Been having massive lag spikes on Citrix RDP.
I know this video is quite old but the last 6 months ive been using edgerouter x as my router/firewall and i have to say...THANK YOU sir for this video...thanks to you i can now enjoy my games even with all my family online.
Just got my new connection and was very pleasantly surprised. Using the Router my ISP provided (Speedport Smart on a VDSL100 line from Telekom) and had practically no bufferbloat!
The DSLReports test gave me a rating of "A".
I wasn't looking forward to having to install an additional device to get a rock stable connection at all times.
So for anyone in Germany eyeing a setup like mine: Rejoice, no additional hardware needed!
I bought the edge router x because of its fallback wan but realized I didn't need it. It just found it's worth with your video. from Rank D C C now its A A A! Thanks
youtube recently suggested your video.. I've been running that same equipment since mid-2016 and it's been the best move i ever made. cheers
Thank you SOOOOO much for this tutorial! I've been having what seems to be like random ping issues for MONTHS. I think this is going to help a lot. I can't wait for a few hours gaming session to see what my pings do. I've gone from F to A+ for BufferBloat.
MAIKERU79 how is gaming now?
how did you go from f to a+ ?
@@iiparam-wz202 I was using a test (I have forgotten which one I was using) that would evaluate ping issues. It rated me at a F initially. After using the tutorial (buying the equipment and setting up the network as described), it was rated as an "A+" for buffer bloat.
M3dicine dsl reports and nice
MANY MANY THANKS!!!! I bought it and replaced even my ISP modem and SMQ works perfect!!! This was my biggest frustration for over 10 years CoD! My internet speed is 200/200 but to get the perfect buffer bloat I had to put in 100/100 for speeds otherwise the speeds are to high for the router to work perfectly. I tested it and it plays so sick and smooth i just still can't believe it. i do have to mention i put my Netgear XR500 behind it for the Netduma software to be sure to play on close servers. When i perfectly have setup and done with more testing en setting up I will look on patreon to sponsor a little bit just as an appretiation for so much frustration that NOOOOO BIG TH-camR show how come they have great internet and only show the gameplay.
Can you tell more about your setup edgerouter and netduma.
This is the best video i seen from you, thanks for doing it, really good stuff on it, i been an ubiquiti user (mostly AP) for more than 4 years now and i very happy with them, i just wished my ISP allowed me to use an Edge router X.
Chris, great video as usual. I have an ER-X and I get ~150 Mbps down / 12 Mbps up with Smart Queue turned on. Without it I get 240 Mbps down / 12 Mbps up. I know it may vary from user to user, but just wanted to put that out there for anyone considering the ER-X. My PC is connected directly to the ER-X. For me, the loss of ~ 90 Mbps per second downstream is well worth the advantages of Smart Queue.
Yeah, that is the CPU of the ERX becoming the bottleneck and limiting your max bandwidth. With 240 down 12 up you could try and only enable QoS in the upstream direction and see if you even need QoS on the downstream when you get 240Mbps.
If you don't mind some terminal action, there's improved SQM modules ("cake") available on the Edgemax forums. These are better and more efficient which should allow you to get at least 200/12Mbps.
Chris, any chance of an update to this video or a new one on routers? I have around 400 Megabits connection and suffer badly from the ISP’s router not prioritising traffic properly.
Edgerouter x QoS only support up to 200mbps connection due to hardware limitation.
@@dastanharris so if i have 200 mb exactly do i put 200 mbps in qos or less. I always hear people say to put less than what you have.
@@bendover748 yes minus 10% max download, 10-20% max upload.
Hey man great video. Have this exact setup point for 2 years or so. Works great. But one thing about your setup is bothering me?
Why dont you run cable modem into LAN of the POE injector then POE to eth0 (POE IN) and eth04 (POE OUT) -> access point. Then the POE injector runs the whole thing. (router + access point) - remember to enable poe on eth04 in actions in the dashboard.
Lifesaver man. I’ve been watching alot of utube over the years and ur chanels top notch. Good luck with future work.
Great explanation. Bufferbloat and ping spikes are gone now. Have the newest firmware for the Edgerouter X v2.0.6 and the overall internet speed only fell from 860 mbps to 480 mbps downstream - not too bad a penalty for having an A+ gameplay expiriance for the boys.
One config some should be aware of is this router is PoE passthrough. So best to connect modem > PoE injector > eth0 > eth4 > ac-lite. This way you only need to plug in the PoE injector which will power the router and AP.
After a week of looking around at routers and researching whats best, you finally sold me on the Ubiquity set up.
Thanks for this video!
10 months later...
Couldnt be happier with this setup, thank you!
That moment when you already have this exact setup
Absolutely agree with Battle(non)sense with his findings. I have seen other users have to really limit their bandwidth to get reasonable BufferBloat results on the NetDuma and other devices. With the EdgeRouter Lite I don't lose my performance.
However I would suggest the EdgeRouter Lite over the X. Yes it is a little more, I have both, but there is a clear performance difference between the 2. I would even take the Lite over the USG.
I do have an entire Unifi setup, USG Pros, switches and WAPs at my workplace. I do not get paid nor do I have any affiliation with Ubiquiti but I have not had any issues. I really like the administration of all 3 of my networks being in 1 location!
My ISP package is 300Mbps X 20Mbps but without any settings I will see 350Mbps X 28Mbps. I have my own modem (Netgear CM600) and have my EdgeRouter Lite, no ISP equipment at all. I have 2 PS4s and a PS3 that I would like open to the internet so less administration for me.
This is a sample on commands to configure for multiple Xboxs on a single Network. I use the GUI for DHCP reservations, this user didn't. For multiple Xboxs you need an extra rule to block port 3074.
Access the EdgeRouter CLI
configure
set service dhcp-server shared-network-name LAN1 subnet 192.168.1.0/24 static-mapping XBOX-1 ip-address 192.168.1.241
set service dhcp-server shared-network-name LAN1 subnet 192.168.1.0/24 static-mapping XBOX-1 mac-address 50:1A:C5:A2:A6:51
set service dhcp-server shared-network-name LAN1 subnet 192.168.1.0/24 static-mapping XBOX-2 ip-address 192.168.1.242
set service dhcp-server shared-network-name LAN1 subnet 192.168.1.0/24 static-mapping XBOX-2 mac-address 4C:0B:BE:52:A4:2E
set service upnp2 listen-on eth0
set service upnp2 nat-pmp enable
set service upnp2 secure-mode enable
set service upnp2 wan eth1
set service upnp2 acl rule 10 action deny
set service upnp2 acl rule 10 description "Block default Xbox Live port 3074"
set service upnp2 acl rule 10 external-port 3074
set service upnp2 acl rule 10 local-port 0-65535
set service upnp2 acl rule 10 subnet 192.168.1.0/24
set service upnp2 acl rule 20 action allow
set service upnp2 acl rule 20 description "Allow XBOX-1"
set service upnp2 acl rule 20 external-port 1024-65535
set service upnp2 acl rule 20 local-port 0-65535
set service upnp2 acl rule 20 subnet 192.168.1.241/32
set service upnp2 acl rule 30 action allow
set service upnp2 acl rule 30 description "Allow XBOX-2"
set service upnp2 acl rule 30 external-port 1024-65535
set service upnp2 acl rule 30 local-port 0-65535
set service upnp2 acl rule 30 subnet 192.168.1.242/32
set service upnp2 acl rule 100 action deny
set service upnp2 acl rule 100 description "Deny All other devices"
set service upnp2 acl rule 100 external-port 1024-65535
set service upnp2 acl rule 100 local-port 0-65535
set service upnp2 acl rule 100 subnet 0.0.0.0/0
commit
save
Here is my configuration example. I have my WAN on Eth0.
configure
set service upnp2 listen-on eth1
set service upnp2 nat-pmp enable
set service upnp2 secure-mode enable
set service upnp2 wan eth0
set service upnp2 acl rule 20 action allow
set service upnp2 acl rule 20 description "Allow PS4"
set service upnp2 acl rule 20 external-port 1024-65535
set service upnp2 acl rule 20 local-port 0-65535
set service upnp2 acl rule 20 subnet 10.10.25.80/32
set service upnp2 acl rule 30 action allow
set service upnp2 acl rule 30 description "Allow PS4 Pro"
set service upnp2 acl rule 30 external-port 1024-65535
set service upnp2 acl rule 30 local-port 0-65535
set service upnp2 acl rule 30 subnet 10.10.25.83/32
set service upnp2 acl rule 40 action allow
set service upnp2 acl rule 40 description "Allow PS3"
set service upnp2 acl rule 40 external-port 1024-65535
set service upnp2 acl rule 40 local-port 0-65535
set service upnp2 acl rule 40 subnet 10.10.25.82/32
set service upnp2 acl rule 100 action deny
set service upnp2 acl rule 100 description "Deny All other devices"
set service upnp2 acl rule 100 external-port 1024-65535
set service upnp2 acl rule 100 local-port 0-65535
set service upnp2 acl rule 100 subnet 0.0.0.0/0
commit
save
I have only setup 1 QoS rule. In Smart Queue I have limited my Upload to 25Mbps (even though my upload package is 20Mbps) and I get A across the board with DSLReports speed test.
www.dslreports.com/speedtest/26413509
I was using the Asus GT-AC5300 (total overpriced junk by the way). I would get terrible spikes. Watched this video and went out right away and bought this stuff and it's a world of difference. I'm stuck on a 20Mbps/1Mbps connection and struggle to play games as well as run everything in the house. Thanks so much for making this video as I can finally game online.
Holy shit. Went from a triple D to a A+. I live with three people and one child and everyone is always using the internet. So as you can imagine is can become incredibly infuriating playing any online games. Got the E-X and turned my old router into an access point, I'm on a hard line to the E-X. ill eventually replace that with a decent one from ubnt as well. Iv always had lag spikes and rubber banding and this solution cleared up this issue. Thank you.
With OpenWRT it's a piece of cake. :D
Edit: Great Video btw thx! :)
I see what you did there. ;D
I've been using this router for 7 months already, it's awesome even for my shit internet, i have 2 connections (10 and 8 mbps down) in balanced mode.
Even when my family starts watching netflix/youtube i can maintain my ping below 80 in overwatch, (though, i have to set the qos for half of my bandwith, but it's well worth it) can't recommend this enough.
As a Ubiquiti installer in London where we have big businesses with bad internet connection, I am thankful to you :D
Hey Chris. If you have both these devices, you can use the poe injector that comes with the WAP to power both the router and the WAP. Put the ethernet cable coming from the modem into the LAN port of the injector and the put the ethernet cable coming from eth0 (poe in) on the router into the POE port of the injector. Next put a ethernet cable into eth4 (poe out) on the router and put the other end into the WAP, now enable POE passthrough on eth4. Now when you power on the poe injector will will power both the router and WAP.
Great video. I am so thankful for it as I am searching the perfect setup for myself since a couple of years and I think I finally found it. I have a Fiber connection with 1Gig Up/Down and couldn’t use my preferred way to go with OpenWRT based devices as these always reduced the speed to max. 400 MBit just because OpenWRT and all other Third party firmwares were not able to handle 1Gig Internet speed.
Now I will just connect all rooms with gaming devices to the edge router directly and the unifi access point in the middle of my home to provide the maximum WiFi performance to phones and laptops.
Just installed. Other than having to try a few times installing firmware on mac (reset helped) this router is the bomb! Earlier setup was cable modem bridged into Asus ac68u. Without and with Qos had problems with solid connections (video streams and sites randomly stalling). Now gone with EdgerouterX and the Asus as Ap.
Additional tip: There's a script for hardware offloading which isn't enabled by default. Can be found in beginners guide.
If you buy the correct uprated PSU. You can output 24v passive and power the AP directly.
After so many month have passed, i finally came back here and ordert that router using your link! :D Was planning on this forever and now i need Smart Que! :D thanks man
This is a very good video. Well paced, just the right level of detail. Thank you.
the first thing i always do is QoS port based and plug myself in the port 1 and only set that on on highest priority.. also good if i need to upload my cat pictures to onedrive.
6:45 .. what you can always do is putting your own router behind the ISP router.. that's no issue just unplug the other cables and deactivate the wifi.. so you still have the benefits of your edge router
Unfortunately putting your AP behind your own router will defeat the object!
@@LBUK. i think we are talking about different things bro
@@marcello4258 okay bro 😎
A+,C,A+ -> C,A+,C -> A,A,A using Lede and a bit of tinkering. Awesome, thanks!
A better wifi coverage device is a Mikrotik, setup as a dumb switch . Create a VirtualWifi AP on the Mikrotik and plug it into the ER-X. It will function as any other access point. Config the wifi Tx / Rx / dbi / security etc, accordingly on the mikrotik. You can also make a guest bridge for guest wifi access.
Does using a network switch change any of this setup ? I will be using a 24 port network switch. going from the EdgeRouter to the network switch ???? please help.
If you're using the POE adapter to power the ERX, you don't need the wall wart and you can also power the AP AC LITE with the POE out port, if you enable POE passthrough on the main page in the interface settings.
Yes, but I advice against that as a failure of the PoE brick will then not only take down your AP but also your router. :)
I also want to add that the PoE brick has barely enough power for the ERX and the AP AC Lite.
Another great video. I had this issue - always with Apple devices hogging bandwidth or Netflix usage. Smart Queue really helped. These Edge routers are brilliant value for money.
"But i'm not married!"
"You are now, to your games!" :) .
You can just any device with sqm or qos.
In any case I can't use those devices due to low processing power of those SOCs.
Right now I'm using Xeon processors to manage my 1gbps connection.
I also use specialized rules based on deep packet inspection to speedup the real-time traffic through the firewall.
TuttoCrafting how do you use a pc to manage network traffic? What Os?
dbyrne91 pfSense + suricata.
You need a compatible hardware for the DBS kernel.
Edgerouter are not bad but not versatile. Edgerouter are based on vyos. But vyos is CMD line only but is based on Linux.
TuttoCrafting thank you for the reply
Best video I have seen about this topic in terms of how simple I is to understand and great visual aids.
What router can support SQM for 500Mbps or 1Gbps?
I found only EdgeRouter Pro 8 supporting like 250Mbps and no other routers with SQM that can go further.
Thanks for the information.
One could build a router using custom hardware, running Pfsense or OpenWRT. Most consumer CPUs nowadays will probably handle higher bandwidth connections with SQM significantly better.
You'd need to route your traffic through a dedicated computer with a decent CPU for that.
Highly recommend you enable bandsteering in the AP to “Prefer 5G”
Where can I find that setting?
Sweet! Finally a GOOD solution! Thank you very much!
If you are buying the EdgeRouter PoE and use the same procedure as in this video, you will only be able to get like 60-70 Mbit/s out of your connection if you have a 100 Mbit/s line. I was able to get more out of it when enabling a burst of 6 MBytes in the "Show advanced options" menu. I subscruibe to 100 Mbit/s, and i am getting 96 in real life. I have set my rate to be 94 Mbit/s in the EdgeRouter PoE, and 6 MBytes burst. I am able to get 91-93 Mbit/s out of it now, with the sqm enabled. The bufferbloat is about 8 - 18ms.
I finally got around to getting a U6-Pro AP to replace the router I have plugged into the ER4 for wifi and it was honestly a nightmare.
Spent hours troubleshooting but could not get the controller software to detect the AP for adoption. Maybe I just had a bad unit but it was just too much of a mess to deal with.
I like the idea of a modular router setup with the wifi being in a separate module. If you want to improve either the wired or wifi section you don't have to buy an entire new router that way
Could you make a Video on Using the Edgerouter as a Bridge to the XR500 so I could have the best 1:1 NAT connection and all that kind of jazz?
I got an F for bufferbloat. But I'm the only one using my router, and when I'm gaming, everything that can be disabled, is disabled. So is it not actually a problem? Is it only an issue if someone else is using the connection for something?
Bufferbloat refers to how latency changes as bandwidth is saturated. If bandwidth isn’t saturated, then bufferbloat doesn’t occur. But you have to bare in mind that any file or video download will attempt to saturate your connection (even if only briefly), and will cause ping spikes.
I wish I could use this setup, but I have a cable in my flat. It has 50mb/s.
Which modem/router can be used?
I have a adsl + 4g router and i cant make the edgerouter to work. My line is a combination of 7Mbps/1Mbps from adsl and 30Mbps/5Mbps from 4g. Should i buy something different?
Finally got mine, but have been recommending this video for years to friends.
Good video, made me look into my pfsense box and I enabled the traffic shaping. Helped for sure.
Hello battle, i'm so overwhelmed with your knowledge in computers, network, etc,etc. I'm from Venezuela and here the internet is a nightmare to much ignorance and ISP want to threat you as a noob :(
So the thing is i'm using a cable modem with just a bandwidth of 2mb and upload lesss than 512kbps (i know this sucks)
But im getting high bufferbloat like insane 400-1900 and always my ping is spiking.. from lets say 80ms to 120, 90, 120, 130, 80... and is terrible the unsync in games...
I have the oldest modem provided by the ISP like docsis 1.1 modem, and a non gaming router which is: TP-LINK 150Mbps Wireless N Router
Model No. TL-WR720N, and what i wanted to ask you, is there something that i can do to fix my problems?
What advises would you give to me? like a Computer configuration with adapters, or what can i say to ISP? like changing MTU? or telling them something with buffer-bloat? any help, cause the situation here is really tough already, so thanks in advance
Hope u can see this comment.
PD: Even if i connected my pc direct to the modem and turning off the router, i still get huge Buffer-bloat.
Hello. Your TPLINK router probably has a dd-wrt firmware for it. In a few words, it's a community made firmware that enables a lot of features that the stock firmware doesn't, including QoS/SQM(lag free gaming). Search, look for your router model and install it. ATTENTION: BE CAREFUL! As you flashing wrong firmware into your router, might break it.
@@kleanlins Heya Cleanderson thanks for your comment, so do you think that i should contact in Forum the staff of Tp-link about my router, and ask them for a custom firmware with possible options such SQM?
Cause my router already has QOS but is poorly i mean i cannot set limit bandwidth alternative like for upload or dowload.. nope x.x
@@kleanlins So should i go to Tp-link forum and request a DD-WRT firmware for my TP-LINK No. TL-WR720N?
@@PescaitoFrito No. There's a dd-wrt forum already. Look for your router version on their website to see if it does have a stable version available. dd-wrt is a big project.
@@kleanlins unfortunately it seems that there is not support for my
TL-WR720N
I saw one but is:
TP-Link TL-WR2543ND
:( rip myself.
Chris, @ 9:30 You applied QoS to the whole router? If my internet is 150/150, why would I limit it to less than that? Would I be able to limit bandwidth to one port on this router? I will keep looking, as I bought this router as well as the R7800 X4S from Netgear. Do you hvae comparison data between the Edgerouter X and the 7800?
As I said in the video, the ER-X is for internet connections with up to 100Mbps as the CPU will become a bottleneck then.
Please refer to the chart I showed in the video to find a model that works at higher rates when SQM is enabled.
You can power the ER-X with the PoE injector and also power the AP. Move the PoE injector to your ISP Ethernet cable (in your case eth0) and active the PoE passthrough for port 4. Be warned that not every device supports PoE passthrough and your device can be damage.
I don't recommend that because the included 24V power brick has barely enough power for both the ERX and the AP AC Lite.
Its sense to buy ER-X, if i have 500/500mbit connection? and i want to use SQM?
Hi, can i use this settup without loosing my ISP wifi ? i just want to use the edge router along my ISP modem
i bought an old wdr 3600 and put openwrt on it. you just have to download sqm on it and then set the type of sqm. i chose cake and piece of cake. then you set your download and upload speed ( minus about 10%). works incredibly well. 4 or 5 people can download at the same time and the ping stays within about 10-15ms of the ping when nothing is downloading. if you want a cheap 20 dollar router and dont want to mess wtih 3rd party firmware for 25 meg maybe up to 50 meg then the tplink 841n with bandwidth control turned on does pretty well. you set the download and upload speed just like sqm but thats it. youre done pretty much. you can also set per device limits but its not necessary
Any new updates for 2020
By far the best video - especially when you have the same devices - THY
If you have a access point that use passive 24V PoE then you can use the eth4 port as a PoE passthrough. So you don't need the PoE injector.
Yes, but, be careful not all devices will work with this approach and you could actually damage your AP.
whats the order of devices need to be? I have a wireless router, an edgerouter, and the ISP modem. Do i need to put the edge router in the middle or after last?
ISP Modem erx ap(WiFi Router)
My buffer bloat is D, any help? Every time I stream it tanks, even at 4mbs even though I have 10 up
Just pulled the trigger on this, after years of suffering with the linksys e2500 I am looking forward to having a real network! And Amazon guarantees delivery in 1 day! First time I've had that option (:
Chris, can you explain why you have to use PPPoE instead of eth0 even though you selected PPPoE on eth0?
Hey Chris, again thanks! This thing works tremendously as you said it would. Pain in the butt to setup but , the end result was good. Plus it was cheap. Can't thank you enough. Good gaming mates!
Glad to hear that! :)
Can I stick this router inbetween my PC and my LTE modem and have it regulate the bandwidth that way? Does it even work with LTE?
I'll answer myself here, for anyone interested: Yes it does work.
I love Ubiquiti products. My entire business and home is covered by Unify access points. Super fast and super reliable and super to manage (fun fact: they were the first company to patch their access points for the CRACK Wi-Fi bug from a few months back)
Yup, and rolling out that patch on 20+ sites is just soooooooo easy thanks to the cloud key =)
Battle(non)sense EXACTLY!
I don't know Meraki is one of the easiest products I have come across. But saying that it's so simple it misses some really nice features I feel like should be added.
Yeah, they're the best.
A tip, when you change ISP, especially if your new connection is faster, don't forget to alter the QOS. I was wondering why my upload wasn't any quicker until I remembered QOS!
ASUS RT-AC88U and Rog (properly others too) comes with QOS for both up and download. I have tested both (USG and RT-AC88U). Asus can handle it up to 1GBit where the USG and ER-X stops at 100MBit, as you explain.
BTW: I still went with the USG and UAP HD Nano 🙂
I have been having issues with buffer bloat in recent time. Would you recommend the ER-X for a 150Mb/s connection or is there another I should be looking at? I would also like to have a Wifi connection if you could also recommend a wifi access point or something with one built in.
I use an edge router x and get my full ISP bandwidth through it (350 mbps) and my ap is a uap ac lite and get about 250 mbps through it. I never have issues gameplay wise. Just make sure your hwnat offload is enabled because from what I remember it doesnt come enabled by default
I'm using PFsense, and i could easily say it's fun to setup but definitely overkill for most people and i actually setup Edge Routers whenever i can for clients lol
Thank you for making this, it helped a lot.
amazing work on this tutorial. really clear, good explanations and speed.
Chris I thank you so much for the info. Just ordered one. Can't wait to try it out. I appreciate all ur vids
Anthony Defillippis is it good for gaming?
What could be the cause if there isnt much change to bufferbloat?
I just got an ER-X, set it up like you and to my shock it didnt do much about my bufferbloat. I now get a B or C (very unstable results) instead of a D with 50 to 200 ms bufferbloat in both upload and download. The only thing I did differently is that there are 2 additional routers connected to the ER-X, but my PC is only connected to the ER-X directly.
I guess its something about my ISP settings then? But what? Anything specific I could mention to them to fix this? Or even anything I could do on my own to fix this?
Make sure you are on the latest firmware (1.10.0) and enable Hardware Offloading. Helped me big time. Now I get all A's on dslreports.com's test.
Yeah, I did it exactly like described in this video. I just adjusted my connection bandwidth.
Do you mean the hwnat and ipsec options in the config-tree? What do I put in those fields to enable them?
CarTrips Yes the hwnat and ipsec options. If you are on the latest firmware, just type enable next to both of them in the boxes on the right, then press save at the bottom of the screen. If you are on earlier firmware you can only do it though the command line .That will turn on hardware offloading and allow the router to operate much faster. This is what you need to do if you have a gigabit internet connection with this router. Be aware though, when using hardware offloading the smart queue management is not running. Smart queue is not a service of the router that can be offloaded, but the router runs so much better that you don't need it in my opinion. I went from a C to an A on my bufferbloat score. Hopefully it will work for you.
Nope, didnt do anything at all. :(
Sounds like you need to connect directly to your modem/gateway, without any router with your PC wired ethernet and troubleshoot with your ISP. Sounds like something is just wrong with your internet connection.
I have a 350 mbit cable connection. What Ubiquiti or Open WRT/SQM capable routers would be recommended? Currently using an ASUS AC68U with Merlin FW on fq_codel for docsis. Runs well enough but it shows the strain when I'm on my PC and so are both my kids whiulst there's 12 other wireless devices connected.
Hey Chris, I pay for 150 down and 10 up, and I got the ER Lite, but should have I gotten the ER X?
+alexhernandez49 even the ERX will probably not do 150Mbps. See the performance chart I showed in the video. :)
So according to the chart, the ER Lite will get a minimum of 60 mbps when SQM is enabled and with my 150 down the cpu of the router will cause a bottleneck and ping spikes?
What router should I suggest to my buddy for his 200Mb/s down 10Mb/s up connection that he shares with 4 flat mates? Are there any routers capable of SQL management at those speeds?
Try this. In your QoS rule, do not apply to your download. Only check upload and limit it close to your upload max per ISP. Then test. I get 350Mbps down and still get A's on DSLReports.
What about the ER-4? Is it not in the performance chart. Does it have SQM? Would it be a good upgrade to the ER-X if you need more than 100Mbps?
Just subscribed. Great video. Got a quick question for you. I have been considering the Edgerouter X for my setup but would like to find out if this would be the best unit for me. I have Comcast 100 down 5 up internet. I'm not a gamer, but I am subscribed to DirecTV Now streaming service which I will be running on 2 Amazon Fire TV's that are hard wired Ethernet. Right now I am only using one, but get some buffering every now and then, so I would like to start using QOS to help with this problem. Will the Smart Que help with 2 streaming devices, or am I better off with a router that does QOS that you can link to the mac addresses of the streaming devices?
Thanks 👍
what about dual pc set up? streaming and gaming pc.. do i connect them both to edge router via lan? or 1 normal router 1 edge router?
I have 200+mb connection, but suffer from a lot of bufferbloat. So if I understand correctly, I can fix this with the ER-X, but I'd have to sacrifice about half my download speed? Or is there any way to set it up so that it only uses SQM when gaming? So that I can still download games and what not at normal speeds.
Hey @Battle(non)sense, are you able to manually set MTU for different ports with the Edgerouter X? I recently got a new modem to work with my connection (BT Infinity FTTC in the UK) and both the network infrastructure and modem support baby jumbo frames (RFC4638) meaning 1500 MTU is possible on PPPoE, rather than 1492. However when manually setting my current router to 1500 or even 1508 MTU, a command prompt ping still shows my max is 1464 + 28. In various somewhat vague guides dotted around online, there is often the mention of eth0 or eth1 ports which is beyond anything I've ever seen on router GUIs. If the Edgerouter X can achieve this, I'd like to get one to put between my modem and router :) hope you can help me. Thanks!
Yes, you can set the MTU manually per port. However when you use PPPoE then you need to set the MTU on that interface rather than on the physical ETH0.
Battle(non)sense thanks for the reply. Deleted my previous reply as I seem to have got my head around everything I need to do. Find the command line interface button and apply this...
configure
set interfaces ethernet eth0 pppoe 0 mtu 1500
set interfaces ethernet eth0 mtu 1508
delete firewall options mss-clamp
commit
save
exit
I should be able to put the Edgerouter X between my current modem and router (for its WiFi) right? My current router can apply up to 9198 MTU so that shouldn't be an obstacle once 1500 MTU is achieved. Thanks again for taking the time to help me with this!!
You can do everything in the GUI, no need to use the CLI for that.
Yes, you can (ab)use your old router as WiFi Access Point, see: th-cam.com/video/KwHes-GWYuY/w-d-xo.htmlm59s
Battle(non)sense my bad, I read it as CLI being a button on the GUI to allow those commands haha. Thanks man :)
What would you suggest to do when the router is on the one end of the apartment and the PC is on the other end?
I currently use DLAN and get from possible 120 MBit/s only around 50 MBit/s on my PC.
When i am plugging a laptop directly in the router or am in front of the router and use wlan i get 120 MBit/s so the maximum.
Is there something i could do to get more MBit/s at my PC? A 20 meters LAN cable isn't an option^^
A WLAN repeater also isn't an option because my PC doesn't support WLAN.
My router is the standard Unitymedia Router "Connect Box".
And the DLAN hardware is from the Devolo "dlan 200 avplus" series.
Is there even something i could do? ^^
EDIT: The speedtest for me shows a "A+" for Overall and Quality, but a "-" (so no result) for BufferBloat and Speed.
What does this mean?
I currently have a Mikrotik device.. On my PC I mark all games and discord connections with DSCP 56 mark, and then in my Mikrotik router I mark those packets and prioritize their upload and download traffic to a maximum while also setting a max limit to other traffic to about 80% of the download speed.. I think it's making a difference, but how different is it from SQM? I have 20/5 ISP and my PC is wired
i have a question for you if i don't use the Edge Router X
if you disconect all the device and the WiFi from you main router and use your computer only and do the test the result will be A+ or what ?
and the result while you use QOS or not in your main router ?
The BufferBloat test will tell you how your router handles..... BufferBloat.
It does not matter how many devices are connected to your router during the test.
ok i see your setup use sqm in the interface wan
will if the other device have some one who do high download or upload
that is the status of the bufferload
i was using QOS in badwith control with priority ip address
i got A in BufferBloat test, while the BufferBloat test got from 9 - 20 ms is that good
latency variation of 9 to 20ms during stress is still okay.
thanks to chris, my wife and I will enjoy a wonderful christmas holiday. we've decided to stay together! thank you chris!!!
Hi Chris, I´m not clear, I am able to use an old router as a wireless access point? or I need to get the AC listed on the description?
Yes, you can use an old WiFi Router as Access Point.
For that you:
1. disable DHCP on the old router (as you run DHCP on the Edge Router)
2. set the LAN IP adress of that old router to something outside the DHCP range of the Edge Router
3. connect any of the LAN ports of the old router your your lan
Battle(non)sense thnks, I’ll get one (with your code) and give u feed back on my experience
Rogue_507 what is the result?
do you use any specific firewall rules for gaming?
Is there any benefit in using SQM if there's only two gamers in the same network, never really downloading anything heavy (so does it help at all if there's only "gaming traffic" in the network)?
Can SQM have a negative impact if the modem's/router's CPU isn't strong enough (I have a Netgear DGN3500 with openwrt)?
Also would you recommend using only a ADSL2 modem/router combo, or using one modem/router as a modem and another one as a router.
You only need a modem/router combo which should be put in bridge mode if you are using DSL or Cable broadband. If you are using fiber optic, you plug the router directly into the ONT box.
As for using SQM, yes if there is more than 1 person in the house it is a benefit having it turned on. Any download will use all the bandwidth.
As for hardware, I'd honestly just buy an Eero 6 or Eero 6 Pro. Their specs can easily handle SQM which is a feature on their software. No need for installing openwrt or any of that shenanigans.
Soooooo, what's a well priced modem you recommend?
Say I want to apply a similar set up when updating, and my current structure is a modem+router that isn't up to my standard
Hey Chris, I have an Edgerouter X SFP, and when I enabled SQM my download bufferbloat stayed low, but my upload bufferbloat went through the roof! (+2000ms), am I doing something wrong? I have it set to eth0 which is where my traffic is, and i tried setting the limits to 60/60 (my true speed), and i also tried 50/50. Cheers mate
Do you use PPPoE? Because then you need to set PPPoE as interface not ETH0.
Also double check that you set the value correctly (kbit/mbit). :)
Hey, I'm new to this stuff and a bit confused. Currently I'm using a modem+router combo so if I get this, do I have to go in my current device and disable the routing settings?
You have to contact your ISP and ask them if and how you can use your own router. Usually they can switch their device into "bridge mode", but not every ISP wants to do that.
Should they ask "why?" then you best say "I need to use my own VPN router for work". But how and if you can use your own router depends on the ISP.
Thanks.
Hey, so I managed to get my old Motorola into bridge mode and I was able to setup the edge router X, but I have 2 issues. The first is that for some reason on my PC the download speed in around 8 Mbps less than my parents' PC (which is also connected to the router with an Ethernet cable), and my upload speed is around 0.5 Mbps less. The second issues is that the QoS rule only helped to reduce buffer-bloat on my upload traffic, but didn't do anything for the download. Any help would be appreciated.
@Battlenonsense is the edge router connected to a modem ?