Welcome Guest! To access all forums & features, please register an account or sign-in. → Why register?



Making another network see and access another one!


62 replies to this topic - - - - -

#1 htcz

    Neowinian Senior

  • 1,821 posts
  • Joined: 22-July 11

Posted 04 May 2012 - 11:35

Hey

Let me see how I explain this:


Network 1:

WAN add: 88.34.12.3

Router add: 192.168.100.100

Netmask: 255.255.255.0

Clients (for examples): 192.168.100.2, 192.168.100.3, etc


Network 2:

WAN add: 94.55.98.3

Router add: 192.168.1.1

Netmask: 255.255.255.0

Clients (for examples): 192.168.1.2, 192.168.1.4, etc


Now how can I "join" both networks so when Im at a PC with 192.168.100.2 I can ping (and access) 192.168.1.4?

VLANs? Routes? Subnetting?

Thanks!


#2 offroadaaron

    root can touch you anywhere

  • 2,643 posts
  • Joined: 02-May 02
  • Location: Australia

Posted 04 May 2012 - 13:02

VPN

#3 +Xenosion

    ya im cool wanna fight about it

  • 3,682 posts
  • Joined: 04-September 07
  • Location: Wellington, Palm Beach, FL

Posted 04 May 2012 - 13:13

If these two networks can be physically connected and the equipment is capable of routes, that is the way to go.
If the network are separated by public internet space, a VPN router at end will be your only option.
VPN would work in either case though. It just seems a little silly to VPN in scenario 1.

#4 OP htcz

    Neowinian Senior

  • 1,821 posts
  • Joined: 22-July 11

Posted 04 May 2012 - 13:46

View PostXenosion, on 04 May 2012 - 13:13, said:

If these two networks can be physically connected and the equipment is capable of routes, that is the way to go.
If the network are separated by public internet space, a VPN router at end will be your only option.
VPN would work in either case though. It just seems a little silly to VPN in scenario 1.
I think I have have explained myself incorrectly.

There is only ONE scenario. 2 networks seperated by a public space (internet would be the case) but I want to them to be seeable and access each other freely.

Besides VPN (which I knew of :) ) is there any other choice (irrelevent if it is better ot worst; I just want to be able to explain it and give options)?

Also something that can be done freely; Nothing proprietary

#5 cybertimber2008

    Neowinian Senior

  • 1,691 posts
  • Joined: 02-December 08

Posted 04 May 2012 - 13:52

VPN or a point-to-point connection (fiber, etc)
If you want "freely", then VPN solutions are the direction you should look.

#6 CentralDogma

    Neowinian Senior

  • 2,145 posts
  • Joined: 29-February 08

Posted 04 May 2012 - 14:04

If you just need one computer to be accessible from the other network, you could use DMZ or port forwarding.

#7 +sc302

    Neowinian UNSTOPPABLE

  • 6,204 posts
  • Joined: 12-July 05
  • Location: NJ/PA, USA

Posted 04 May 2012 - 14:26

without putting in other services (mpls, fiber, or some other point to point connection), the only way to do this is with a vpn.

#8 OP htcz

    Neowinian Senior

  • 1,821 posts
  • Joined: 22-July 11

Posted 04 May 2012 - 14:44

I went ahead and drew this out (yes I know my drawing skill are great :p )

This is basically what I have. Just to show you a bit what I mean :)


Now, I knew about VPN and I understand if it is the only way but theres no other technology out there? I would understand it being "difficult" as with NAT, Firewalls, etc a direct connection like this would be impossible but just to know :)

Also, how can I configure a VPN via simply command line? One of the reasons I asked for alternatives to VPN is because on some of these I only have access to a command line and Im not sure if Linux distros by default include a VPN server/client.

Thanks to all that have helped.

Attached Images

  • Attached Image: sit.png


#9 xendrome

    In God We Trust; All Others We Monitor

  • 5,902 posts
  • Joined: 05-December 01
  • OS: Windows 8 Pro x64

Posted 04 May 2012 - 14:48

View Posthtcz, on 04 May 2012 - 14:44, said:

I went ahead and drew this out (yes I know my drawing skill are great :p )

This is basically what I have. Just to show you a bit what I mean :)


Now, I knew about VPN and I understand if it is the only way but theres no other technology out there? I would understand it being "difficult" as with NAT, Firewalls, etc a direct connection like this would be impossible but just to know :)

Also, how can I configure a VPN via simply command line? One of the reasons I asked for alternatives to VPN is because on some of these I only have access to a command line and Im not sure if Linux distros by default include a VPN server/client.

Thanks to all that have helped.

VPN Routers at each end, static IP for each sites Internet connection, create a tunnel, done. Google -
SRXN3205

#10 OP htcz

    Neowinian Senior

  • 1,821 posts
  • Joined: 22-July 11

Posted 04 May 2012 - 14:53

Attached Image: sit.png


Neowin's stupid attachment system is acting up...

#11 +Xenosion

    ya im cool wanna fight about it

  • 3,682 posts
  • Joined: 04-September 07
  • Location: Wellington, Palm Beach, FL

Posted 04 May 2012 - 14:54

View Posthtcz, on 04 May 2012 - 14:44, said:

I went ahead and drew this out (yes I know my drawing skill are great :p )

This is basically what I have. Just to show you a bit what I mean :)


Now, I knew about VPN and I understand if it is the only way but theres no other technology out there? I would understand it being "difficult" as with NAT, Firewalls, etc a direct connection like this would be impossible but just to know :)

Also, how can I configure a VPN via simply command line? One of the reasons I asked for alternatives to VPN is because on some of these I only have access to a command line and Im not sure if Linux distros by default include a VPN server/client.

Thanks to all that have helped.
You say you know what VPN is but then you talk about configuring it via command line. Unless you have some moderately sophisticated server at each end, what in the world are you thinking?

VPN is it. There's nothing wrong with the technology so what is the hesitation?
There are software VPN solutions like Hamachi, but just do it right and get hardware.

Edit after seeing picture: So you already have routers at each end. Well, what model are they?

#12 OP htcz

    Neowinian Senior

  • 1,821 posts
  • Joined: 22-July 11

Posted 04 May 2012 - 14:57

View Postxendrome, on 04 May 2012 - 14:48, said:

VPN Routers at each end, static IP for each sites Internet connection, create a tunnel, done. Google -
SRXN3205
Ah VPN routers.....thats what I am trying to avoid!

Not really avoid, just if it cant be done any other way, it cant be done.

The SRXN3205 is kind of cheap and used at a domestic level right?; We are looking for more industrial "module" type of routers. Google - NetModule NB1600

#13 OP htcz

    Neowinian Senior

  • 1,821 posts
  • Joined: 22-July 11

Posted 04 May 2012 - 14:59

View PostXenosion, on 04 May 2012 - 14:54, said:

You say you know what VPN is but then you talk about configuring it via command line. Unless you have some moderately sophisticated server at each end, what in the world are you thinking?

VPN is it. There's nothing wrong with the technology so what is the hesitation?

Edit after seeing picture: So you already have routers at each end. Well, what model are they?
This information is both unknown (actually I know one end only but im looking for something that wouldnt matter) and unreplacable :) Buying the 2 cheapest DD-WRT routers, turning on their VPN features and calling it a day wont do justice here....

Even if it is VPN, there has to be SOME configuration at the end to end point: Someone listening and another one sending (in a PTPP).

I guess VPN then is the only way.

#14 OP htcz

    Neowinian Senior

  • 1,821 posts
  • Joined: 22-July 11

Posted 04 May 2012 - 15:05

Oh, what about if internet is not in the middle? (Take the picture I put there and instead of a circle that says internet replace it with a line connecting both routers)


This is nothing about the situation; Just personal intrest to learn more.

#15 +Xenosion

    ya im cool wanna fight about it

  • 3,682 posts
  • Joined: 04-September 07
  • Location: Wellington, Palm Beach, FL

Posted 04 May 2012 - 15:08

View Posthtcz, on 04 May 2012 - 14:59, said:

I guess VPN then is the only way.
Once again, yes.

View Posthtcz, on 04 May 2012 - 14:59, said:

Buying the 2 cheapest DD-WRT routers, turning on their VPN features and calling it a day wont do justice here....
Why not?

View Posthtcz, on 04 May 2012 - 14:59, said:

Even if it is VPN, there has to be SOME configuration at the end to end point: Someone listening and another one sending (in a PTPP).
Of course there's configuration, but to ask how to do it via command line implies you know the equipment at each end.