mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
missed two changes to mask from 224 to 255
This commit is contained in:
parent
5faa5d0ca0
commit
d7d7270e21
2 changed files with 8 additions and 0 deletions
|
@ -58,7 +58,11 @@ denyinterfaces {{ iiab_wired_lan_iface }}
|
||||||
|
|
||||||
{% if dhcpcd_result == "enabled" and iiab_lan_iface != "none" %}
|
{% if dhcpcd_result == "enabled" and iiab_lan_iface != "none" %}
|
||||||
interface {{ iiab_lan_iface }}
|
interface {{ iiab_lan_iface }}
|
||||||
|
{% if network_172 %}
|
||||||
static ip_address={{ lan_ip }}/19
|
static ip_address={{ lan_ip }}/19
|
||||||
|
{% else %}
|
||||||
|
static ip_address={{ lan_ip }}/24
|
||||||
|
{% endif %}
|
||||||
static domain_name_servers=127.0.0.1
|
static domain_name_servers=127.0.0.1
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,11 @@
|
||||||
Name=br0
|
Name=br0
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
|
{% if network_172 %}
|
||||||
Address={{ lan_ip }}/19
|
Address={{ lan_ip }}/19
|
||||||
|
{% else %}
|
||||||
|
Address={{ lan_ip }}/24
|
||||||
|
{% endif %}
|
||||||
LinkLocalAddressing=no
|
LinkLocalAddressing=no
|
||||||
ConfigureWithoutCarrier=yes
|
ConfigureWithoutCarrier=yes
|
||||||
RequiredForOnline=degraded-carrier
|
RequiredForOnline=degraded-carrier
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue