{"id":141,"date":"2010-03-17T21:46:17","date_gmt":"2010-03-17T21:46:17","guid":{"rendered":"http:\/\/laurie.denness.net\/blog\/?p=141"},"modified":"2010-12-01T01:41:50","modified_gmt":"2010-12-01T01:41:50","slug":"draytek-2710-series-and-multi-wan-ip","status":"publish","type":"post","link":"https:\/\/laur.ie\/blog\/2010\/03\/draytek-2710-series-and-multi-wan-ip\/","title":{"rendered":"Draytek 2710 series and multi WAN IP"},"content":{"rendered":"<p>I recently purchased a <a href=\"http:\/\/www.amazon.co.uk\/gp\/product\/B002RIUUSU?ie=UTF8&#038;tag=lausblo0d-21&#038;linkCode=as2&#038;camp=1634&#038;creative=19450&#038;creativeASIN=B002RIUUSU\">Draytek Vigor 2710n<\/a><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.assoc-amazon.co.uk\/e\/ir?t=lausblo0d-21&#038;l=as2&#038;o=2&#038;a=B002RIUUSU\" width=\"1\" height=\"1\" border=\"0\" alt=\"\" style=\"border:none !important; margin:0px !important;\" \/> router to replace my aging 2600plus. I&#8217;ve always had a very high opinion of Draytek routers. They&#8217;re fairly expensive compared to most home routers, but they do have a bucketload of fairly advanced features, that I was disappointed were lacking in others.<\/p>\n<p>I changed ISP at the same time as getting the new router, taking out service with the (so far) brilliant <a href=\"http:\/\/www.zen.co.uk\">Zen Internet<\/a> after recommendations from colleagues especially <a href=\"http:\/\/twitter.com\/armyofcaitlin\">Caitlin<\/a> who used to work there before joining us at Last.fm. They&#8217;re a proper Sysadmin&#8217;s ISP, giving you a netblock of 8 IPs on a pretty inexpensive home connection.<\/p>\n<p>Unfortunately for me I (foolishly) didn&#8217;t check to see whether the 2710n still supported this, since my 2600 did and I just assumed a higher model number meant it was actually an upgrade rather than a downgrade.<\/p>\n<p>After a quick chat to Draytek support they told me this indeed was not available and never would be. I contemplated giving up with the 2710n and returning it, or just using it as a WAP, but I was somewhat peeved when I looked in the HTML and noticed the only reason the button was missing (the interface has hardly changed in the 5 years between the models) was because it was hidden using CSS:<\/p>\n<p><code>&lt;input type=\"button\" name=\"btnWIpAlias\" id=\"wIpAlias\" style=\"display: none;\" value=\"WAN IP Alias\" onclick=\"wanIpAlias()\"&gt;<\/code><\/p>\n<p>Using Firebug, you can easily show this button and it&#8217;s functions work fine. I decided to do some more digging.<\/p>\n<p>The Draytek have an excellent Telnet (and now SSH) interface too, and the functions are entirely available there:<br \/>\n<code>admin&gt; ip aux ?<br \/>\n%% ip aux add [IP] [Join to NAT Pool]<br \/>\n%% ip aux remove [Index]<br \/>\n%%     Where IP = Auxiliary WAN IP Address.<br \/>\n%%           Join to NAT Pool = 0 or 1.<br \/>\n%%           Index = The Index number of table.<br \/>\nNow auxiliary WAN1 IP Address table:<br \/>\nIndex no.       Status  IP address      NAT IP pool<br \/>\n----------------------------------------------------<br \/>\n1            Enable  X.X.X.110   Yes<br \/>\n2            Enable  X.X.X.105   No<br \/>\n3            Enable  X.X.X.106   No<br \/>\n4            Enable  X.X.X.107   No<br \/>\n5            Enable  X.X.X.108   No<br \/>\n6            Enable  X.X.X.109   No<br \/>\n<\/code><\/p>\n<p>Sorted! The IPs then appear in the relevant places in the web interface too, for example in the &#8220;open ports&#8221; or &#8220;DMZ&#8221; sections. If IP routing is what you&#8217;re after (used to be called &#8220;For IP Routing Usage&#8221;) simply use the &#8220;ip 2ndaddr&#8221; command.<\/p>\n<p>If you like configuration via the web interface, that&#8217;s pretty simple to enable too. Grab Firebug for Firefox, and use the &#8220;DOM&#8221; tab to display all the variables used on the current page.<\/p>\n<figure id=\"attachment_144\" aria-describedby=\"caption-attachment-144\" style=\"width: 614px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/laurie.denness.net\/blog\/wp-content\/uploads\/2010\/03\/firebug1.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"144\" data-permalink=\"https:\/\/laur.ie\/blog\/2010\/03\/draytek-2710-series-and-multi-wan-ip\/firebug1\/\" data-orig-file=\"https:\/\/laur.ie\/blog\/wp-content\/uploads\/2010\/03\/firebug1.png\" data-orig-size=\"1280,800\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Firebug DOM console\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Firebug DOM console&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/laur.ie\/blog\/wp-content\/uploads\/2010\/03\/firebug1-300x187.png\" data-large-file=\"https:\/\/laur.ie\/blog\/wp-content\/uploads\/2010\/03\/firebug1-1024x640.png\" class=\"size-large wp-image-144 \" title=\"Firebug DOM console\" src=\"http:\/\/laurie.denness.net\/blog\/wp-content\/uploads\/2010\/03\/firebug1-1024x640.png\" alt=\"Firebug DOM console\" width=\"614\" height=\"384\" srcset=\"https:\/\/laur.ie\/blog\/wp-content\/uploads\/2010\/03\/firebug1-1024x640.png 1024w, https:\/\/laur.ie\/blog\/wp-content\/uploads\/2010\/03\/firebug1-300x187.png 300w, https:\/\/laur.ie\/blog\/wp-content\/uploads\/2010\/03\/firebug1.png 1280w\" sizes=\"auto, (max-width: 614px) 100vw, 614px\" \/><\/a><figcaption id=\"caption-attachment-144\" class=\"wp-caption-text\">Firebug DOM console<\/figcaption><\/figure>\n<p>There are tonnes of variables in here, many are set to &#8220;0&#8221;. Incredibly, all these functions do is tell the web interface to display extra features. They&#8217;re all there and available in the background, from static routing to Multi-Nat, to IP routing and extra VPN settings. You can even enable the WAN, Wizard and VoIP options if you really want to.<\/p>\n<p>For Multi-NAT, double click on SHOW_INT_MULTINAT and set it to 1. For 2nd subnet IP routing, find SHOW_LAN_GEN_2NDSUBNET and set it to 1. Have a search through and enable the functions are need. By the way, this only lasts for as long as you&#8217;re logged in, so you&#8217;ll have to repeat it if you ever need to change the variables.<\/p>\n<h2><strong>Before:<\/strong><\/h2>\n<p><img decoding=\"async\" src=\"http:\/\/denness.net\/grb\/3513f3860df743228ba2a10c95737df7.png\" alt=\"Before\" \/><\/p>\n<h2>After:<\/h2>\n<p><img decoding=\"async\" src=\"http:\/\/denness.net\/grb\/df11821f790c4a2e8ddfcf5c00af08c5.png\" alt=\"After\" \/><\/p>\n<p>I will note that you should probably buy the 2820 as suggested by Draytek if you really want these features.. It&#8217;s only \u00a340 more expensive, but saves you a bit of hassle. This guide is only for people who have been mislead and don&#8217;t want to send their routers back!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently purchased a Draytek Vigor 2710n router to replace my aging 2600plus. I&#8217;ve always had a very high opinion of Draytek routers. They&#8217;re fairly expensive compared to most home routers, but they do have a bucketload of fairly advanced features, that I was disappointed were lacking in others. I changed ISP at the same &hellip; <a href=\"https:\/\/laur.ie\/blog\/2010\/03\/draytek-2710-series-and-multi-wan-ip\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Draytek 2710 series and multi WAN IP<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-141","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pioRW-2h","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/laur.ie\/blog\/wp-json\/wp\/v2\/posts\/141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/laur.ie\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/laur.ie\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/laur.ie\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/laur.ie\/blog\/wp-json\/wp\/v2\/comments?post=141"}],"version-history":[{"count":9,"href":"https:\/\/laur.ie\/blog\/wp-json\/wp\/v2\/posts\/141\/revisions"}],"predecessor-version":[{"id":149,"href":"https:\/\/laur.ie\/blog\/wp-json\/wp\/v2\/posts\/141\/revisions\/149"}],"wp:attachment":[{"href":"https:\/\/laur.ie\/blog\/wp-json\/wp\/v2\/media?parent=141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/laur.ie\/blog\/wp-json\/wp\/v2\/categories?post=141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/laur.ie\/blog\/wp-json\/wp\/v2\/tags?post=141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}