How2 set up a dhcp server ------------------------- 1. Suse Linux Professional 9.0 ------------------------------ 1.1 check with yast2 if dhcp server software (1.96MB) is installed: ------------------------------------------------------------------- dhcp-server ISC (Internet Software Consortium) DHCP server (804KB) dhcp Common files used by ISC DHCP software (1.13MB) dhcp-tools dhcping and dhcpdump (52KB) 1.2 configure dhcp server through /etc/dhcpd.conf and /etc/sysconfig/dhcpd -------------------------------------------------------------------------- In /etc/sysconfig/dhcpd set DHCPD_INTERFACE to the interface to listen on for incoming dhcp requests. --------- example /etc/dhcpd.conf file start ----------------------- # dhcpd.conf # # configuration file for ISC dhcpd for diskless Linux systems pid-file-name "/var/run/dhcpd.pid"; allow booting; allow bootp; ddns-update-style none; ddns-updates off; authoritative; log-facility local7; subnet 172.20.1.0 netmask 255.255.255.0 { } # Group the PXE bootable hosts together group { host dwarf1 { hardware ethernet 0:0D:87:9F:F2:F1; fixed-address 172.20.1.33; } host dwarf2 { hardware ethernet 0:0D:87:B2:01:25; fixed-address 172.20.1.34; } host dwarf3 { hardware ethernet 0:0D:87:C2:2C:CA; fixed-address 172.20.1.35; } host toshi { hardware ethernet 0:00:39:55:11:8F; fixed-address 172.20.1.41; } host ss51 { hardware ethernet 0:30:1B:AB:24:F9; fixed-address 172.20.1.2; } } --------- example /etc/dhcpd.conf file end ----------------------- 1.3. start the dhcpd server: ---------------------------- linux:/etc # /etc/init.d/dhcpd start Starting DHCP server [chroot] 1.4. test the dhcpd server: --------------------------- linux:~ # dhcping -h 0:0c:29:76:81:9f -v -s 172.20.1.10 Got answer from 172.20.1.10