From 457f6af2b697010ab03163bd282737d2b507b0ea Mon Sep 17 00:00:00 2001 From: A Holt Date: Mon, 2 Sep 2019 19:56:46 -0400 Subject: [PATCH] wan_ipv4ll -> wan_link_local --- vars/local_vars_min.yml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/vars/local_vars_min.yml b/vars/local_vars_min.yml index 70cb9a6a7..c0fa68769 100644 --- a/vars/local_vars_min.yml +++ b/vars/local_vars_min.yml @@ -40,6 +40,24 @@ host_channel: 6 hostapd_secure: False hostapd_password: changeme +# See "How do I set a static IP Address?" for Ethernet 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_try_dhcp_then_static_ip: True # Facilitate field updates w/ cablemodems. +dhcp_timeout: 10 # Revert to Static IP or 169.254.x.y if DHCP isn't +# detected on the Ethernet network in 10 seconds (dhcpcd default is 30 sec). +wan_link_local: False # Keep this as 'False' to strongly mandate Ethernet +# Static IP (and avoid link-local 169.254.x.y if DHCP isn't detected). +# +# Change this to 'True' if you want the 3-steps below: (e.g. for eth0 or eno1) +# 1. Try to set Ethernet Static IP (if 'arp ' responds). +# 2. Try to set Ethernet IP using DHCP, if DHCP responds within ~10 seconds. +# 3. Set Ethernet IP 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 + # Enable "campus access" to ~10 common IIAB services like Kiwix (3000), KA Lite # (8008) and Calibre (8010 or 8080) etc, on the WAN side of your IIAB server. # Only 1 of the 6 lines below should be uncommented: @@ -58,24 +76,6 @@ ports_externally_visible: 3 # ssh + http-or-https + common IIAB services # Make this True if client machines should have access to WAN/Internet: iiab_gateway_enabled: False -# See "How do I set a static IP Address?" for Ethernet in http://FAQ.IIAB.IO -# wan_ip: 192.168.1.99 # wan_ip: dhcp -# wan_netmask: 255.255.255.0 -# wan_gateway: 192.168.1.1 -# wan_nameserver: 192.168.1.1 -# -# wan_try_dhcp_then_static_ip: True # Facilitate field updates w/ cablemodems. -# dhcp_timeout: 10 # Revert to Static IP or 169.254.x.y if DHCP isn't -# detected on the Ethernet network in 10 seconds (dhcpcd default is 30 sec). -# wan_ipv4ll: False # Keep this as 'False' to strongly mandate Static IP -# for eth0 (and avoid link-local 169.254.x.y if DHCP isn't detected). -# -# 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 - dhcpd_install: False dhcpd_enabled: False