DOKK / manpages / debian 11 / ax25-apps / ax25rtctl.8.en
AX25RTCTL(8) Linux Programmer's Manual AX25RTCTL(8)

ax25rtctl - AX.25 routing control program

ax25rtctl [options]

ax25rtctl is a program to control ax25rtd. There are several options:

Add an entry to the AX.25 routing table. If time is "0" this entry will be marked permanent, hence: the daemon will not overwrite this route.
Remove an entry from the AX.25 routing table.
Add an entry to the IP routing table. If time is "0" the entry will be marked permanent.
Remove an entry from the IP routing table.
Lists the content of the cache for the AX.25 routing table.
Lists the content of the cache for the IP routing table.
Removes the entries older than <minutes> from the caches and the kernel routing tables.
Saves the AX.25 and IP cache to /var/ax25/ax25rtd/ax25_routes and /var/ax25/ax25rtd/ip_routes (or the files specified in /etc/ax25/ax25rtd.conf).
Reloads the config file /etc/ax25/ax25rtd.conf. This will *not* affect the caches or the heard list.
Same as 'killall -TERM ax25rtd' ;-)
Prints version.

Note that you can specify either the port name (as defined in /etc/ax25/axports) or the interface name (shown by ifconfig). If names conflict (i.e. port scc0 is in fact interface scc3, and vica versa), the interface name has precedence over the port name. Example:


ax25rtctl --add ax25 dl0tha scc3 0 db0pra

is equivalent to


ax25rtctl --add ax25 dl0tha 9k6 0 dbpra

All commands return port names in their output, though. With one exception: ax25_routes and ip_routes use interface names.

/etc/ax25/ax25rtd.conf

ax25rtd.conf(5), ax25rtd(8).

Joerg Reuter <jreuter@poboxes.com>

Llaus Kudielka OE1KIB
11 November 2003 Linux