Change client network gateways.

This commit is contained in:
Markus 2017-01-23 19:26:35 +01:00
parent 46889c110b
commit 30fd032a59
4 changed files with 9 additions and 9 deletions

View File

@ -5,8 +5,8 @@ dhcpd_primary: 172.23.2.3
dhcpd_secondary: 172.23.2.4 dhcpd_secondary: 172.23.2.4
name_servers: name_servers:
- 172.23.2.1
- 172.23.2.3 - 172.23.2.3
- 172.23.2.4
ntp_servers: ntp_servers:
- 172.23.1.61 - 172.23.1.61

View File

@ -57,7 +57,7 @@ subnet 172.23.2.0 netmask 255.255.255.0 {
# Members # Members
subnet 172.23.3.0 netmask 255.255.255.0 { subnet 172.23.3.0 netmask 255.255.255.0 {
option routers 172.23.3.254; option routers 172.23.3.1;
pool { pool {
{% if dhcpd_failover == true %} {% if dhcpd_failover == true %}
failover peer "failover-partner"; failover peer "failover-partner";
@ -68,7 +68,7 @@ subnet 172.23.3.0 netmask 255.255.255.0 {
# Guests # Guests
subnet 172.23.4.0 netmask 255.255.255.0 { subnet 172.23.4.0 netmask 255.255.255.0 {
option routers 172.23.4.254; option routers 172.23.4.1;
pool { pool {
{% if dhcpd_failover == true %} {% if dhcpd_failover == true %}
failover peer "failover-partner"; failover peer "failover-partner";

View File

@ -1,7 +1,7 @@
$ORIGIN 23.172.in-addr.arpa. ; base for unqualified names $ORIGIN 23.172.in-addr.arpa. ; base for unqualified names
$TTL 1h ; default time-to-live $TTL 1h ; default time-to-live
@ IN SOA ns.binary.kitchen. hostmaster.binary.kitchen. ( @ IN SOA ns.binary.kitchen. hostmaster.binary.kitchen. (
2017012301; serial 2017012302; serial
1d; refresh 1d; refresh
2h; retry 2h; retry
4w; expire 4w; expire
@ -30,11 +30,11 @@ $TTL 1h ; default time-to-live
91.2 IN PTR spiegelei.binary.kitchen. 91.2 IN PTR spiegelei.binary.kitchen.
254.2 IN PTR v2302.core.binary.kitchen. 254.2 IN PTR v2302.core.binary.kitchen.
; Members ; Members
1.3 IN PTR v2303.core.binary.kitchen.
$GENERATE 10-240 $.3 IN PTR dhcp-${0,3,d}-03.binary.kitchen. $GENERATE 10-240 $.3 IN PTR dhcp-${0,3,d}-03.binary.kitchen.
254.3 IN PTR v2303.core.binary.kitchen.
; Guests ; Guests
1.4 IN PTR v2304.core.binary.kitchen.
$GENERATE 10-240 $.4 IN PTR dhcp-${0,3,d}-04.binary.kitchen. $GENERATE 10-240 $.4 IN PTR dhcp-${0,3,d}-04.binary.kitchen.
254.4 IN PTR v2304.core.binary.kitchen.
; Management RZ ; Management RZ
23.8 IN PTR cernunnos.binary.kitchen. 23.8 IN PTR cernunnos.binary.kitchen.
61.8 IN PTR ruben.binary.kitchen. 61.8 IN PTR ruben.binary.kitchen.

View File

@ -1,7 +1,7 @@
$ORIGIN binary.kitchen ; base for unqualified names $ORIGIN binary.kitchen ; base for unqualified names
$TTL 1h ; default time-to-live $TTL 1h ; default time-to-live
@ IN SOA ns.binary.kitchen. hostmaster.binary.kitchen. ( @ IN SOA ns.binary.kitchen. hostmaster.binary.kitchen. (
2017012301; serial 2017012302; serial
1d; refresh 1d; refresh
2h; retry 2h; retry
4w; expire 4w; expire
@ -41,11 +41,11 @@ punsch IN A 172.23.2.60
spiegelei IN A 172.23.2.91 spiegelei IN A 172.23.2.91
v2302.core IN A 172.23.2.254 v2302.core IN A 172.23.2.254
; Members ; Members
v2303.core IN A 172.23.3.1
$GENERATE 1-240 dhcp-${0,3,d}-03 IN A 172.23.3.$ $GENERATE 1-240 dhcp-${0,3,d}-03 IN A 172.23.3.$
v2303.core IN A 172.23.3.254
; Guests ; Guests
v2304.core IN A 172.23.4.1
$GENERATE 1-240 dhcp-${0,3,d}-04 IN A 172.23.4.$ $GENERATE 1-240 dhcp-${0,3,d}-04 IN A 172.23.4.$
v2304.core IN A 172.23.4.254
; Management RZ ; Management RZ
cernunnos IN A 172.23.8.23 cernunnos IN A 172.23.8.23
ruben IN A 172.23.8.61 ruben IN A 172.23.8.61