Debian Codegraph @

ax25rtd/ax25rtd.conf

raw symbols SCIP
1 # Example configuration for ax25rtd. I'm assuming that you have a central
2 # node with two interfaces serving the same subnet (this is my personal
3 # setup).
4 #
5 # For a general discussion of each parameter see ax25rtd/README.
6 #
7 # General setup
8 # =============
9 #
10 # The size of the caches. When the cache is full, the oldest entry
11 # gets removed.
12 #
13 ax25-maxroutes 4096
14 ip-maxroutes 4096
15 #
16 #iproute2-table radio
17 # iproute2-table: name of the kernel routing table. This is an advanced
18 # routing feature. If you do not need it, just leave this setting as is.
19 # The current implementation depends on iproute2 (anyone like to code it
20 # directly?).
21 # If not set or empty, routes are set in the normal, default, manner.
22 # Please configure /etc/iproute2/rt_protos with
23 # 44 ax25rtd
24 # and /etc/iproute2/rt_tables with
25 # 210 radio
26 # where "radio" is the name of the table, (for the configuration option below).
27 #
28 #ip-encaps-dev ipax0
29 # This option was for a patched kernel of the 2.2.x series. Multiple interfaces
30 # interfaces were aggregated to one interface when sending IP frames.
31 #
32 # Port config
33 # ===========
34 #
35 # Note that you *must* specify the symbolic port
36 # name as defined in axports, not the device names. Personally, I like
37 # them to be identical.
38 #
39 # This is my 56kbps port (pi0a). It is the default interface and has a
40 # static network route pointing to it. All users access this interface
41 # directly and *not* via digipeaters.
42 #
43 [pi0a]
44 #
45 # Since all users access this interface directly, I don't need any
46 # AX.25 routes here.
47 #
48 ax25-learn-routes no
49 #
50 # The internal cache should only learn from frames directed to me.
51 #
52 ax25-learn-only-mine yes
53 #
54 # Here you could specify a digipeater path added to every learned route
55 # that has no digipeaters.
56 #
57 # ax25-add-path oe1xxx
58 #
59 # Since ax25rtd will learn only frames directed to the interface
60 # callsign or one of our listeners we can specify additional mycalls.
61 #
62 # ax25-more-mycalls oe1xxx
63 #
64 # We already have a static network route to this interface and don't need
65 # to learn any host route.
66 #
67 ip-learn-routes no
68 #
69 # I really don't like to change the mode.
70 #
71 ip-adjust-mode no
72 #
73 # ARP is correctly handled by the kernel on this interface (no digipeaters).
74 #
75 arp-add no
76 #
77 # Here is my second port (ax0). It is the "optional" interface. Any user
78 # accessing my system on this interface causes the following entries to
79 # be added:
80 #
81 # - IP host route
82 # - ARP entry
83 # - AX.25 route
84 #
85 # The nice feature is that the host route overrides the network route to
86 # the default interface, allowing this setup to work. Note also that users
87 # may access this interface via digipeaters.
88 # If a user switches back to the default interface, the IP host route is
89 # automatically deleted. The other entries remain, but this is not a
90 # problem.
91 #
92 [ax0]
93 #
94 ax25-learn-routes yes
95 ax25-learn-only-mine yes
96 ip-learn-routes yes
97 ip-adjust-mode no
98 arp-add yes