1AX25RTCTL(8) Linux Programmer's Manual AX25RTCTL(8)
2
3
4
6 ax25rtctl - AX.25 routing control program
7
9 ax25rtctl [options]
10
12 ax25rtctl is a program to control ax25rtd. There are several options:
13
14 -a, --add ax25 <callsign> <dev> <time> [digipeater]
15 Add an entry to the AX.25 routing table. If time is "0" this
16 entry will be marked permanent, hence: the daemon will not over‐
17 write this route.
18
19 -d, --del ax25 <callsign> <dev>
20 Remove an entry from the AX.25 routing table.
21
22 -a, --add ip <ip> <dev> <time> <call> <ipmode>
23 Add an entry to the IP routing table. If time is "0" the entry
24 will be marked permanent.
25
26 -d, --del ip <ip>
27 Remove an entry from the IP routing table.
28
29 -l, --list ax25
30 Lists the content of the cache for the AX.25 routing table.
31
32 -l, --list ip
33 Lists the content of the cache for the IP routing table.
34
35 -e, --expire <minutes>
36 Removes the entries older than <minutes> from the caches and the
37 kernel routing tables.
38
39 -s, --save
40 Saves the AX.25 and IP cache to /var/ax25/ax25rtd/ax25_routes
41 and /var/ax25/ax25rtd/ip_routes (or the files specified in
42 /etc/ax25/ax25rtd.conf).
43
44 -r, --reload
45 Reloads the config file /etc/ax25/ax25rtd.conf. This will *not*
46 affect the caches or the heard list.
47
48 -q, --shutdown
49 Same as 'killall -TERM ax25rtd' ;-)
50
51 -V, --version
52 Prints version.
53
54 Note that you can specify either the port name (as defined in
55 /etc/ax25/axports) or the interface name (shown by ifconfig). If names
56 conflict (i.e. port scc0 is in fact interface scc3, and vica versa),
57 the interface name has precedence over the port name. Example:
58
59 ax25rtctl --add ax25 dl0tha scc3 0 db0pra
60
61 is equivalent to
62
63 ax25rtctl --add ax25 dl0tha 9k6 0 dbpra
64
65 All commands return port names in their output, though. With one
66 exception: ax25_routes and ip_routes use interface names.
67
68
70 /etc/ax25/ax25rtd.conf
71
73 ax25rtd.conf(5), ax25rtd(8).
74
76 Joerg Reuter <jreuter@poboxes.com>
77 Llaus Kudielka OE1KIB
78
79
80
81Linux 11 November 2003 AX25RTCTL(8)