{"id":677,"date":"2020-09-12T19:37:00","date_gmt":"2020-09-12T19:37:00","guid":{"rendered":"http:\/\/james-batchelor.com\/?p=677"},"modified":"2020-09-26T19:52:45","modified_gmt":"2020-09-26T19:52:45","slug":"testing-draytek-wan2-throughput","status":"publish","type":"post","link":"https:\/\/james-batchelor.com\/index.php\/2020\/09\/12\/testing-draytek-wan2-throughput\/","title":{"rendered":"Testing Draytek WAN2 Throughput"},"content":{"rendered":"\n<p>In a series of events that I thought wouldn\u2019t have happened for many years, FTTP (Fibre To The Premises) has just become available to my home. With available speeds of 1000\/330Mbps available the temptation is to go for the maximum, but will my current infrastructure actually deliver what\u2019s on offer?<\/p>\n\n\n\n<p>My current router is a Draytek 2862ac, which has an advertised 400Mbps throughput at the WAN, but what can it actually achieve in the real world? This will be the basis on choosing a FTTP speed profile.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"307\" src=\"https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture11a.jpg\" alt=\"\" class=\"wp-image-680\" srcset=\"https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture11a.jpg 1024w, https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture11a-300x90.jpg 300w, https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture11a-768x230.jpg 768w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p>Speed testing a router can be setup with a couple of laptops\u2026<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>In this example I\u2019ll be using a similar Draytek 2860n router, this has an advertised firewall throughput of 300Mbps so this will be the number we are looking to hit.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Router Setup<\/strong><\/h3>\n\n\n\n<p>Using a fresh factory rebooted 2860, plug the \u201cclient\u201d side PC into a LAN port, then navigate to <a href=\"http:\/\/192.168.1.1\">http:\/\/192.168.1.1<\/a> in a web browser and log in with admin\/admin.<\/p>\n\n\n\n<p>In the left-hand menu, navigate to WAN -> Internet Access.<\/p>\n\n\n\n<p>Click the <em>Details Page<\/em> of WAN2.<\/p>\n\n\n\n<p>Click the <em>Static or Dynamic<\/em> IP tab, then click the <em>Enable<\/em> button.<\/p>\n\n\n\n<p>Here we will enter manual settings to simulate that of an ISP, enter the following IP values that will differ from factory defaults:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"720\" src=\"https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture04-1024x720.png\" alt=\"\" class=\"wp-image-678\" srcset=\"https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture04-1024x720.png 1024w, https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture04-300x211.png 300w, https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture04-768x540.png 768w, https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture04.png 1056w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p><strong>Note:<\/strong> Set <em>WAN Connection Detection<\/em> to Always On to force it as active.<\/p>\n\n\n\n<p>Click OK to save and reboot the router.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Server PC Setup<\/strong><\/h3>\n\n\n\n<p>While the client-side PC gets its network from DHCP, the WAN side PC needs to be set manually to fit the IP details set on the router.<\/p>\n\n\n\n<p>On the WAN PC, navigate to change the network adaptor IP address:<\/p>\n\n\n\n<p>Settings -> Network &amp; Internet -> Ethernet -> Change adaptor options.<\/p>\n\n\n\n<p>Right click the connection in use -> Properties -> Click Internet Protocol Version 4 -> Properties.<\/p>\n\n\n\n<p>Enter the following to simulate the WAN side:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"405\" height=\"460\" src=\"https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture10.png\" alt=\"\" class=\"wp-image-681\" srcset=\"https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture10.png 405w, https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture10-264x300.png 264w\" sizes=\"auto, (max-width: 405px) 85vw, 405px\" \/><\/figure>\n\n\n\n<p>Click OK to apply changes, now plug in the network port to WAN2 of the Draytek.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Getting Data<\/strong><\/h3>\n\n\n\n<p>Stats and throughput results will be delivered by iPerf3. For this to work it needs to be installed on two machines, one that will act as client on the local network, and another that will be the server sitting on the \u201cinternet\u201d side of the router.<\/p>\n\n\n\n<p>Visit the <a href=\"https:\/\/iperf.fr\/\" target=\"_blank\" rel=\"noreferrer noopener\">iPerf<\/a> website and download the latest binaries for your operating system.<\/p>\n\n\n\n<p>Extract the contents of the Zip file to the desktop of both machines.<\/p>\n\n\n\n<p>Open up a command prompt window on both, and navigate to the desktop by typing <em>cd desktop<\/em>.<\/p>\n\n\n\n<p>Firstly, on the server side, type <em>iperf3.exe -s<\/em> and enter, allow access to any security prompts. The window should report \u201cServer listening on port 5201\u201d<\/p>\n\n\n\n<p>Now on the client side, type <em>iperf3.exe -c 10.0.99.11<\/em> and enter. All things correct the two machines connect and start reporting bandwidth stats.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"584\" src=\"https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture01-1024x584.png\" alt=\"\" class=\"wp-image-682\" srcset=\"https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture01-1024x584.png 1024w, https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture01-300x171.png 300w, https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture01-768x438.png 768w, https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture01.png 1029w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p>This reports the maximum throughput available between the two machines, the maximum is determined by the biggest bottleneck in the connection. In this setup it should be the firewall of the Draytek, but if your results are below expectations it\u2019s worth investigating if something else is limiting the bandwidth. For example, a client PC using wireless N (150Mbps) technology would shift the bottleneck to the WiFi connection and will not be able to fully test the firewall.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Real World Setup<\/h3>\n\n\n\n<p>This example was conducted in a standalone environment, but a more accurate benchmark can be achieved by running this on a live system, for instance on a router where vDSL is established and the WAN2 speed is to be tested.<\/p>\n\n\n\n<p>An issue you I ran into is even though the routing table has been updated on the Draytek, my Windows 10 machine is unaware on how to reach the test network.<\/p>\n\n\n\n<p>To resolve, I added a temporary static route to push 10.0.99.0 traffic to WAN2.<\/p>\n\n\n\n<p>In a command prompt window, run the following:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"610\" height=\"169\" src=\"https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture12.png\" alt=\"\" class=\"wp-image-683\" srcset=\"https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture12.png 610w, https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture12-300x83.png 300w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/figure>\n\n\n\n<p>Replacing 192.168.1.1 with the gateway of the WAN2 setup.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Results<\/strong><\/h3>\n\n\n\n<p>With the standalone example here using a 2860, the results averaging at 283Mps are comparable to the 300Mbps throughput advertised by Draytek.<\/p>\n\n\n\n<p>I also conducted another test using my 2862 in situ, utilising the WAN2 port for testing alongside an active vDSL on WAN1. For an advertised 400Mbps throughput, the results were disappointing:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"565\" src=\"https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture02-1024x565.png\" alt=\"\" class=\"wp-image-684\" srcset=\"https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture02-1024x565.png 1024w, https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture02-300x165.png 300w, https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture02-768x424.png 768w, https:\/\/james-batchelor.com\/wp-content\/uploads\/2020\/09\/Capture02.png 1028w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p>Where theoretical maximums are achievable, in reality there are a lot of factors that can impede this, I can only assume that my current setup involving multiple VLANs, VPNs and traffic shaping in place is causing the Draytek 2862 not to perform as advertised.<\/p>\n\n\n\n<p>Whether this is expected behaviour or a misleading speed claim is another discussion.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a series of events that I thought wouldn\u2019t have happened for many years, FTTP (Fibre To The Premises) has just become available to my home. With available speeds of 1000\/330Mbps available the temptation is to go for the maximum, but will my current infrastructure actually deliver what\u2019s on offer? My current router is a &hellip; <a href=\"https:\/\/james-batchelor.com\/index.php\/2020\/09\/12\/testing-draytek-wan2-throughput\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Testing Draytek WAN2 Throughput&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[212],"tags":[289,290,291,292,297,21,293,177,298,296,295,294],"class_list":["post-677","post","type-post","status-publish","format-standard","hentry","category-network","tag-289","tag-2860n","tag-291","tag-2862ac","tag-bandwidth","tag-connection","tag-draytek","tag-speed","tag-test","tag-throughput","tag-wan","tag-wan2"],"_links":{"self":[{"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/posts\/677","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/comments?post=677"}],"version-history":[{"count":1,"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/posts\/677\/revisions"}],"predecessor-version":[{"id":685,"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/posts\/677\/revisions\/685"}],"wp:attachment":[{"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/media?parent=677"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/categories?post=677"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/tags?post=677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}