diff options
Diffstat (limited to 'etc/dhcp/backup.conf')
-rw-r--r-- | etc/dhcp/backup.conf | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/etc/dhcp/backup.conf b/etc/dhcp/backup.conf new file mode 100644 index 0000000..6d543aa --- /dev/null +++ b/etc/dhcp/backup.conf @@ -0,0 +1,47 @@ +option domain-name "random.lan"; +option domain-name-servers dns1.random.lan, dns2.random.lan; +option ntp-servers firebrand.random.lan, defiant.random.lan; +option smtp-server smtp.random.lan; +option routers gateway.random.lan; +default-lease-time 172800; +max-lease-time 172800; +ddns-update-style interim; + +failover peer "foo" { + secondary; + address defiant.random.lan; + port 519; + peer address firebrand.random.lan; + peer port 519; + max-response-delay 60; + max-unacked-updates 10; + mclt 3600; + load balance max seconds 3; +} + +host ps3 { + hardware ethernet 00:1d:0d:f8:a5:80; + fixed-address 10.10.0.4; + option domain-name-servers 8.8.8.8, 8.8.4.4; +} + +subnet 10.10.0.0 netmask 255.255.255.0 { + pool { + failover peer "foo"; + range 10.10.0.128 10.10.0.254; + } + + key updatekey { + algorithm hmac-md5; + secret "df61eb0aa23833c56751a6c8f579f695"; + } + + zone 10.10.in-addr.arpa { + primary dns1.random.lan; + key updatekey; + } + zone random.lan { + primary dns1.random.lan; + key updatekey; + } +} |