Mise en place

creer le fichier /etc/dhcpd.conf

subnet 192.168.99.0 netmask 255.255.255.0 {
	# default gateway
	option routers 192.168.99.1;
	option subnet-mask 255.255.255.0;

	option domain-name "cogitec.home";
	option domain-name-servers balou.cogitec.home;
	option nis-domain "cogitec.home";

	range dynamic-bootp 192.168.99.128 192.168.99.255;
	default-lease-time 21600;
	max-lease-time 43200;

        host benjamin {            
	        hardware ethernet 0:80:c8:44:c:30;         
	        fixed-address 192.168.99.8;
        } 

	host xavier {
	        hardware ethernet 0:80:c8:43:fc:63;
                fixed-address 192.168.99.6;   
	}

	host philippe {
	        hardware ethernet 0:80:c8:44:c:2d;
                fixed-address 192.168.99.7;   
	}

	host thierry {
	        hardware ethernet 0:80:c8:44:c:2f;
                fixed-address 192.168.99.5;   
	}
	
	host cogitec2 {                            
                hardware ethernet 0:20:18:28:cd:b8;
		fixed-address 192.168.99.2;
	}

	host d2r2 {                           
                hardware ethernet 0:50:ba:a2:66:1c;
                fixed-address 192.168.99.10;
	}

	host joel2 {                         
                hardware ethernet 0:60:8:f1:fa:d8;
                fixed-address 192.168.99.4;
	}
}
ensuite il faut creer le fichier /etc/dhcpd.leases comme ceci: touch /etc/dhcpd.leases

puis demarrer le demon avec: /etc/rc.d/init.d/dhcpd start