We have some problems with IP aliasing on AX.25 interfaces in our HAM IP
network.
After I configure master and alias network interface (device) with
# ifconfig pi0a <ip1> netmask <netmask> broadcast <broadcast1>
# ifconfig pi0a:0 <ip2> netmask <netmask> broadcast <broadcast2>
I setup routes for both IP networks with
# route add -net <net1> netmask <netmask> dev pi0a
# route add -net <net2> netmask <netmask> dev pi0a:0
Then we have a machine on <net2> network which is not accessible directly,
but is accessible via AX.25 digipeater. Unfortunately I can't setup AX.25
routing for pi0a:0 interface. axparms does not allow such form:
# axparms -route add pi0a:0 <callsign> <digi_callsign>
Command
# axparms -route add pi0a <callsign> <digi_callsign>
also doesn't help, because kernel does not follow AX.25 routing in pi0a
interface if IP packet is routed via pi0a:0 interface.
I think there is at least one of these two bugs in te system:
- axparms should allow AX.25 routing on alias network interfaces
- kernel should follow AX.25 routing specified for master network
interface for all its alias network interfaces
I'm using 2.0.30 kernel + ax25-module-14c + ax25-utils-2.1.42.
So, any idea how to solve our problem?
Regards,
Ales, S56SAC
-- Ales Casar | InterNet: gjjldq.lpihud@bullrunmountain.org, vcosk.gyaxn@gbs-bg.com, Faculty of EE & CS | ywb@megatrondata.com University of Maribor | DECnet: RCUM::ALES SLOVENIA | WWW: http://www.el.feri.uni-mb.si/~ales/