Linux-Hams archive - September 1998: Need IPIP encap help on gateway

Need IPIP encap help on gateway

Kyle Rhorer (figw@brandx.net)
Fri, 4 Sep 1998 10:17:01 -0500 (CDT)


Hi all,

I need help with IPIP encapsulation. I operate an Internet<->AMPRnet
gateway using the kernel IP services (no xNOS). I've written a program to
convert the encap.txt file into a set of route add commands, and they seem
to work just fine. Packets bound for net-44 addresses seem to be handled
properly.

The problem is, packets that come in off the air from one of our local 44
addresses and are bound for non-44 addresses are put on the Ethernet
as-is, without being encapsulated to 44.0.0.1 first. Our ISP doesn't like
that. I can't put a default route in to force all packets to be
encapsulated, because then I wouldn't be able to send/receive email, serve
web pages, etc. to non-44 addresses.

Is there a way to force packets coming in on the AX.25 interface to be
encapsulated before going out the Ethernet, without causing packets
originating from the gateway's own address to be encapsulated?

73 & Tnx,
Kyle

-- 
                      "Spray paint the vegetables"
                                       -Beck

Kyle Rhorer <vqd@rele.tunk.net> http://www.clarc.org/~rhorer/