Routing problem - Ubuntu 16.04 with two different networks

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












We have a Ubuntu virtual machine with 3 virtual NICs (for defining eth0, eth1 and eth2) added to it.
Our DMZ has two networks. One is 10.8.225.0/24 and the other is 10.9.225.0/24.



10.8.225.0/24 is purposed to receive/send traffic from/to internet ONLY.



10.9.225.0/24 is purposed to receive/send traffic from/to internal servers ONLY.



Ethernet interfaces (static) are assigned as below:



eth0 - 10.8.225.10 in 10.8.225.0/24 network



eth1 - 10.9.225.10 in 10.9.225.0/24 network



eth2 - 10.9.225.11 in 10.9.225.0/24 network



Requirements:



Traffic received from Internet to 10.8.225.10 (eth0) needs to be routed internal servers via 10.9.225.11(eth2)



10.9.225.10 (eth1) interface is used purely by developers to do admin activities.



I used this link to define eth0 and eth1. Could not understand how to define eth2 and the static route for the above requirement.



Any ideas?










share|improve this question



























    up vote
    0
    down vote

    favorite












    We have a Ubuntu virtual machine with 3 virtual NICs (for defining eth0, eth1 and eth2) added to it.
    Our DMZ has two networks. One is 10.8.225.0/24 and the other is 10.9.225.0/24.



    10.8.225.0/24 is purposed to receive/send traffic from/to internet ONLY.



    10.9.225.0/24 is purposed to receive/send traffic from/to internal servers ONLY.



    Ethernet interfaces (static) are assigned as below:



    eth0 - 10.8.225.10 in 10.8.225.0/24 network



    eth1 - 10.9.225.10 in 10.9.225.0/24 network



    eth2 - 10.9.225.11 in 10.9.225.0/24 network



    Requirements:



    Traffic received from Internet to 10.8.225.10 (eth0) needs to be routed internal servers via 10.9.225.11(eth2)



    10.9.225.10 (eth1) interface is used purely by developers to do admin activities.



    I used this link to define eth0 and eth1. Could not understand how to define eth2 and the static route for the above requirement.



    Any ideas?










    share|improve this question

























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      We have a Ubuntu virtual machine with 3 virtual NICs (for defining eth0, eth1 and eth2) added to it.
      Our DMZ has two networks. One is 10.8.225.0/24 and the other is 10.9.225.0/24.



      10.8.225.0/24 is purposed to receive/send traffic from/to internet ONLY.



      10.9.225.0/24 is purposed to receive/send traffic from/to internal servers ONLY.



      Ethernet interfaces (static) are assigned as below:



      eth0 - 10.8.225.10 in 10.8.225.0/24 network



      eth1 - 10.9.225.10 in 10.9.225.0/24 network



      eth2 - 10.9.225.11 in 10.9.225.0/24 network



      Requirements:



      Traffic received from Internet to 10.8.225.10 (eth0) needs to be routed internal servers via 10.9.225.11(eth2)



      10.9.225.10 (eth1) interface is used purely by developers to do admin activities.



      I used this link to define eth0 and eth1. Could not understand how to define eth2 and the static route for the above requirement.



      Any ideas?










      share|improve this question















      We have a Ubuntu virtual machine with 3 virtual NICs (for defining eth0, eth1 and eth2) added to it.
      Our DMZ has two networks. One is 10.8.225.0/24 and the other is 10.9.225.0/24.



      10.8.225.0/24 is purposed to receive/send traffic from/to internet ONLY.



      10.9.225.0/24 is purposed to receive/send traffic from/to internal servers ONLY.



      Ethernet interfaces (static) are assigned as below:



      eth0 - 10.8.225.10 in 10.8.225.0/24 network



      eth1 - 10.9.225.10 in 10.9.225.0/24 network



      eth2 - 10.9.225.11 in 10.9.225.0/24 network



      Requirements:



      Traffic received from Internet to 10.8.225.10 (eth0) needs to be routed internal servers via 10.9.225.11(eth2)



      10.9.225.10 (eth1) interface is used purely by developers to do admin activities.



      I used this link to define eth0 and eth1. Could not understand how to define eth2 and the static route for the above requirement.



      Any ideas?







      routing gateway






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 13 at 2:50









      ubashu

      2,23721736




      2,23721736










      asked Apr 13 at 2:44









      Ramprasad Kolla

      11




      11

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          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',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1024520%2frouting-problem-ubuntu-16-04-with-two-different-networks%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1024520%2frouting-problem-ubuntu-16-04-with-two-different-networks%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Which professions warranted travel in Medieval times?

          How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

          Trouble downloading packages list due to a “Hash sum mismatch” error