Setup on Suse Linux Professional 9.0


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)
Configure the 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:
# 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;
        }
}
Next, start the dhcpd server:
linux:/etc # /etc/init.d/dhcpd start
Starting DHCP server [chroot]
Now, let's 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
And thats it, DHCP works now.