lkml.org 
[lkml]   [1998]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: IPIP tunnel
On Tue, 10 Nov 1998, Tomas Buday wrote:

> this is how my tunnel works betwwen two machines:
>
> machine 1
> ---------
>
> ifconfig tunl0 192.168.1.2 pointopoint 15.188.34.122
> route add -net 192.168.1.0 tunl0

I have a small question about this in development kernels. If I set up
tunneling exactly the above way it doesn't work. I tried to tcpdump the
network, but encapsulated packets are not even sent. ifconfig-ing tunl0
up, adds a route entry, routing the destination pointopoint address
through the tunl0 device, which is obviously wrong. (or I am absolutely
clueless)

having a glance at the source, I thought I need a userspace program,
which uses the SIOCADDTUNNEL ioctl to set up destination address. If this
is true, where could I find this program?

--- Bazsi


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

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.043 / U:2.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site