Off-Topic: IPIP Tunneling configuration

From: Christopher Fisk (chrisf@mhonline.net)
Date: Fri Apr 28 2000 - 12:07:38 EST


Hi,

I've searched the net and just can't find any good information on setting
up an IPIP Tunneling configuation between 2 networks. If you have any
documents that would help please forward me the link.

Here is the situation:

192.168.100.0/24 -- Linux R1 -- Inet -- Linux R2 -- 192.168.200.0/24

Linux Router 1 has 2 ethernet cards, with private address of
192.168.100.254 and public address of 111.222.333.444

Linux router 2 has 2 ethernet cards, with private address of
192.168.200.254 and public address of 444.333.222.111

Kernel 2.2.14 on each of them.

I need to tunnel all traffic from the Private space behind Linux Router 1
to the private space behind linux router 2 across the internet.

So I issue the following commands on Linux Router 1:

insmod ipip
ifconfig 192.168.100.254 tunl0 up
ip route add -net 192.168.200.0/24 gw 444.333.222.111 tunl0

at this point I get an error saying no route to host.

What am i doing wrong?

Thanks,

Chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:15 EST