add rad.conf example
authorjasper <jasper@openbsd.org>
Tue, 24 Jul 2018 18:15:30 +0000 (18:15 +0000)
committerjasper <jasper@openbsd.org>
Tue, 24 Jul 2018 18:15:30 +0000 (18:15 +0000)
ok florian@

etc/Makefile
etc/examples/rad.conf [new file with mode: 0644]

index d07865c..d233ab0 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile,v 1.464 2018/07/23 11:56:02 florian Exp $
+#      $OpenBSD: Makefile,v 1.465 2018/07/24 18:15:30 jasper Exp $
 
 .include <bsd.own.mk>
 
@@ -47,7 +47,7 @@ MUTABLE=acme-client.conf changelist daily etc.${MACHINE}/disktab \
 # -rw-r--r--
 EXAMPLES=chio.conf dhclient.conf dhcpd.conf exports \
        httpd.conf ifstated.conf inetd.conf man.conf mixerctl.conf \
-       mrouted.conf ntpd.conf printcap rbootd.conf \
+       mrouted.conf ntpd.conf printcap rad.conf rbootd.conf \
        remote sensorsd.conf wsconsctl.conf
 
 # -rw-------
diff --git a/etc/examples/rad.conf b/etc/examples/rad.conf
new file mode 100644 (file)
index 0000000..7104cb8
--- /dev/null
@@ -0,0 +1,14 @@
+# $OpenBSD: rad.conf,v 1.1 2018/07/24 18:15:31 jasper Exp $
+
+# The most simple configuration is a single interface section which uses the
+# interface IPv6 address to discover the prefix to announce.
+#interface em0
+
+# A slightly more complex case sets a prefix and basic DNS options.
+interface em1 {
+       prefix 2001:db8::/32
+       dns {
+               resolver 2001:db8::53
+               search example.org
+       }
+}