dhcpd: No need to use shared-networks
This commit is contained in:
parent
ea3c05c2b5
commit
abedf6102a
4 changed files with 33 additions and 41 deletions
|
@ -43,18 +43,16 @@ class "OpenBSD" {
|
|||
filename "auto_install";
|
||||
}
|
||||
|
||||
shared-network FOOSH {
|
||||
subnet 172.20.20.0 netmask 255.255.252.0 {
|
||||
default-lease-time 86400;
|
||||
max-lease-time 604800;
|
||||
option subnet-mask 255.255.252.0;
|
||||
option broadcast-address 172.20.23.255;
|
||||
option routers 172.20.20.1;
|
||||
subnet 172.20.20.0 netmask 255.255.252.0 {
|
||||
default-lease-time 86400;
|
||||
max-lease-time 604800;
|
||||
option subnet-mask 255.255.252.0;
|
||||
option broadcast-address 172.20.23.255;
|
||||
option routers 172.20.20.1;
|
||||
|
||||
option domain-name "home.foo.sh";
|
||||
option domain-name-servers 172.20.20.10, 172.20.20.11, 172.20.20.12;
|
||||
use-host-decl-names on;
|
||||
}
|
||||
option domain-name "home.foo.sh";
|
||||
option domain-name-servers 172.20.20.10, 172.20.20.11, 172.20.20.12;
|
||||
use-host-decl-names on;
|
||||
}
|
||||
|
||||
{% for hostname in hostvars %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue