How to connect two pc in a subnet in two different location?











up vote
-1
down vote

favorite












I have a client which have a LAN in his office (point A) and have his file server in another (different) location (point B).
Question:
We want to make a connection between points A & B that look like they are in one sub net to make users in the point A can access their database at the point B.
condtions:
-In the point A we have a static IP (provided by ISP)
-In the point B we cant have static IP but we can use a Dyndns Service instead.
-We are running a SQL server database on point B which is using by user at point A.
Now please give me a solution to connect these points.










share|improve this question







New contributor




bnaster is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Your question seems to be based on a false premise. Accessing a database or a fileserver does not generally require being in the same subnet.
    – grawity
    Nov 24 at 17:06










  • so give me a solution to connect my file server at the mentioned conditions without using the same subnet.
    – bnaster
    Nov 26 at 9:51






  • 1




    By default accessing database dose not require being in the same subnet, you right, but in my situation, my client uses a software that checks for LAN subnet and routing so my first (maybe even) choice is to use both lan in the same subnet.
    – bnaster
    yesterday















up vote
-1
down vote

favorite












I have a client which have a LAN in his office (point A) and have his file server in another (different) location (point B).
Question:
We want to make a connection between points A & B that look like they are in one sub net to make users in the point A can access their database at the point B.
condtions:
-In the point A we have a static IP (provided by ISP)
-In the point B we cant have static IP but we can use a Dyndns Service instead.
-We are running a SQL server database on point B which is using by user at point A.
Now please give me a solution to connect these points.










share|improve this question







New contributor




bnaster is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Your question seems to be based on a false premise. Accessing a database or a fileserver does not generally require being in the same subnet.
    – grawity
    Nov 24 at 17:06










  • so give me a solution to connect my file server at the mentioned conditions without using the same subnet.
    – bnaster
    Nov 26 at 9:51






  • 1




    By default accessing database dose not require being in the same subnet, you right, but in my situation, my client uses a software that checks for LAN subnet and routing so my first (maybe even) choice is to use both lan in the same subnet.
    – bnaster
    yesterday













up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











I have a client which have a LAN in his office (point A) and have his file server in another (different) location (point B).
Question:
We want to make a connection between points A & B that look like they are in one sub net to make users in the point A can access their database at the point B.
condtions:
-In the point A we have a static IP (provided by ISP)
-In the point B we cant have static IP but we can use a Dyndns Service instead.
-We are running a SQL server database on point B which is using by user at point A.
Now please give me a solution to connect these points.










share|improve this question







New contributor




bnaster is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I have a client which have a LAN in his office (point A) and have his file server in another (different) location (point B).
Question:
We want to make a connection between points A & B that look like they are in one sub net to make users in the point A can access their database at the point B.
condtions:
-In the point A we have a static IP (provided by ISP)
-In the point B we cant have static IP but we can use a Dyndns Service instead.
-We are running a SQL server database on point B which is using by user at point A.
Now please give me a solution to connect these points.







networking routing






share|improve this question







New contributor




bnaster is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




bnaster is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




bnaster is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 24 at 9:09









bnaster

31




31




New contributor




bnaster is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





bnaster is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






bnaster is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Your question seems to be based on a false premise. Accessing a database or a fileserver does not generally require being in the same subnet.
    – grawity
    Nov 24 at 17:06










  • so give me a solution to connect my file server at the mentioned conditions without using the same subnet.
    – bnaster
    Nov 26 at 9:51






  • 1




    By default accessing database dose not require being in the same subnet, you right, but in my situation, my client uses a software that checks for LAN subnet and routing so my first (maybe even) choice is to use both lan in the same subnet.
    – bnaster
    yesterday


















  • Your question seems to be based on a false premise. Accessing a database or a fileserver does not generally require being in the same subnet.
    – grawity
    Nov 24 at 17:06










  • so give me a solution to connect my file server at the mentioned conditions without using the same subnet.
    – bnaster
    Nov 26 at 9:51






  • 1




    By default accessing database dose not require being in the same subnet, you right, but in my situation, my client uses a software that checks for LAN subnet and routing so my first (maybe even) choice is to use both lan in the same subnet.
    – bnaster
    yesterday
















Your question seems to be based on a false premise. Accessing a database or a fileserver does not generally require being in the same subnet.
– grawity
Nov 24 at 17:06




Your question seems to be based on a false premise. Accessing a database or a fileserver does not generally require being in the same subnet.
– grawity
Nov 24 at 17:06












so give me a solution to connect my file server at the mentioned conditions without using the same subnet.
– bnaster
Nov 26 at 9:51




so give me a solution to connect my file server at the mentioned conditions without using the same subnet.
– bnaster
Nov 26 at 9:51




1




1




By default accessing database dose not require being in the same subnet, you right, but in my situation, my client uses a software that checks for LAN subnet and routing so my first (maybe even) choice is to use both lan in the same subnet.
– bnaster
yesterday




By default accessing database dose not require being in the same subnet, you right, but in my situation, my client uses a software that checks for LAN subnet and routing so my first (maybe even) choice is to use both lan in the same subnet.
– bnaster
yesterday










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










If you want it to look like you're in the same subnet, you should have a layer-2 connection. All ISPs that I know only provide layer-3 connections. If you want the same subnet, you should build a tunnel over your L3 connections.



Depending on the requirements and the available hardware, that could be anything from a GRE tunnel, to an IPSec or OpenVPN tunnel. Judging from the question, I would suggest investgating an OpenVPN tunnel. Having a static IP makes it easier to connect.






share|improve this answer





















  • I think it can be happen by using cloud in Mikrotik routers instead of VPN. where VPN tunnel slow down the bandwidth.
    – bnaster
    Nov 26 at 9:47










  • Possibly; haven't played with Mikrotik. What I see of the Mikrotik cloud is mostly L3 though. But also for that cloud, you will need some tunnel.
    – Ljm Dullaart
    Nov 26 at 18:38










  • Would you please let me know how to configure a mikrotik cloud? Actually I bought 2 Mikrotik 951-UI2hnd and prepare to set them up. by the way in comparison which one is better? Mikrotik cloud or VPN tunnel with L2TP and IPSEC?
    – bnaster
    yesterday











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',
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
});


}
});






bnaster is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1377975%2fhow-to-connect-two-pc-in-a-subnet-in-two-different-location%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








up vote
1
down vote



accepted










If you want it to look like you're in the same subnet, you should have a layer-2 connection. All ISPs that I know only provide layer-3 connections. If you want the same subnet, you should build a tunnel over your L3 connections.



Depending on the requirements and the available hardware, that could be anything from a GRE tunnel, to an IPSec or OpenVPN tunnel. Judging from the question, I would suggest investgating an OpenVPN tunnel. Having a static IP makes it easier to connect.






share|improve this answer





















  • I think it can be happen by using cloud in Mikrotik routers instead of VPN. where VPN tunnel slow down the bandwidth.
    – bnaster
    Nov 26 at 9:47










  • Possibly; haven't played with Mikrotik. What I see of the Mikrotik cloud is mostly L3 though. But also for that cloud, you will need some tunnel.
    – Ljm Dullaart
    Nov 26 at 18:38










  • Would you please let me know how to configure a mikrotik cloud? Actually I bought 2 Mikrotik 951-UI2hnd and prepare to set them up. by the way in comparison which one is better? Mikrotik cloud or VPN tunnel with L2TP and IPSEC?
    – bnaster
    yesterday















up vote
1
down vote



accepted










If you want it to look like you're in the same subnet, you should have a layer-2 connection. All ISPs that I know only provide layer-3 connections. If you want the same subnet, you should build a tunnel over your L3 connections.



Depending on the requirements and the available hardware, that could be anything from a GRE tunnel, to an IPSec or OpenVPN tunnel. Judging from the question, I would suggest investgating an OpenVPN tunnel. Having a static IP makes it easier to connect.






share|improve this answer





















  • I think it can be happen by using cloud in Mikrotik routers instead of VPN. where VPN tunnel slow down the bandwidth.
    – bnaster
    Nov 26 at 9:47










  • Possibly; haven't played with Mikrotik. What I see of the Mikrotik cloud is mostly L3 though. But also for that cloud, you will need some tunnel.
    – Ljm Dullaart
    Nov 26 at 18:38










  • Would you please let me know how to configure a mikrotik cloud? Actually I bought 2 Mikrotik 951-UI2hnd and prepare to set them up. by the way in comparison which one is better? Mikrotik cloud or VPN tunnel with L2TP and IPSEC?
    – bnaster
    yesterday













up vote
1
down vote



accepted







up vote
1
down vote



accepted






If you want it to look like you're in the same subnet, you should have a layer-2 connection. All ISPs that I know only provide layer-3 connections. If you want the same subnet, you should build a tunnel over your L3 connections.



Depending on the requirements and the available hardware, that could be anything from a GRE tunnel, to an IPSec or OpenVPN tunnel. Judging from the question, I would suggest investgating an OpenVPN tunnel. Having a static IP makes it easier to connect.






share|improve this answer












If you want it to look like you're in the same subnet, you should have a layer-2 connection. All ISPs that I know only provide layer-3 connections. If you want the same subnet, you should build a tunnel over your L3 connections.



Depending on the requirements and the available hardware, that could be anything from a GRE tunnel, to an IPSec or OpenVPN tunnel. Judging from the question, I would suggest investgating an OpenVPN tunnel. Having a static IP makes it easier to connect.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 24 at 15:00









Ljm Dullaart

56425




56425












  • I think it can be happen by using cloud in Mikrotik routers instead of VPN. where VPN tunnel slow down the bandwidth.
    – bnaster
    Nov 26 at 9:47










  • Possibly; haven't played with Mikrotik. What I see of the Mikrotik cloud is mostly L3 though. But also for that cloud, you will need some tunnel.
    – Ljm Dullaart
    Nov 26 at 18:38










  • Would you please let me know how to configure a mikrotik cloud? Actually I bought 2 Mikrotik 951-UI2hnd and prepare to set them up. by the way in comparison which one is better? Mikrotik cloud or VPN tunnel with L2TP and IPSEC?
    – bnaster
    yesterday


















  • I think it can be happen by using cloud in Mikrotik routers instead of VPN. where VPN tunnel slow down the bandwidth.
    – bnaster
    Nov 26 at 9:47










  • Possibly; haven't played with Mikrotik. What I see of the Mikrotik cloud is mostly L3 though. But also for that cloud, you will need some tunnel.
    – Ljm Dullaart
    Nov 26 at 18:38










  • Would you please let me know how to configure a mikrotik cloud? Actually I bought 2 Mikrotik 951-UI2hnd and prepare to set them up. by the way in comparison which one is better? Mikrotik cloud or VPN tunnel with L2TP and IPSEC?
    – bnaster
    yesterday
















I think it can be happen by using cloud in Mikrotik routers instead of VPN. where VPN tunnel slow down the bandwidth.
– bnaster
Nov 26 at 9:47




I think it can be happen by using cloud in Mikrotik routers instead of VPN. where VPN tunnel slow down the bandwidth.
– bnaster
Nov 26 at 9:47












Possibly; haven't played with Mikrotik. What I see of the Mikrotik cloud is mostly L3 though. But also for that cloud, you will need some tunnel.
– Ljm Dullaart
Nov 26 at 18:38




Possibly; haven't played with Mikrotik. What I see of the Mikrotik cloud is mostly L3 though. But also for that cloud, you will need some tunnel.
– Ljm Dullaart
Nov 26 at 18:38












Would you please let me know how to configure a mikrotik cloud? Actually I bought 2 Mikrotik 951-UI2hnd and prepare to set them up. by the way in comparison which one is better? Mikrotik cloud or VPN tunnel with L2TP and IPSEC?
– bnaster
yesterday




Would you please let me know how to configure a mikrotik cloud? Actually I bought 2 Mikrotik 951-UI2hnd and prepare to set them up. by the way in comparison which one is better? Mikrotik cloud or VPN tunnel with L2TP and IPSEC?
– bnaster
yesterday










bnaster is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















bnaster is a new contributor. Be nice, and check out our Code of Conduct.













bnaster is a new contributor. Be nice, and check out our Code of Conduct.












bnaster is a new contributor. Be nice, and check out our Code of Conduct.
















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%2f1377975%2fhow-to-connect-two-pc-in-a-subnet-in-two-different-location%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

If I really need a card on my start hand, how many mulligans make sense? [duplicate]

Alcedinidae

Can an atomic nucleus contain both particles and antiparticles? [duplicate]