(I previously asked this on the linux-hams list but got no response)
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?
If we had rule-based routing then the rule would be something like "if
packet is from interface ax0 destined for other than net 44 or our local
subnet, encapsulate to 44.0.0.1 and send out eth0".
73 & Tnx,
Kyle
--
"Spray paint the vegetables"
-Beck
Kyle Rhorer <rhorer@clarc.org>
http://www.clarc.org/~rhorer/
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu