Ip over ip encapsulation; IP tunneling

Marcos Cabral (mcr@ism.com.br)
Wed, 21 Oct 1998 12:36:25 -0200


Hello People from linux-kernel and linux-net

I'm trying to use IP tunneling in linux (ip-over-ip encapsulation).

I'm using kernel 2.0.35, and have compiled with the necessary
options to use IP-Tunneling.

But, the devices tunl0 and tunl1 were not created in /dev
so I can not issues command concerning these devices.

I read in /usr/src/linux/drivers/net/README.tunnel
about loading ipip.o and tunnel.o (actually new_tunnel.o)
with insmod.

I have /usr/src/linux/net/ipv4/ipip.o
and /usr/src/linux/drivers/net/new_tunnel.o

When I try to run insmod, it gives em the following
answer:

>> # insmod /usr/src/linux/net/ipv4/ipip.o
>> kernel_version needed, but can't be found
>> #

Tha same happens with new_tunnel.o.

I couldn't go further. I also read somewhere else
that I should look the file /proc/net/dev.

I did so and the contents are shown below
># cat /proc/net/dev
>Inter-| Receive | Transmit
> face |packets errs drop fifo frame|packets errs drop fifo colls carrier
> lo: 8682 0 0 0 0 8682 0 0 0 0 0
> tunl0: 0 0 0 0 0 0 0 0 0 0 0
> tunl1: 0 0 0 0 0 0 0 0 0 0 0
> eth0: 883946 0 0 0 0 729972 0 0 0 11904 0
>eth0:1: 399885 0 0 0 0 312378 0 0 0 0 0
> eth1: 0 0 0 0 0 0 0 0 0 0 0
>#
the devices tunl0 and tunl0 apear in the file, but
not in /dev.

I stop here and don't know to go further.

Hope you can give me any help.

Thanks a lot!
Marcos Cabral
ISM - Rio de Janeiro - Brasil

----------------------------------------------------
Marcos Cabral <mcr@ism.com.br>
Gerente Tecnico ISMNet <suporte@ism.com.br>
Tel: (021) 533-3937 http://www.ism.com.br/suporte
----------------------------------------------------

-
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/