Has anyone been able to sucessfully get IPIP encapsulation to work on a
2.2.x kernel?
Whenever I try to add an encap route (for lack of a better term) I get the
following:
# uname -a
Linux davros 2.2.9 #5 Sun Jul 4 23:18:48 EDT 1999 i686 unknown
# route add -net 44.104.0.0 gw 146.115.236.252 netmask 255.255.255.0 dev tunl0
SIOCADDRT: Network is unreachable
#
#
# ifconfig tunl0
tunl0 Link encap:IPIP Tunnel HWaddr
inet addr:199.64.139.2 Mask:255.255.255.128
UP RUNNING NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:29 dropped:0 overruns:0 carrier:0
Collisions:29
It looks like it wants a valid next-hop, on a directly connected network.
Other info:
I have IP forwarding enabled
I compiled IPIP support directly into the kernel, not as a module (I tested
the module as well)
Is IPIP encapsulation handled differently from 2.0.X to 2.2.X? I tried
digging around for information, but didn't see anything. I also tried to
look a the source, but didn't see anything relavant (not suprised with my
level of coding experience).
What am I missing?
-Steve