diff options
author | Juri Jensen <juri@xenux.dk> | 2002-11-28 12:02:21 +0000 |
---|---|---|
committer | Juri Jensen <juri@xenux.dk> | 2002-11-28 12:02:21 +0000 |
commit | b70e92fcad0462324286e63c05fa826217034041 (patch) | |
tree | 644ea5b3a879c50d56b2ae68963f4e950f29a9fe /dhcp3 | |
parent | fbf09af9c5a0c1c443ac95d759a5b10a7abc5e5e (diff) |
cfengine: Added support for of DHCP version 3.
dhcp: Added config file for both primary and secondary DHCP server for
xenux.local. Removed the old dhcpd.conf for xenux.local - we're now
using the new version 3 server.
Diffstat (limited to 'dhcp3')
-rw-r--r-- | dhcp3/dhcpd_gandalf.xenux.local.conf | 49 | ||||
-rw-r--r-- | dhcp3/dhcpd_legolas.xenux.local.conf | 55 |
2 files changed, 104 insertions, 0 deletions
diff --git a/dhcp3/dhcpd_gandalf.xenux.local.conf b/dhcp3/dhcpd_gandalf.xenux.local.conf new file mode 100644 index 0000000..2e04839 --- /dev/null +++ b/dhcp3/dhcpd_gandalf.xenux.local.conf @@ -0,0 +1,49 @@ +# dhcpd.conf +# +# DHCP configuration file for secondary DHCP server in +# the xenux.local domain. +# + +ddns-update-style none; +default-lease-time 1200; +max-lease-time 7200; +authoritative; +log-facility local7; + +option domain-name "xenux.local"; +option domain-name-servers 192.168.200.20, 212.54.64.170, 212.54.64.171; +option subnet-mask 255.255.255.0; +option routers 192.168.200.1; +option netbios-name-servers 192.168.200.20; + +# This is for failover capabillities for the secondary server. +failover peer "xenuxlocal" { + secondary; + address 192.168.200.20; + port 520; + peer address 192.168.200.21; + peer port 519; + max-response-delay 30; + max-unacked-updates 10; + load balance max seconds 3; +} + +shared-network XENUXLOCAL { + subnet 192.168.200.0 netmask 255.255.255.0 { + use-host-decl-names on; + pool { + failover peer "xenuxlocal" + # According to our policy, the dynamic address space starts + # at .60 and ends at .229 giving 170 client addresses. + # (See "System Description --> Network Model") + range 192.168.200.60 192.168.200.229; + } + # According to our policy, the printers address space starts + # at .40 and ends at .59 giving 20 printer addresses. + # (See "System Description --> Network Model") + host epsonalc2000 { + hardware ethernet 00:80:77:31:a2:6a; + fixed-address 192.168.200.40; + } + } +} diff --git a/dhcp3/dhcpd_legolas.xenux.local.conf b/dhcp3/dhcpd_legolas.xenux.local.conf new file mode 100644 index 0000000..0e989f4 --- /dev/null +++ b/dhcp3/dhcpd_legolas.xenux.local.conf @@ -0,0 +1,55 @@ +# dhcpd.conf +# +# DHCP configuration file for primary DHCP server in +# the xenux.local domain. +# + +ddns-update-style none; +default-lease-time 1200; +max-lease-time 7200; +authoritative; +log-facility local7; + +option domain-name "xenux.local"; +option domain-name-servers 192.168.200.20, 212.54.64.170, 212.54.64.171; +option subnet-mask 255.255.255.0; +option routers 192.168.200.1; +option netbios-name-servers 192.168.200.20; + + + +# This is for failover capabillities for the primary server. +failover peer "xenuxlocal" { + primary; + address 192.168.200.21; + port 519; + peer address 192.168.200.20; + peer port 520; + mclt 3600; + max-response-delay 30; + max-unacked-updates 10; + load balance max seconds 3; +# split 128; + hba ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff: + 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00; +} + +# According to our policy, the dynamic address space starts +# at .60 and ends at .229 giving 170 client addresses. +# (See "System Description --> Network Model") +shared-network XENUXLOCAL { + subnet 192.168.200.0 netmask 255.255.255.0 { + use-host-decl-names on; + pool { + failover peer "xenuxlocal" + range 192.168.200.60 192.168.200.229; + } + # According to our policy, the printers address space starts + # at .40 and ends at .59 giving 20 printer addresses. + # (See "System Description --> Network Model") + host epsonalc2000 { + hardware ethernet 00:80:77:31:a2:6a; + fixed-address 192.168.200.40; + } + } +} |