Switch to mageia7
[distcook] / config / network.conf
1 # Server name
2 NETHOSTNAME='host.example.com'
3 # Server name alias
4 NETALIAS='host'
5 # Net configuration (static|dhcp)
6 NETCONFIG=static
7 # IP v4 address with mask
8 NETADDRESS4=`printf '192.168.2.%d/24' $[RANDOM%253+2]`
9 # IP v4 gateway
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]`
15 # IP v6 gateway
16 NETGATEWAY6='fd4b:842b:7f35:f1ba::1'
17 # DNS
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]`