{"id":646,"date":"2014-07-30T17:20:26","date_gmt":"2014-07-30T23:20:26","guid":{"rendered":"http:\/\/vostorga.org\/?p=646"},"modified":"2014-07-30T17:20:26","modified_gmt":"2014-07-30T23:20:26","slug":"adding-a-permanent-network-route-in-windows","status":"publish","type":"post","link":"https:\/\/vostorga.org\/?p=646","title":{"rendered":"Adding a permanent network route in Windows"},"content":{"rendered":"<p>It&#8217;s not that common to add a network route in windows, but if you have more than one network interface and there are many networks hidden over there, you will need to do it<\/p>\n<p>The syntax is quite simple<\/p>\n<blockquote><p>route -p add the_network mask the_netmask the_gateway metric the_metric<\/p><\/blockquote>\n<p>As an example, we will use the following information:<\/p>\n<p>the_network 192.168.254.144<br \/>\nthe_netmask 255.255.255.240<br \/>\nthe_gateway 192.168.203.158<br \/>\nthe_metric 10<\/p>\n<p>And the resulting command is:<\/p>\n<blockquote><p>route -p add 192.168.254.144 mask 255.255.255.240 192.168.203.158 metric 10<\/p><\/blockquote>\n<p>-p means the network will be added permanently in windows registry, if you want to play with this new network until the next reboot, don&#8217;t use it.<br \/>\nIf you do not what to do with metric , simply use 10<\/p>\n<p>To check the routing table, use the command<\/p>\n<blockquote><p>route print<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s not that common to add a network route in windows, but if you have more than one network interface and there are many networks hidden over there, you will need to do it The syntax is quite simple route -p add the_network mask the_netmask the_gateway metric the_metric As an example, we will use the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[141],"tags":[203,211],"class_list":["post-646","post","type-post","status-publish","format-standard","hentry","category-windows","tag-route","tag-windows"],"_links":{"self":[{"href":"https:\/\/vostorga.org\/index.php?rest_route=\/wp\/v2\/posts\/646"}],"collection":[{"href":"https:\/\/vostorga.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vostorga.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vostorga.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/vostorga.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=646"}],"version-history":[{"count":2,"href":"https:\/\/vostorga.org\/index.php?rest_route=\/wp\/v2\/posts\/646\/revisions"}],"predecessor-version":[{"id":648,"href":"https:\/\/vostorga.org\/index.php?rest_route=\/wp\/v2\/posts\/646\/revisions\/648"}],"wp:attachment":[{"href":"https:\/\/vostorga.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=646"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vostorga.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=646"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vostorga.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=646"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}