1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

wan_ipv4ll -> wan_link_local

This commit is contained in:
A Holt 2019-09-02 19:56:04 -04:00 committed by GitHub
parent 2b32a7de53
commit 3fabc9d951
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,11 +66,11 @@ static domain_name_servers={{ wan_nameserver }}
{% if wan_try_dhcp_then_static_ip == "true" %}
interface {{ iiab_wan_iface }}
{% if wan_ipv4ll == "false" %}
arping 192.0.2.1
fallback {{ wan_gateway }}
{% if wan_link_local == "false" %}
arping 192.0.2.1 # Set Ethernet IP per "cablemodem" DHCP, if DHCP's on wire (after arp request to non-existent IP 192.0.2.1 intentionally fails, per RFC5737)
fallback {{ wan_gateway }} # If DHCP not detected after <dhcp_timeout> seconds, set Ethernet Static IP per "profile <wan_gateway>"
{% else %}
arping {{ wan_gateway }}
arping {{ wan_gateway }} # Perform up to 3 steps: 1. arp <wan_gateway> (if detected, set Ethernet Static IP per "profile <wan_gateway>") 2. Set Ethernet IP per "cablemodem" DHCP, if DHCP's on wire 3. If nec, set Ethernet IP to a link-local address (169.254.x.y)
{% endif %}
{% endif %}
{% endif %}