summaryrefslogtreecommitdiff
path: root/etc/optional/ipv6/wpa_supplicant/appliance/interfaces.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/interfaces.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/interfaces.conf.sample')
-rw-r--r--etc/optional/ipv6/wpa_supplicant/appliance/interfaces.conf.sample25
1 files changed, 25 insertions, 0 deletions
diff --git a/etc/optional/ipv6/wpa_supplicant/appliance/interfaces.conf.sample b/etc/optional/ipv6/wpa_supplicant/appliance/interfaces.conf.sample
new file mode 100644
index 0000000..d4b44a7
--- /dev/null
+++ b/etc/optional/ipv6/wpa_supplicant/appliance/interfaces.conf.sample
@@ -0,0 +1,25 @@
+# This is an iface stanza for interfaces(5) with relatively sane
+# defaults. Consult http://manpages.org/etc-network-interfaces/5 for
+# more.
+#
+# The `eth0` networking interface represents the virtual Ethernet card
+# of the guest, which would be the default gateway for the host.
+# Change these values only if the 10.0.0.0/24 IPv4 network is not
+# suitable.
+
+iface eth0 inet static
+ address 10.0.0.1
+ netmask 255.255.255.0
+
+# This is the default IPv6 address and prefix for `eth0`. Change this
+# value only if the fd00::/64 IPv6 network is not suitable.
+
+iface eth0 inet6 static
+ address fd00::ffff/64
+
+# The `wlan0` networking interface is associated with the wireless
+# networking card as it is exposed by the driver. By this default
+# configuration, the corresponding IP address is obtained through the
+# use of DHCP. This should just work for most of the cases.
+
+iface wlan0 dhcp