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:
parent
e415f3956c
commit
7abc3e2d68
1 changed files with 2 additions and 0 deletions
|
@ -9,7 +9,9 @@ option domain-name-servers 172.18.96.1;
|
||||||
option ntp-servers 172.18.96.1;
|
option ntp-servers 172.18.96.1;
|
||||||
|
|
||||||
subnet 172.18.96.0 netmask 255.255.224.0 {
|
subnet 172.18.96.0 netmask 255.255.224.0 {
|
||||||
|
{% if iiab_network_mode == "Gateway" %}
|
||||||
option routers 172.18.96.1;
|
option routers 172.18.96.1;
|
||||||
|
{% endif %}
|
||||||
option subnet-mask 255.255.224.0;
|
option subnet-mask 255.255.224.0;
|
||||||
option broadcast-address 172.18.127.255;
|
option broadcast-address 172.18.127.255;
|
||||||
# this is the whole range we have available - 8K addresses
|
# this is the whole range we have available - 8K addresses
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue