forked from infra/ansible
Change client network gateways.
This commit is contained in:
parent
46889c110b
commit
30fd032a59
@ -5,8 +5,8 @@ dhcpd_primary: 172.23.2.3
|
||||
dhcpd_secondary: 172.23.2.4
|
||||
|
||||
name_servers:
|
||||
- 172.23.2.1
|
||||
- 172.23.2.3
|
||||
- 172.23.2.4
|
||||
|
||||
ntp_servers:
|
||||
- 172.23.1.61
|
||||
|
@ -57,7 +57,7 @@ subnet 172.23.2.0 netmask 255.255.255.0 {
|
||||
|
||||
# Members
|
||||
subnet 172.23.3.0 netmask 255.255.255.0 {
|
||||
option routers 172.23.3.254;
|
||||
option routers 172.23.3.1;
|
||||
pool {
|
||||
{% if dhcpd_failover == true %}
|
||||
failover peer "failover-partner";
|
||||
@ -68,7 +68,7 @@ subnet 172.23.3.0 netmask 255.255.255.0 {
|
||||
|
||||
# Guests
|
||||
subnet 172.23.4.0 netmask 255.255.255.0 {
|
||||
option routers 172.23.4.254;
|
||||
option routers 172.23.4.1;
|
||||
pool {
|
||||
{% if dhcpd_failover == true %}
|
||||
failover peer "failover-partner";
|
||||
|
@ -1,7 +1,7 @@
|
||||
$ORIGIN 23.172.in-addr.arpa. ; base for unqualified names
|
||||
$TTL 1h ; default time-to-live
|
||||
@ IN SOA ns.binary.kitchen. hostmaster.binary.kitchen. (
|
||||
2017012301; serial
|
||||
2017012302; serial
|
||||
1d; refresh
|
||||
2h; retry
|
||||
4w; expire
|
||||
@ -30,11 +30,11 @@ $TTL 1h ; default time-to-live
|
||||
91.2 IN PTR spiegelei.binary.kitchen.
|
||||
254.2 IN PTR v2302.core.binary.kitchen.
|
||||
; Members
|
||||
1.3 IN PTR v2303.core.binary.kitchen.
|
||||
$GENERATE 10-240 $.3 IN PTR dhcp-${0,3,d}-03.binary.kitchen.
|
||||
254.3 IN PTR v2303.core.binary.kitchen.
|
||||
; Guests
|
||||
1.4 IN PTR v2304.core.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
|
||||
23.8 IN PTR cernunnos.binary.kitchen.
|
||||
61.8 IN PTR ruben.binary.kitchen.
|
||||
|
@ -1,7 +1,7 @@
|
||||
$ORIGIN binary.kitchen ; base for unqualified names
|
||||
$TTL 1h ; default time-to-live
|
||||
@ IN SOA ns.binary.kitchen. hostmaster.binary.kitchen. (
|
||||
2017012301; serial
|
||||
2017012302; serial
|
||||
1d; refresh
|
||||
2h; retry
|
||||
4w; expire
|
||||
@ -41,11 +41,11 @@ punsch IN A 172.23.2.60
|
||||
spiegelei IN A 172.23.2.91
|
||||
v2302.core IN A 172.23.2.254
|
||||
; Members
|
||||
v2303.core IN A 172.23.3.1
|
||||
$GENERATE 1-240 dhcp-${0,3,d}-03 IN A 172.23.3.$
|
||||
v2303.core IN A 172.23.3.254
|
||||
; Guests
|
||||
v2304.core IN A 172.23.4.1
|
||||
$GENERATE 1-240 dhcp-${0,3,d}-04 IN A 172.23.4.$
|
||||
v2304.core IN A 172.23.4.254
|
||||
; Management RZ
|
||||
cernunnos IN A 172.23.8.23
|
||||
ruben IN A 172.23.8.61
|
||||
|
Loading…
Reference in New Issue
Block a user