Networking between Subnets












0














i have been trying to connect a local subnet to another subnet.



Router 1: 137.226.189.1



Router 2: 192.168.1.1



Only a connection from 192.168.1.228 (PC1) to 137.226.189.42 (PC2) and back is needed and currently a pingrequest returns a timeout. Router 1 is connected to the WAN port of Router 2 and pinging from 192.168.1.228 to 137.226.189.1 works with response.



The connection has this topology:



PC <-> LAN to LAN <-> Router 1 <-> WAN to LAN <-> Router 2 <-> LAN to LAN <-> PC2



I am not sure whether i should forward any traffic using Router 1 or Router 2. Some sources say it should work out of the box. Firewall of PC1 is turned off and Router 1 uses standard firewall of dd-wrt.










share|improve this question


















  • 1




    Generally routers have an address for each interface (one for LAN, another for WAN, etc.) Could you update the router information with addresses and /netmasks for all interfaces?
    – grawity
    Dec 13 at 11:32










  • Router 1 is connected to the WAN port of Router 2 and in the same time Router 1 <-> WAN to LAN <-> Router 2 - i.e. backward. Draw scheme like: (PC - LAN=192.168.1.228) - (LAN=192.168.1.1 - Router 1 - WAN_IP) - (LAN=137.226.189.1 - Router 2 - LAN=137.226.189.1) - ( LAN=137.226.189.42 - PC2).
    – Akina
    Dec 13 at 12:54










  • Only a connection from 192.168.1.228 (PC1) to 137.226.189.42 (PC2) and back is needed This means that both PC1 may connect to PC2 and PC2 to PC1, or you mean only PC1 calls PC2 and PC2 answers to PC1? And - if some router (Router1 on your scheme but Router2 from your description) have WAN interface, does NAT is enabled on that interface?
    – Akina
    Dec 13 at 12:56


















0














i have been trying to connect a local subnet to another subnet.



Router 1: 137.226.189.1



Router 2: 192.168.1.1



Only a connection from 192.168.1.228 (PC1) to 137.226.189.42 (PC2) and back is needed and currently a pingrequest returns a timeout. Router 1 is connected to the WAN port of Router 2 and pinging from 192.168.1.228 to 137.226.189.1 works with response.



The connection has this topology:



PC <-> LAN to LAN <-> Router 1 <-> WAN to LAN <-> Router 2 <-> LAN to LAN <-> PC2



I am not sure whether i should forward any traffic using Router 1 or Router 2. Some sources say it should work out of the box. Firewall of PC1 is turned off and Router 1 uses standard firewall of dd-wrt.










share|improve this question


















  • 1




    Generally routers have an address for each interface (one for LAN, another for WAN, etc.) Could you update the router information with addresses and /netmasks for all interfaces?
    – grawity
    Dec 13 at 11:32










  • Router 1 is connected to the WAN port of Router 2 and in the same time Router 1 <-> WAN to LAN <-> Router 2 - i.e. backward. Draw scheme like: (PC - LAN=192.168.1.228) - (LAN=192.168.1.1 - Router 1 - WAN_IP) - (LAN=137.226.189.1 - Router 2 - LAN=137.226.189.1) - ( LAN=137.226.189.42 - PC2).
    – Akina
    Dec 13 at 12:54










  • Only a connection from 192.168.1.228 (PC1) to 137.226.189.42 (PC2) and back is needed This means that both PC1 may connect to PC2 and PC2 to PC1, or you mean only PC1 calls PC2 and PC2 answers to PC1? And - if some router (Router1 on your scheme but Router2 from your description) have WAN interface, does NAT is enabled on that interface?
    – Akina
    Dec 13 at 12:56
















0












0








0







i have been trying to connect a local subnet to another subnet.



Router 1: 137.226.189.1



Router 2: 192.168.1.1



Only a connection from 192.168.1.228 (PC1) to 137.226.189.42 (PC2) and back is needed and currently a pingrequest returns a timeout. Router 1 is connected to the WAN port of Router 2 and pinging from 192.168.1.228 to 137.226.189.1 works with response.



The connection has this topology:



PC <-> LAN to LAN <-> Router 1 <-> WAN to LAN <-> Router 2 <-> LAN to LAN <-> PC2



I am not sure whether i should forward any traffic using Router 1 or Router 2. Some sources say it should work out of the box. Firewall of PC1 is turned off and Router 1 uses standard firewall of dd-wrt.










share|improve this question













i have been trying to connect a local subnet to another subnet.



Router 1: 137.226.189.1



Router 2: 192.168.1.1



Only a connection from 192.168.1.228 (PC1) to 137.226.189.42 (PC2) and back is needed and currently a pingrequest returns a timeout. Router 1 is connected to the WAN port of Router 2 and pinging from 192.168.1.228 to 137.226.189.1 works with response.



The connection has this topology:



PC <-> LAN to LAN <-> Router 1 <-> WAN to LAN <-> Router 2 <-> LAN to LAN <-> PC2



I am not sure whether i should forward any traffic using Router 1 or Router 2. Some sources say it should work out of the box. Firewall of PC1 is turned off and Router 1 uses standard firewall of dd-wrt.







networking dd-wrt subnet






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 13 at 11:07









Tuni

1




1








  • 1




    Generally routers have an address for each interface (one for LAN, another for WAN, etc.) Could you update the router information with addresses and /netmasks for all interfaces?
    – grawity
    Dec 13 at 11:32










  • Router 1 is connected to the WAN port of Router 2 and in the same time Router 1 <-> WAN to LAN <-> Router 2 - i.e. backward. Draw scheme like: (PC - LAN=192.168.1.228) - (LAN=192.168.1.1 - Router 1 - WAN_IP) - (LAN=137.226.189.1 - Router 2 - LAN=137.226.189.1) - ( LAN=137.226.189.42 - PC2).
    – Akina
    Dec 13 at 12:54










  • Only a connection from 192.168.1.228 (PC1) to 137.226.189.42 (PC2) and back is needed This means that both PC1 may connect to PC2 and PC2 to PC1, or you mean only PC1 calls PC2 and PC2 answers to PC1? And - if some router (Router1 on your scheme but Router2 from your description) have WAN interface, does NAT is enabled on that interface?
    – Akina
    Dec 13 at 12:56
















  • 1




    Generally routers have an address for each interface (one for LAN, another for WAN, etc.) Could you update the router information with addresses and /netmasks for all interfaces?
    – grawity
    Dec 13 at 11:32










  • Router 1 is connected to the WAN port of Router 2 and in the same time Router 1 <-> WAN to LAN <-> Router 2 - i.e. backward. Draw scheme like: (PC - LAN=192.168.1.228) - (LAN=192.168.1.1 - Router 1 - WAN_IP) - (LAN=137.226.189.1 - Router 2 - LAN=137.226.189.1) - ( LAN=137.226.189.42 - PC2).
    – Akina
    Dec 13 at 12:54










  • Only a connection from 192.168.1.228 (PC1) to 137.226.189.42 (PC2) and back is needed This means that both PC1 may connect to PC2 and PC2 to PC1, or you mean only PC1 calls PC2 and PC2 answers to PC1? And - if some router (Router1 on your scheme but Router2 from your description) have WAN interface, does NAT is enabled on that interface?
    – Akina
    Dec 13 at 12:56










1




1




Generally routers have an address for each interface (one for LAN, another for WAN, etc.) Could you update the router information with addresses and /netmasks for all interfaces?
– grawity
Dec 13 at 11:32




Generally routers have an address for each interface (one for LAN, another for WAN, etc.) Could you update the router information with addresses and /netmasks for all interfaces?
– grawity
Dec 13 at 11:32












Router 1 is connected to the WAN port of Router 2 and in the same time Router 1 <-> WAN to LAN <-> Router 2 - i.e. backward. Draw scheme like: (PC - LAN=192.168.1.228) - (LAN=192.168.1.1 - Router 1 - WAN_IP) - (LAN=137.226.189.1 - Router 2 - LAN=137.226.189.1) - ( LAN=137.226.189.42 - PC2).
– Akina
Dec 13 at 12:54




Router 1 is connected to the WAN port of Router 2 and in the same time Router 1 <-> WAN to LAN <-> Router 2 - i.e. backward. Draw scheme like: (PC - LAN=192.168.1.228) - (LAN=192.168.1.1 - Router 1 - WAN_IP) - (LAN=137.226.189.1 - Router 2 - LAN=137.226.189.1) - ( LAN=137.226.189.42 - PC2).
– Akina
Dec 13 at 12:54












Only a connection from 192.168.1.228 (PC1) to 137.226.189.42 (PC2) and back is needed This means that both PC1 may connect to PC2 and PC2 to PC1, or you mean only PC1 calls PC2 and PC2 answers to PC1? And - if some router (Router1 on your scheme but Router2 from your description) have WAN interface, does NAT is enabled on that interface?
– Akina
Dec 13 at 12:56






Only a connection from 192.168.1.228 (PC1) to 137.226.189.42 (PC2) and back is needed This means that both PC1 may connect to PC2 and PC2 to PC1, or you mean only PC1 calls PC2 and PC2 answers to PC1? And - if some router (Router1 on your scheme but Router2 from your description) have WAN interface, does NAT is enabled on that interface?
– Akina
Dec 13 at 12:56

















active

oldest

votes











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%2f1383265%2fnetworking-between-subnets%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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%2f1383265%2fnetworking-between-subnets%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

Probability when a professor distributes a quiz and homework assignment to a class of n students.

Aardman Animations

Are they similar matrix