diff --git a/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 b/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 index d1715a0..1638ca5 100644 --- a/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 +++ b/roles/dhcpd/templates/dhcp/dhcpd.conf.j2 @@ -6,6 +6,15 @@ option domain-name-servers {{ name_servers | join(', ') }}; option domain-search "binary.kitchen"; option ntp-servers 172.23.1.60, 172.23.2.3; +# options related to Mitel SIP-DECT +option space sipdect; +option local-encapsulation code 43 = encapsulate sipdect; +option sipdect.ommip1 code 10 = ip-address; +option sipdect.ommip2 code 19 = ip-address; +option sipdect.syslogip code 14 = ip-address; +option sipdect.syslogport code 15 = integer 16; +option magic_str code 224 = text; + default-lease-time 7200; max-lease-time 28800; @@ -267,6 +276,34 @@ host voip04 { } +# Mitel SIP-DECT + +host rfp01 { + hardware ethernet 00:30:42:1B:73:5A; + fixed-address 172.23.1.111; + option host-name "rfp01"; + option sipdect.ommip1 172.23.2.35; + option magic_str = "OpenMobilitySIP-DECT"; +} + +host rfp02 { + hardware ethernet 00:30:42:21:D4:D5; + fixed-address 172.23.1.112; + option host-name "rfp02"; + option sipdect.ommip1 172.23.2.35; + option magic_str = "OpenMobilitySIP-DECT"; +} + +host rfp11 { + hardware ethernet 00:30:42:1B:8B:9B; + fixed-address 172.23.12.111; + option host-name "rfp11"; + option sipdect.ommip1 172.23.2.35; + option magic_str = "OpenMobilitySIP-DECT"; +} + + + # OMAPI omapi-port 7911; diff --git a/roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 b/roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 index 7459075..ea8b2f2 100644 --- a/roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 +++ b/roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 @@ -1,7 +1,7 @@ $ORIGIN 23.172.in-addr.arpa. ; base for unqualified names $TTL 1h ; default time-to-live @ IN SOA ns1.binary.kitchen. hostmaster.binary.kitchen. ( - 2021111301; serial + 2021112701; serial 1d; refresh 2h; retry 4w; expire @@ -35,6 +35,8 @@ $TTL 1h ; default time-to-live 82.1 IN PTR bowle-bmc.binary.kitchen. 101.1 IN PTR nbe-w13b.binary.kitchen. 102.1 IN PTR nbe-tr8.binary.kitchen. +111.1 IN PTR rfp01.binary.kitchen. +112.1 IN PTR rfp02.binary.kitchen. ; Services 1.2 IN PTR v2302.core.binary.kitchen. 3.2 IN PTR bacon.binary.kitchen. @@ -86,6 +88,7 @@ $GENERATE 2-254 $.10 IN PTR vpn-${0,3,d}-10.binary.kitchen. ; Management Auweg 31.12 IN PTR sw-auweg.binary.kitchen. 61.12 IN PTR weizen.binary.kitchen. +111.12 IN PTR rfp11.binary.kitchen. ; Services Auweg 3.13 IN PTR aeron.binary.kitchen. ; Clients Auweg diff --git a/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 b/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 index 24e26e4..735d256 100644 --- a/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 +++ b/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 @@ -1,7 +1,7 @@ $ORIGIN binary.kitchen ; base for unqualified names $TTL 1h ; default time-to-live @ IN SOA ns1.binary.kitchen. hostmaster.binary.kitchen. ( - 2021111501; serial + 2021112701; serial 1d; refresh 2h; retry 4w; expire @@ -59,6 +59,8 @@ wurst-bmc IN A 172.23.1.80 bowle-bmc IN A 172.23.1.82 nbe-w13b IN A 172.23.1.101 nbe-tr8 IN A 172.23.1.102 +rfp01 IN A 172.23.1.111 +rfp02 IN A 172.23.1.112 ; Services v2302.core IN A 172.23.2.1 bacon IN A 172.23.2.3 @@ -107,6 +109,7 @@ salat-bmc IN A 172.23.9.81 ; Management Auweg sw-auweg IN A 172.23.12.31 weizen IN A 172.23.12.61 +rfp11 IN A 172.23.12.111 ; Services Auweg aeron IN A 172.23.13.3 ; Clients Auweg