server-identifier 1.2.3.4; default-lease-time 86400; max-lease-time 172800; option domain-name "bob.org"; option domain-name-servers 1.2.3.2, 1.2.3.3; option host-name "bob.org"; option routers 1.2.3.1; option subnet-mask 255.255.255.0; subnet 1.2.3.0 netmask 255.255.255.0{ range 1.2.3.200 1.2.3.250; default-lease-time 86400; max-lease-time 172800; option domain-name "bob.org"; option domain-name-servers 1.2.3.2, 1.2.3.3; option host-name "bob.org"; option routers 1.2.3.1; option subnet-mask 255.255.255.0; host dns { hardware ethernet 00:11:22:33:44:55; fixed-address 1.2.3.2; } host dns2 { hardware ethernet 11:22:33:44:55:66; fixed-address 1.2.3.3; } }
If you only wanted static DHCP for your network you would remove the lines that refer to the DHCP lease range and lease times. These are the three lines you would remove:
range 1.2.3.200 1.2.3.250; default-lease-time 86400; max-lease-time 172800;
It these were gone then the DHCP server would only give out IP addresses to dns and dns2.