mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
New var wan_try_dhcp_before_static_ip
This commit is contained in:
parent
c495fe6f02
commit
0b0268ea5e
1 changed files with 2 additions and 13 deletions
|
@ -6,24 +6,13 @@
|
|||
# ports_externally_visible: 3
|
||||
# https://github.com/iiab/iiab/wiki/IIAB-Networking#firewall-iptables
|
||||
|
||||
# Ethernet - IF NECESSARY, CUSTOMIZE THESE 4+3 VARS IN /etc/iiab/local_vars.yml
|
||||
#
|
||||
# Ethernet - IF NECESSARY, CUSTOMIZE THESE 4+1 VARS IN /etc/iiab/local_vars.yml
|
||||
# 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_can_use_dhcp_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 <wan_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 <wan_ip> (if 'arp <wan_gateway>' 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.
|
||||
# wan_try_dhcp_before_static_ip: True # Facilitate field updates w/ cablemodems
|
||||
# Details @ roles/network/templates/network/dhcpcd.conf.j2 for /etc/dhcpcd.conf
|
||||
|
||||
# Wi-Fi - IF NECESSARY, CUSTOMIZE THESE 6 VARIABLES IN /etc/iiab/local_vars.yml
|
||||
|
|
Loading…
Reference in a new issue