diff --git a/vars/default_vars.yml b/vars/default_vars.yml index 8d3400a65..cd76d47af 100644 --- a/vars/default_vars.yml +++ b/vars/default_vars.yml @@ -160,10 +160,22 @@ wondershaper_enabled: False # The following 2 override the detection when not "auto" user_wan_iface: auto user_lan_iface: auto -wan_ip: dhcp -wan_netmask: -wan_gateway: -wan_nameserver: + +# Ethernet - IF NECESSARY, CUSTOMIZE THESE 4+1 VARS IN /etc/iiab/local_vars.yml +# +# See "How do I set a static IP Address?" in http://FAQ.IIAB.IO +wan_ip: dhcp # wan_ip: 192.168.1.99 +wan_netmask: # wan_netmask: 255.255.255.0 +wan_gateway: # wan_gateway: 192.168.1.1 +wan_nameserver: # wan_nameserver: 192.168.1.1 +wan_ipV4LL: False # Keep this as 'False' to strongly mandate the Static IP +# for eth0 when no DHCP is detected on the wire. +# +# Change this to 'True' if you want the 3-steps below: +# 1. Try to set eth0 as Static IP (if 'arp ' responds). +# 2. Try to set eth0 using DHCP, if DHCP responds within 10 seconds. +# 3. Set eth0 to a link-local address 169.254.x.y if both above fail. +# Details in roles/network/templates/network/dhcpcd.conf.j2 for /etc/dhcpcd.conf # Parameters for Aggregate Roles