At Wednesday, 28/11/2001 11:59 AM (+1100), Lyle Chapman wrote:
>To whomever can help.
>
>I want to connect 2 internal networks together across the internet using 
>ipchains from 2 Linux routers. Is it possible to do this and have it 
>tranparent to the internal networks.
>
>I have tried everything I can think of and have read the HOWTO but cannot 
>get through. If I am inside network 1 I get as far as the router at 
>network 2 but cannot see or ping their internal network.
>
>PLEASE HELP - As I am trying to learn Linux but unfortunately 
>documentation is not aimed at the newbie sometimes!!!
>
>Linux Box 1 is...
>eth0 (internal) 192.168.100.130/255.255.255.0
>eth1 (external) 202.44.164.38/255.255.255.240
>
>Linux Box 2 is...
>eth0 (internal) 192.168.100.131/255.255.255.0
>eth1 (external) 202.44.164.39/255.255.255.240

Two different subnets makes life hard.  I am also suprised that the external network 
addresses are on the same subnet - is this on the same ISP ?

If the two networks are truly connected on the same external subnet then life is 
pretty easy however since you are running your traffic over a public network it is 
well recommended that you use IPSec for security.

To get basic routing working, you could divy your 192.x.x.x network into two smaller 
subnets, or renumber the one at the other site.  Then all you would really have to do 
is add some static routes into the linux box at each end pointing to the other 
router's gateway (external) address.

Matt




>-- 
>SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
>More Info: http://lists.slug.org.au/listinfo/slug



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to