From: Zoltán Felleg Date: Tue, 11 Aug 2020 10:46:03 +0000 (+0200) Subject: Updated pns.usr (added UPSes to DNS) and svc.usr (added UPSes to dhcpd). X-Git-Url: http://git.useribm.hu/?a=commitdiff_plain;h=29fba81d8d63891d126e1131989a39d1becebbe8;p=user-lxc.git Updated pns.usr (added UPSes to DNS) and svc.usr (added UPSes to dhcpd). --- diff --git a/sources/pns.usr/postinstall/install/var/named/228.10.in-addr.arpa.zone b/sources/pns.usr/postinstall/install/var/named/228.10.in-addr.arpa.zone index be26ad0..7d3fdca 100644 --- a/sources/pns.usr/postinstall/install/var/named/228.10.in-addr.arpa.zone +++ b/sources/pns.usr/postinstall/install/var/named/228.10.in-addr.arpa.zone @@ -1,6 +1,6 @@ $TTL 86400 @ IN SOA ns.usr.user.hu. hostmaster.mx.usr.user.hu. ( - 2020072302 ; Serial + 2020081101 ; Serial 86400 ; Refresh (1 day) 7200 ; Retry (2 hours) 2419200 ; Expire (4 weeks) @@ -15,8 +15,14 @@ $TTL 86400 ; ================================================================ ; wifi routers (wr = 23 * 10 + 18 = 248) ; ================================================================ -196.248 IN PTR archer-c5-sf -66.248 IN PTR archer-c5-ff +196.248 IN PTR archer-c5-sf.usr.user.hu. +66.248 IN PTR archer-c5-ff.usr.user.hu. + +; ================================================================ +; UPSes (up = 21 * 10 + 16 = 226) +; ================================================================ +2.226 IN PTR apcups2.usr.user.hu. +1.226 IN PTR apcups1.usr.user.hu. ; ================================================================ ; 2N/two n (tn = 20 * 10 + 15 = 215) diff --git a/sources/pns.usr/postinstall/install/var/named/usr.user.hu.zone b/sources/pns.usr/postinstall/install/var/named/usr.user.hu.zone index 2bd01e1..6d81aa7 100644 --- a/sources/pns.usr/postinstall/install/var/named/usr.user.hu.zone +++ b/sources/pns.usr/postinstall/install/var/named/usr.user.hu.zone @@ -1,6 +1,6 @@ $TTL 86400 @ IN SOA ns.usr.user.hu. hostmaster.mx.usr.user.hu. ( - 2020072302 ; Serial + 2020081101 ; Serial 86400 ; Refresh (1 day) 7200 ; Retry (2 hours) 2419200 ; Expire (4 weeks) @@ -18,6 +18,12 @@ $TTL 86400 archer-c5-sf IN A 10.228.248.196 ; sf (second floor) archer-c5-ff IN A 10.228.248.66 ; ff (first floor) +; ================================================================ +; UPSes (up = 21 * 10 + 16 = 226) +; ================================================================ +apcups2 IN A 10.228.226.2 +apcups1 IN A 10.228.226.1 + ; ================================================================ ; 2N/two n (tn = 20 * 10 + 15 = 215) ; ================================================================ @@ -40,6 +46,13 @@ vios2 IN A 10.228.201.222 ; v2 vios1 IN A 10.228.201.221 ; v1 p570fsp2 IN A 10.228.201.192 ; s2 p570fsp1 IN A 10.228.201.191 ; s1 +; VLANs: +; 933: hmc +; 169: power install +; 164: power 4 +; 163: power 3 +; 162: power 2 +; 161: power 1 ; ================================================================ ; rrendek (rr = 18 * 10 + 18 = 198) diff --git a/sources/svc.usr/postinstall/install/etc/dhcp/dhcpd.conf b/sources/svc.usr/postinstall/install/etc/dhcp/dhcpd.conf index 260c731..de5909c 100644 --- a/sources/svc.usr/postinstall/install/etc/dhcp/dhcpd.conf +++ b/sources/svc.usr/postinstall/install/etc/dhcp/dhcpd.conf @@ -70,6 +70,14 @@ host tn-phone-ff { hardware ethernet 00:0b:82:67:2d:26; fixed-address 10.228.215.66; } +host apcups2 { + hardware ethernet 00:c0:b7:23:dd:7d; + fixed-address 10.228.2226.2; +} +host apcups1 { + hardware ethernet 00:c0:b7:58:c2:0c; + fixed-address 10.228.2226.1; +} host db2svr { hardware ethernet 00:50:56:00:d4:2a; fixed-address 10.228.212.42;