2 NETHOSTNAME='host.example.com'
5 # Net configuration (static|dhcp)
7 # IP v4 address with mask
8 NETADDRESS4=`printf '192.168.2.%d/24' $[RANDOM%253+2]`
10 NETGATEWAY4='192.168.2.1'
11 # You can use the following to help pick a random private IP subnet to use:
12 # http://simpledns.com/private-ipv6.aspx
13 # IP v6 address with mask
14 NETADDRESS6=`printf 'fd4b:842b:7f35:f1ba::%x/64' $[RANDOM%65534+2]`
16 NETGATEWAY6='fd4b:842b:7f35:f1ba::1'
18 NETDNS='8.8.8.8 8.8.4.4'
19 # MAC address ('42:de:ad:00:be:ef')
20 NETMAC=`printf '%02x:%02x:%02x:%02x:%02x:%02x' $[RANDOM%256] $[RANDOM%256] $[RANDOM%256] $[RANDOM%256] $[RANDOM%256] $[RANDOM%256]`