summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren 'Tadgy' Austin <darren@afterdark.org.uk>2020-11-27 14:09:09 +0000
committerRobby Workman <rworkman@slackware.com>2021-02-27 23:47:58 -0600
commite5fccd9c24b3ad117fa2eb841433d95245ec705b (patch)
treeccb9fe48fba6ca04c6f4632aa4413398c48906cc
parent76af13f21a0a0144ed1ab1294e8c0453784964f4 (diff)
downloadslacknetsetup-e5fccd9c24b3ad117fa2eb841433d95245ec705b.tar.xz
Give 2 examples for IP address entry syntax.
-rw-r--r--netconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/netconfig b/netconfig
index 4e9cf2b..b03a667 100644
--- a/netconfig
+++ b/netconfig
@@ -648,7 +648,7 @@ if [ "$LOOPBACK" = "no" -a ! "$USE_DHCP" = "yes" -a ! "$USE_SLAAC" = "yes" ]; th
space delimited, IPv4 addresses with netmasks in the format:
\Z1<IP address>/<CIDR netmask>\Zn
For example:
- 111.112.113.114/24
+ 111.112.113.114/24 or 111.112.113.114/24 10.0.1.114/8
Old style netmask 255.255.255.0 is equilivant of 24 in CIDR style.
If a netmask is not specified a default of 24 will be used.
@@ -744,7 +744,7 @@ Enter IPv4 gateway address:" 14 69 "$GATEWAY" 2> $TMP/SeTgateway4
space delimited, IPv6 addresses with their prefixes in the format:
\Z1<IP address>/<prefix>\Zn
For example:
- 11a:11b:11c:11d::abc/64
+ 1a:1b:1c:1d::abc/64 or 1a:1b:1c:1d::abc/64 fe80::2:3:4:abc/64
If a prefix is not specified a default of 64 will be used.
If you do not want to configure a static IPv6 address or don't