From: Ted Lemon Date: Sat, 30 Sep 2000 01:25:29 +0000 (+0000) Subject: Might as well have a syntactically correct configuration file. X-Git-Tag: V3-BETA-2-PATCH-7~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2722890d6ed7c94bb7e830a540c456d65a96b88;p=thirdparty%2Fdhcp.git Might as well have a syntactically correct configuration file. --- diff --git a/server/dhcpd.conf b/server/dhcpd.conf index d58d54d6e..6ef0a9ac7 100644 --- a/server/dhcpd.conf +++ b/server/dhcpd.conf @@ -11,6 +11,9 @@ option subnet-mask 255.255.255.224; default-lease-time 600; max-lease-time 7200; +subnet 204.152.187.0 netmask 255.255.255.0 { +} + subnet 204.254.239.0 netmask 255.255.255.224 { range 204.254.239.10 204.254.239.20; option broadcast-address 204.254.239.31; @@ -19,14 +22,14 @@ subnet 204.254.239.0 netmask 255.255.255.224 { # The other subnet that shares this physical network subnet 204.254.239.32 netmask 255.255.255.224 { - range dynamic-bootp 204.254.239.10 204.254.239.20; + range dynamic-bootp 204.254.239.40 204.254.239.60; option broadcast-address 204.254.239.31; option routers snarg.fugue.com; } subnet 192.5.5.0 netmask 255.255.255.224 { range 192.5.5.26 192.5.5.30; - option name-servers bb.home.vix.com, gw.home.vix.com; + option domain-name-servers bb.home.vix.com, gw.home.vix.com; option domain-name "vix.com"; option routers 192.5.5.1; option subnet-mask 255.255.255.224; @@ -58,33 +61,3 @@ host fantasia { fixed-address fantasia.fugue.com; } -# If a DHCP or BOOTP client is mobile and might be connected to a variety -# of networks, more than one fixed address for that host can be specified. -# Hosts can have fixed addresses on some networks, but receive dynamically -# allocated address on other subnets; in order to support this, a host -# declaration for that client must be given which does not have a fixed -# address. If a client should get different parameters depending on -# what subnet it boots on, host declarations for each such network should -# be given. Finally, if a domain name is given for a host's fixed address -# and that domain name evaluates to more than one address, the address -# corresponding to the network to which the client is attached, if any, -# will be assigned. -host confusia { - hardware ethernet 02:03:04:05:06:07; - fixed-address confusia-1.fugue.com, confusia-2.fugue.com; - filename "vmunix.confusia"; - server-name "toccata.fugue.com"; -} - -host confusia { - hardware ethernet 02:03:04:05:06:07; - fixed-address confusia-3.fugue.com; - filename "vmunix.confusia"; - server-name "snarg.fugue.com"; -} - -host confusia { - hardware ethernet 02:03:04:05:06:07; - filename "vmunix.confusia"; - server-name "bb.home.vix.com"; -}