summaryrefslogtreecommitdiffstats
path: root/ax25rtd/ax25rtd.conf
blob: 252b39453a0a4a0c3d1e62db7c9e5d7b6938ea53 (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
# 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 256
ip-maxroutes   256
#
# 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