Configuration File Examples

Slackware 12.0 DHCP Server .conf file

# TheMachine DHCP configuration

option subnet-mask 255.255.255.0;

option broadcast-address 192.168.0.255;

option routers 192.168.0.1;

# option netbios-dd-server 192.168.0.3;

option domain-name-servers 213.240.241.252, 213.240.241.253;

# option domain-name “empty-bg.com”;

authoritative;

#Default lease-time

default-lease-time 43200;

#Max lease-time

max-lease-time 72000;

subnet 192.168.0.0 netmask 255.255.255.0 { interface “eth1”; range 192.168.0.200 192.168.0.250;
}

ddns-update-style none;

#host name.of.host { hardware ethernet M:A:C:a:d:d:r; “newDHCPgivenIPaddr”; }

host area51 { hardware ethernet 00:1B:38:3D:A3:55; fixed-address 192.168.0.2; }
host area52 { hardware ethernet 00:13:E8:6C:E4:95; fixed-address 192.168.0.2; }
host Jore { hardware ethernet 00:40:D0:C0:D0:B4; fixed-address 192.168.0.4; }
host Jore1 { hardware ethernet 00:13:E8:65:A7:4D; fixed-address 192.168.0.4; }
host Milena { hardware ethernet 00:06:4F:1F:A7:53; fixed-address 192.168.0.3; }

#Good luck!

Leave a Reply