1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

wan_try_dhcp_then_static_ip -> wan_can_use_dhcp_ip

This commit is contained in:
A Holt 2019-09-02 20:12:00 -04:00 committed by GitHub
parent c6a82dbcfe
commit 2a41699daf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,7 @@ static ip_address={{ wan_ip }}/24
static routers={{ wan_gateway }}
static domain_name_servers={{ wan_nameserver }}
{% if wan_try_dhcp_then_static_ip == "true" %}
{% if wan_can_use_dhcp_ip == "true" %}
interface {{ iiab_wan_iface }}
{% 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)