Browse Source

it's time to break everything with the Atlas update

master
Jared Dunbar 3 years ago
parent
commit
c0fb353a61
Signed by: jared GPG Key ID: CF202CC859BAC692
  1. 1
      .gitignore
  2. 8
      Makefile
  3. 16
      atlas4.conf
  4. 20
      common4.conf
  5. 18
      talos4.conf

1
.gitignore

@ -7,3 +7,4 @@ dhclient-exit-hooks.d
dhcpd.conf.def
dhclient.conf
dhcpd.conf.good
dhcpd.conf

8
Makefile

@ -0,0 +1,8 @@
talos:
cp talos4.conf dhcpd.conf
atlas:
cp atlas4.conf dhcpd.conf
clean:
rm dhcpd.conf

16
atlas4.conf

@ -0,0 +1,16 @@
#
# /etc/dhcp/dhcpd.conf for secondary DHCP server (atlas)
#
include "/etc/dhcp/common4.conf";
failover peer "dhcp-failover" {
secondary;
address 128.153.145.4;
port 647;
peer address 128.153.145.3;
peer port 647;
max-response-delay 30;
max-unacked-updates 10;
load balance max seconds 3;
}

20
dhcpd.conf → common4.conf

@ -1,16 +1,23 @@
option domain-name "cslabs.clarkson.edu";
option domain-name-servers 128.153.145.3,8.8.8.8;
option arch code 93 = unsigned integer 16;
option rfc3442-classless-static-routes code 121 = array of integer 8;
option ms-classless-static-routes code 249 = array of integer 8;
default-lease-time 10080;
#
# /etc/dhcp/common4.conf for common DHCP configurations between both servers
#
efault-lease-time 10080;
max-lease-time 10080;
option routers 128.153.145.1;
option subnet-mask 255.255.254.0;
option domain-name "cslabs.clarkson.edu";
option domain-name-servers 128.153.145.3,128.153.145.4,8.8.8.8;
authoritative;
option arch code 93 = unsigned integer 16;
option rfc3442-classless-static-routes code 121 = array of integer 8;
option ms-classless-static-routes code 249 = array of integer 8;
subnet 128.153.144.0 netmask 255.255.254.0 {
range 128.153.144.100 128.153.144.254;
failover peer "dhcp-failover";
# COSI
group {
@ -126,4 +133,3 @@ subnet 128.153.144.0 netmask 255.255.254.0 {
}
}
}

18
talos4.conf

@ -0,0 +1,18 @@
#
# /etc/dhcp/dhcpd.conf for primary DHCP server (talos)
#
include "/etc/dhcp/common4.conf";
failover peer "dhcp-failover" {
primary;
address 128.153.145.3;
port 647;
peer address 128.153.145.4;
peer port 647;
max-response-delay 30;
max-unacked-updates 10;
load balance max seconds 3;
mclt 1800;
split 128;
}
Loading…
Cancel
Save