summaryrefslogtreecommitdiff
path: root/etc/optional/ipv6/wpa_supplicant/appliance/radvd.conf.sample
diff options
context:
space:
mode:
authorPÁLI Gábor János <pali.gabor@gmail.com>2023-09-04 03:41:39 +0200
committerPÁLI Gábor János <pali.gabor@gmail.com>2023-09-26 11:53:45 +0200
commitf84e6eb88ad194dcfbff23e4df1e4ad55b99fc24 (patch)
treeb40502b998d664bb133bc416d9d926a34ffd07f4 /etc/optional/ipv6/wpa_supplicant/appliance/radvd.conf.sample
parent513595d09f7a15e3541a4f11bc29a3d6529188d8 (diff)
downloadfreebsd-wifibox-alpine-f84e6eb88ad194dcfbff23e4df1e4ad55b99fc24.zip
etc: add configuration file samples for IPv6
Diffstat (limited to 'etc/optional/ipv6/wpa_supplicant/appliance/radvd.conf.sample')
-rw-r--r--etc/optional/ipv6/wpa_supplicant/appliance/radvd.conf.sample24
1 files changed, 24 insertions, 0 deletions
diff --git a/etc/optional/ipv6/wpa_supplicant/appliance/radvd.conf.sample b/etc/optional/ipv6/wpa_supplicant/appliance/radvd.conf.sample
new file mode 100644
index 0000000..36dd04e
--- /dev/null
+++ b/etc/optional/ipv6/wpa_supplicant/appliance/radvd.conf.sample
@@ -0,0 +1,24 @@
+# This is the radvd(8) configuration file, which is the IPv6 Router
+# Advertisement Daemon. It listens to router solicitations and sends
+# router advertisements as described in "Neighbor Discovery for IP
+# Version 6 (IPv6)" (RFC 4861). See https://manpages.org/radvdconf/5
+# for more information on the details.
+#
+# At the RDNSS section, the `%%DNS%%` variable would be replaced with
+# the IPv6 address of the DNS servers as provided by the wireless
+# network (wifibox extension).
+
+interface eth0
+{
+ AdvSendAdvert on;
+ AdvManagedFlag on;
+ prefix ::/64
+ {
+ AdvOnLink on;
+ AdvAutonomous on;
+ AdvRouterAddr on;
+ };
+
+ RDNSS %%DNS%% 2001:4860:4860::8888 2001:4860:4860::8844 {
+ };
+};