Configuring a Dynamic Host Configuration Protocol (DHCP) server

Making DHCP work with BOOTP

The SCO DHCP server, in.dhcpd, does not support BOOTP clients directly. It can be configured to forward BOOTP requests to the BOOTP server, in.bootpd, as follows:

  1. Edit the file /etc/inetd.conf on the server. Make a backup copy of the file in case you need to recover the old version.

  2. Comment out the following entry in /etc/inetd.conf by inserting a ``#'' character at the start of the line:
    bootps dgram udp wait root /usr/sbin/in.bootpd in.bootpd
    

  3. Uncomment the following entries in /etc/inetd.conf by removing the ``#'' characters from the start of both lines:
    #bootps dgram/i udp wait root /usr/sbin/in.dhcpd in.dhcpd -b bootps-alt
    #bootps-alt dgram udp wait root /usr/sbin/in.bootpd in.bootpd -S
    
    The first entry configures dhcpd to forward BOOTP requests to bootpd on port bootps-alt (defined as 950 in /etc/services). The second entry configures bootpd to listen in slave mode on port bootps-alt.

  4. Save the file and exit.

  5. To enable the services, force inetd to re-read /etc/inetd.conf by sending it a SIGHUP signal:

    kill -HUP `cat /etc/saf/inetd/_pid`

    or by stopping and restarting it:

    sacadm -k -p inetd
    sacadm -s -p inetd

See the dhcpd(1Mtcp) and bootpd(1Mtcp) manual pages for more information.
© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999