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:
parent
2b32a7de53
commit
3fabc9d951
1 changed files with 4 additions and 4 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue