Linux-Hams archive - August 1997: Re: ax25-howto question

Re: ax25-howto question

Terry Dawson (aigyfg.jrwxpms@hamradio.biaman.pl)
Tue, 05 Aug 1997 08:36:22 +1000


koadln.kdexl@mailit.tunk.net wrote:

> I have a question concerning 22.1. of the ax25-howto.. (latest I think)
> linux here has 2 links: eth0 and bc1 both as 44.144.8.60
> connections via bc1 (radio) work alright.
>
> now i'd like to connect a jnos system to it via eth0.
> it's called 44.144.8.58 (jnos). From linux to jnos and visa versa no prob.
> But from jnos to the outside of the world nothing !
> from the outside to jnos also nothing..
>
> I'm not familiar with those netmask stuff like in that 22.1 section.. so
> I guess there is the problem. I don't need to route a whole lan system. only one ipnr..

So just add a host route instead of a network route:

You should already have something like:
route add -net 44.144.8.60 netmask 255.255.255.0 bc0

So add:
route add -host 44.144.8.58 eth0

and you'll need to either get everyone to route to 44.144.8.58
via your bc0 interface, or you can use a Proxy-ARP to let people
know about it:

arp -H ax25 -s 44.144.8.58 <your bc0 ax.25 callsign>

regards
Terry