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:
parent
c6a82dbcfe
commit
2a41699daf
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue