summaryrefslogtreecommitdiffstats
path: root/rc.inet1.conf
diff options
context:
space:
mode:
authorDarren 'Tadgy' Austin <darren@afterdark.org.uk>2019-11-05 23:28:16 +0000
committerRobby Workman <rworkman@slackware.com>2019-11-06 19:52:24 -0600
commit031f41b62e9761276b2964840c22d6c6666f83be (patch)
tree7a69fbac1d628e132429e827f3536d298d123708 /rc.inet1.conf
parent1d676fa5d040e268869927de2f0293d7820a3b0f (diff)
downloadslacknetsetup-031f41b62e9761276b2964840c22d6c6666f83be.tar.xz
New configuration methodology - see full commit log.
It occurred to me that IPv6 addresses don't really need to have IP6ALIASES since all IPs are just added to the interface itself. So I've changed the syntax from using IP6ADDR + PREFIXLEN + IP6ALIASES to using just a single IP6ADDRS array, which takes a list of IP addresses with a prefix length in a space separated list. eg: IP6ADDRS[0]="a:b:c:d::1/64 1:2:3::1/48" If the prefix length is omitted a /64 length is assumed and a warning emitted.
Diffstat (limited to 'rc.inet1.conf')
-rw-r--r--rc.inet1.conf8
1 files changed, 2 insertions, 6 deletions
diff --git a/rc.inet1.conf b/rc.inet1.conf
index 2e2a0be..73ced0f 100644
--- a/rc.inet1.conf
+++ b/rc.inet1.conf
@@ -51,16 +51,12 @@ GATEWAY=""
# =============================================================================
# IPv6 config information for eth0:
-IP6ADDR[0]=""
-PREFIXLEN[0]=""
-IP6ALIASES[0]=""
+IP6ADDRS[0]=""
USE_SLAAC[0]=""
USE_DHCP6[0]=""
# IPv6 config information for eth1:
-IP6ADDR[1]=""
-PREFIXLEN[1]=""
-IP6ALIASES[1]=""
+IP6ADDRS[1]=""
USE_SLAAC[1]=""
USE_DHCP6[1]=""