From b70e92fcad0462324286e63c05fa826217034041 Mon Sep 17 00:00:00 2001 From: Juri Jensen Date: Thu, 28 Nov 2002 12:02:21 +0000 Subject: 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. --- dhcp3/dhcpd_gandalf.xenux.local.conf | 49 ++++++++++++++++++++++++++++++++ dhcp3/dhcpd_legolas.xenux.local.conf | 55 ++++++++++++++++++++++++++++++++++++ 2 files changed, 104 insertions(+) create mode 100644 dhcp3/dhcpd_gandalf.xenux.local.conf create mode 100644 dhcp3/dhcpd_legolas.xenux.local.conf (limited to 'dhcp3') 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; + } + } +} -- cgit v1.2.3