How do I route traffic of one IP net to a different router using DD-WRT












0















I am running DD-WRT v3.0-r28211 std (11/16/15) on a router behind my actual internet router (which is a Fritz!Box).



The Set up is a follows:




  • Internet router: 192.168.177.1 (Fritz).

  • DD-WRT: 192.168.0.1 connection to 192.168.177.1 through the WAN Port.

  • Sitecome Router (VPNConnection): 192.168.0.2 connection to 192.168.0.1 through the WAN Port (PPTP connection is already established for that router).


Is it possible to have the DD-WRT set up with routing information that all regular traffic is sent to 192.168.177.1 and only traffic regarding the IP Net of 66.*.*.* is being routed through 192.168.0.2?



My assumtion was that I have to change the setup somehow that 192.168.0.2 connects through its WAN Port to 192.168.177.1 but also has a connection to 192.168.0.1.



Please be gentle with me I am still trying to dive into the depths of networking ;)



Thank you for your answers in advance,
Cheers & Happy New Years everyone.










share|improve this question





























    0















    I am running DD-WRT v3.0-r28211 std (11/16/15) on a router behind my actual internet router (which is a Fritz!Box).



    The Set up is a follows:




    • Internet router: 192.168.177.1 (Fritz).

    • DD-WRT: 192.168.0.1 connection to 192.168.177.1 through the WAN Port.

    • Sitecome Router (VPNConnection): 192.168.0.2 connection to 192.168.0.1 through the WAN Port (PPTP connection is already established for that router).


    Is it possible to have the DD-WRT set up with routing information that all regular traffic is sent to 192.168.177.1 and only traffic regarding the IP Net of 66.*.*.* is being routed through 192.168.0.2?



    My assumtion was that I have to change the setup somehow that 192.168.0.2 connects through its WAN Port to 192.168.177.1 but also has a connection to 192.168.0.1.



    Please be gentle with me I am still trying to dive into the depths of networking ;)



    Thank you for your answers in advance,
    Cheers & Happy New Years everyone.










    share|improve this question



























      0












      0








      0








      I am running DD-WRT v3.0-r28211 std (11/16/15) on a router behind my actual internet router (which is a Fritz!Box).



      The Set up is a follows:




      • Internet router: 192.168.177.1 (Fritz).

      • DD-WRT: 192.168.0.1 connection to 192.168.177.1 through the WAN Port.

      • Sitecome Router (VPNConnection): 192.168.0.2 connection to 192.168.0.1 through the WAN Port (PPTP connection is already established for that router).


      Is it possible to have the DD-WRT set up with routing information that all regular traffic is sent to 192.168.177.1 and only traffic regarding the IP Net of 66.*.*.* is being routed through 192.168.0.2?



      My assumtion was that I have to change the setup somehow that 192.168.0.2 connects through its WAN Port to 192.168.177.1 but also has a connection to 192.168.0.1.



      Please be gentle with me I am still trying to dive into the depths of networking ;)



      Thank you for your answers in advance,
      Cheers & Happy New Years everyone.










      share|improve this question
















      I am running DD-WRT v3.0-r28211 std (11/16/15) on a router behind my actual internet router (which is a Fritz!Box).



      The Set up is a follows:




      • Internet router: 192.168.177.1 (Fritz).

      • DD-WRT: 192.168.0.1 connection to 192.168.177.1 through the WAN Port.

      • Sitecome Router (VPNConnection): 192.168.0.2 connection to 192.168.0.1 through the WAN Port (PPTP connection is already established for that router).


      Is it possible to have the DD-WRT set up with routing information that all regular traffic is sent to 192.168.177.1 and only traffic regarding the IP Net of 66.*.*.* is being routed through 192.168.0.2?



      My assumtion was that I have to change the setup somehow that 192.168.0.2 connects through its WAN Port to 192.168.177.1 but also has a connection to 192.168.0.1.



      Please be gentle with me I am still trying to dive into the depths of networking ;)



      Thank you for your answers in advance,
      Cheers & Happy New Years everyone.







      vpn routing dd-wrt






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 1 '16 at 11:08









      g2mk

      1,265913




      1,265913










      asked Jan 1 '16 at 9:00









      FreyFrey

      11




      11






















          1 Answer
          1






          active

          oldest

          votes


















          0














          This is called static routing. You add a new manual route in the routers Routing Table. From the DD WRT manual:




          Static Routing

          A static route is a pre-determined pathway that network information must travel to reach a specific host or network.



          To set up a static route between the router and another network:

          Select a number from the Static Routing drop-down list. Enter the following data:




          • Destination IP Address – The Destination IP Address is the address of
            the network or host to which you want to assign a static route.


          • Subnet Mask – The Subnet Mask determines which portion of an IP address is the network portion, and which portion is the host portion.


          • Gateway – This is the IP address of the gateway device that allows for contact between the router and the network or host.



          Depending on where the Destination IP Address is located, select LAN & WLAN or WAN from the Interface drop-down menu. Click the Apply button to save your changes. To cancel your unsaved changes, click the Cancel button. For additional static routes, repeat steps 1-4.




          This is done from the Advanced Routing page.



          In your specific case, the subnet is /8, or 255.0.0.0. Gateway would be the VPN ip 192.168.0.2






          share|improve this answer


























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1020461%2fhow-do-i-route-traffic-of-one-ip-net-to-a-different-router-using-dd-wrt%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            This is called static routing. You add a new manual route in the routers Routing Table. From the DD WRT manual:




            Static Routing

            A static route is a pre-determined pathway that network information must travel to reach a specific host or network.



            To set up a static route between the router and another network:

            Select a number from the Static Routing drop-down list. Enter the following data:




            • Destination IP Address – The Destination IP Address is the address of
              the network or host to which you want to assign a static route.


            • Subnet Mask – The Subnet Mask determines which portion of an IP address is the network portion, and which portion is the host portion.


            • Gateway – This is the IP address of the gateway device that allows for contact between the router and the network or host.



            Depending on where the Destination IP Address is located, select LAN & WLAN or WAN from the Interface drop-down menu. Click the Apply button to save your changes. To cancel your unsaved changes, click the Cancel button. For additional static routes, repeat steps 1-4.




            This is done from the Advanced Routing page.



            In your specific case, the subnet is /8, or 255.0.0.0. Gateway would be the VPN ip 192.168.0.2






            share|improve this answer






























              0














              This is called static routing. You add a new manual route in the routers Routing Table. From the DD WRT manual:




              Static Routing

              A static route is a pre-determined pathway that network information must travel to reach a specific host or network.



              To set up a static route between the router and another network:

              Select a number from the Static Routing drop-down list. Enter the following data:




              • Destination IP Address – The Destination IP Address is the address of
                the network or host to which you want to assign a static route.


              • Subnet Mask – The Subnet Mask determines which portion of an IP address is the network portion, and which portion is the host portion.


              • Gateway – This is the IP address of the gateway device that allows for contact between the router and the network or host.



              Depending on where the Destination IP Address is located, select LAN & WLAN or WAN from the Interface drop-down menu. Click the Apply button to save your changes. To cancel your unsaved changes, click the Cancel button. For additional static routes, repeat steps 1-4.




              This is done from the Advanced Routing page.



              In your specific case, the subnet is /8, or 255.0.0.0. Gateway would be the VPN ip 192.168.0.2






              share|improve this answer




























                0












                0








                0







                This is called static routing. You add a new manual route in the routers Routing Table. From the DD WRT manual:




                Static Routing

                A static route is a pre-determined pathway that network information must travel to reach a specific host or network.



                To set up a static route between the router and another network:

                Select a number from the Static Routing drop-down list. Enter the following data:




                • Destination IP Address – The Destination IP Address is the address of
                  the network or host to which you want to assign a static route.


                • Subnet Mask – The Subnet Mask determines which portion of an IP address is the network portion, and which portion is the host portion.


                • Gateway – This is the IP address of the gateway device that allows for contact between the router and the network or host.



                Depending on where the Destination IP Address is located, select LAN & WLAN or WAN from the Interface drop-down menu. Click the Apply button to save your changes. To cancel your unsaved changes, click the Cancel button. For additional static routes, repeat steps 1-4.




                This is done from the Advanced Routing page.



                In your specific case, the subnet is /8, or 255.0.0.0. Gateway would be the VPN ip 192.168.0.2






                share|improve this answer















                This is called static routing. You add a new manual route in the routers Routing Table. From the DD WRT manual:




                Static Routing

                A static route is a pre-determined pathway that network information must travel to reach a specific host or network.



                To set up a static route between the router and another network:

                Select a number from the Static Routing drop-down list. Enter the following data:




                • Destination IP Address – The Destination IP Address is the address of
                  the network or host to which you want to assign a static route.


                • Subnet Mask – The Subnet Mask determines which portion of an IP address is the network portion, and which portion is the host portion.


                • Gateway – This is the IP address of the gateway device that allows for contact between the router and the network or host.



                Depending on where the Destination IP Address is located, select LAN & WLAN or WAN from the Interface drop-down menu. Click the Apply button to save your changes. To cancel your unsaved changes, click the Cancel button. For additional static routes, repeat steps 1-4.




                This is done from the Advanced Routing page.



                In your specific case, the subnet is /8, or 255.0.0.0. Gateway would be the VPN ip 192.168.0.2







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 1 '16 at 10:41

























                answered Jan 1 '16 at 9:30









                cdecde

                1,590819




                1,590819






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1020461%2fhow-do-i-route-traffic-of-one-ip-net-to-a-different-router-using-dd-wrt%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Index of /

                    Tribalistas

                    Listed building