summaryrefslogtreecommitdiffstats
path: root/ax25rtd/ax25rtd.conf
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-06-07 10:23:42 +0200
committerRalf Baechle <ralf@linux-mips.org>1999-06-07 10:23:42 +0200
commit0fceb64d25ff3d9586549bb43d971c5eef904330 (patch)
treed4799d0fd53a3d8ae342c84f8ad4fb2ca2f14de0 /ax25rtd/ax25rtd.conf
Import ax25-apps 0.0.1 from tarballax25-apps-0.0.1
Diffstat (limited to 'ax25rtd/ax25rtd.conf')
-rw-r--r--ax25rtd/ax25rtd.conf82
1 files changed, 82 insertions, 0 deletions
diff --git a/ax25rtd/ax25rtd.conf b/ax25rtd/ax25rtd.conf
new file mode 100644
index 0000000..47111a9
--- /dev/null
+++ b/ax25rtd/ax25rtd.conf
@@ -0,0 +1,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
+ax24-learn-only-mine yes
+ip-learn-routes yes
+ip-adjust-mode no
+arp-add yes