--- Steve Meuse <[EMAIL PROTECTED]> wrote:
> 
> Has anyone been able to sucessfully get IPIP encapsulation to work on
> a
> 2.2.x kernel? 

Yes, but it's a little tricky.

Here's an example (the gateway address is 128.123.7.33, the amprnet is
44.30.2.0 with a netmask of 255.255.255.192)

Add a host route (via tunl0) for the remote gateway:

route add -host 128.123.7.33 dev tunl0

Then add the network statement:

route add -net 44.30.2.0 netmask 255.255.255.192 gw 128.123.7.33 dev
tunl0

Then remove the host route, so the packets will be routed after being
encapsulated:

route del -host 128.123.7.33 dev tunl0

You will have to use three statements for each encapsulated route.

Byron L. Hicks


===
------------------------------------------------------------
Byron L. Hicks - KC5QNX
[EMAIL PROTECTED]
------------------------------------------------------------
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to