All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Linking two networks
@ 2002-11-30 10:41 =?unknown-8bit?q?Roch=C3=A9?= Compaan
  2002-11-30 11:53 ` Abraham van der Merwe
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: =?unknown-8bit?q?Roch=C3=A9?= Compaan @ 2002-11-30 10:41 UTC (permalink / raw)
  To: lartc

Hi there

I just had a data line installed between my home and the office. I've
managed to connect the two sides successfully with ppp and the gateways
on both sides can see each other. I want the hosts behind the
gateways to see each other as well and although this is discussed in
some howtos I couldn't get this right and need some help with the
routing.

Here's my setup:

    At home I have a 192.168.2.0 network and at the office I have a
    192.168.1.0 network.

    The gateway at home is 192.168.2.10 and at the office it is
    192.168.1.10.

    My routing table at home looks like this:

Destination  Gateway      Genmask         Flags Metric Ref Use Iface
192.168.1.10 0.0.0.0      255.255.255.255 UH    0      0     0 ppp0
192.168.2.0  0.0.0.0      255.255.255.0   U     0      0     0 eth0
192.168.1.0  192.168.1.10 255.255.255.0   UG    0      0     0 ppp0
0.0.0.0      0.0.0.0      0.0.0.0         U     0      0     0 ppp0

    My routing table at work looks like this:

Destination  Gateway      Genmask         Flags Metric Ref Use Iface
192.168.1.1  0.0.0.0      255.255.255.255 UH    0      0     0 eth1
192.168.2.10 0.0.0.0      255.255.255.255 UH    0      0     0 ppp0
196.x.y.51   0.0.0.0      255.255.255.255 UH    0      0     0 eth0
196.x.y.48   0.0.0.0      255.255.255.240 U     0      0     0 eth0
192.168.2.0  192.168.2.10 255.255.255.0   UG    0      0     0 ppp0
192.168.1.0  0.0.0.0      255.255.255.0   U     0      0     0 eth1
127.0.0.0    0.0.0.0      255.0.0.0       U     0      0     0 lo
0.0.0.0      196.44.35.49 0.0.0.0         UG    0      0     0 eth0

    Here eth0 is connected to my ISP and eth1 is connect to the local
    lan.

Now if I am logged in at 192.168.1.10 (the gateway at the office) and
try to ping a host behind the gateway at home (eg. 192.168.2.2) then it
looks like the packets make it to that host but 192.168.2.2 cannot
locate host 192.168.1.10 and can therefor not send the echo reply.

192.168.2.2 has 192.168.2.1 as gateway.

Any ideas what might be wrong?

-- 
Roché Compaan
Upfront Systems                 http://www.upfrontsystems.co.za
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-12-01  7:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-30 10:41 [LARTC] Linking two networks =?unknown-8bit?q?Roch=C3=A9?= Compaan
2002-11-30 11:53 ` Abraham van der Merwe
2002-11-30 12:13 ` =?unknown-8bit?q?Roch=C3=A9?= Compaan
2002-11-30 12:37 ` Abraham van der Merwe
2002-11-30 12:46 ` =?unknown-8bit?q?Roch=C3=A9?= Compaan
2002-12-01  7:06 ` =?unknown-8bit?q?Roch=C3=A9?= Compaan
2002-12-01  7:11 ` =?unknown-8bit?q?Roch=C3=A9?= Compaan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.