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