IP tunneling

From: Vilius Benetis (beneti@ttl.ktu.lt)
Date: Tue Jan 25 2000 - 08:29:20 EST


Hello,

  Can somebody share the experience how to implement the IP tunneling in
the routed enviroment (in two different korners of the MAN I have masq'ed
networks what I need to interconnect).

  I've tried run IPoIP according instructions in NET3-4-HOWTO:
6.8.1. A tunneled network configuration.

          ifconfig tunl0 192.168.1.1 up
          route add -net 192.168.2.0 netmask $mask gw $remotegw tunl0

But the route command says:

SIOCADDRT: Network is unreachable

And citation from route(8):

       gw Gw Any IP packets for the target network/host will be
              routed through the specified gateway. NOTE: The
              specified gateway must be reachable first. This
              usually means that you have to set up a static
              route to the gateway beforehand. If you specify the
              address of one of your local interfaces, it will be
              used to decide about the interface to which the
              packets should be routed to. This is a BSDism com-
              patibility hack.

  (I've tried to put static route to $remotegw, but this haven't solved
the problem).
-----------

  I'm running Linux 2.2.14 with slackware 7.0 and 4.0 distributions.

Any ideas? maybe it's possible only on 2 ends of ppp link?

Regards,
Vilius Benetis

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:32 EST