NETADDRESS4=`printf '192.168.2.%d/24' $[RANDOM%253+2]`
# IP v4 gateway
NETGATEWAY4='192.168.2.1'
+# You can use the following to help pick a random private IP subnet to use:
+# http://simpledns.com/private-ipv6.aspx
# IP v6 address with mask
NETADDRESS6=`printf 'fd4b:842b:7f35:f1ba::%x/64' $[RANDOM%65534+2]`
# IP v6 gateway