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

Don't supply default gateway while in LanController mode (#130)

This commit is contained in:
Jerry Vonau 2017-07-17 14:19:01 -05:00 committed by georgejhunt
parent e415f3956c
commit 7abc3e2d68

View file

@ -9,7 +9,9 @@ option domain-name-servers 172.18.96.1;
option ntp-servers 172.18.96.1;
subnet 172.18.96.0 netmask 255.255.224.0 {
{% if iiab_network_mode == "Gateway" %}
option routers 172.18.96.1;
{% endif %}
option subnet-mask 255.255.224.0;
option broadcast-address 172.18.127.255;
# this is the whole range we have available - 8K addresses