dhcprd Daemon

Purpose

Forwards BOOTP and Dynamic Host Configuration Protocol (DHCP) packets off the local network.

Syntax

To forward information to the DHCP server by using the System Resource Controller (SRC):

startsrc -s dhcprd [-a Argument] [-a Argument] ...

To forward information to the DHCP server without using SRC:

dhcprd [-f ConfigurationFile]

Description

The dhcprd daemon listens for broadcast packets, receives them, and forwards them to the appropriate server. It keeps broadcasts from having to be propagated to other networks. The DHCP relay agent handles the forwarding of the DHCP and BOOTP client broadcast packets off the local network and on to a set of servers. The initial packets that are sent by a BOOTP or DHCP client are broadcasts on the local interface of the client system. These packets are not allowed to be passed through network gateways and routers. A BOOTP or DHCP relay agent, the dhcprd daemon, sends these packets to the appropriate servers.

The DHCP Server reads /etc/services file to determine which port it must use for receiving requests. The default service is dhcps. Because it is the same port that the bootpd daemon uses, you can have only one (either dhcprd or bootpd) daemon running. If you choose the dhcprd daemon, you must uncomment bootp from the /etc/inetd.conf file, then type refresh -s inetd on the command line.
Note: If the bootpd daemon is running, this program must be stopped before you start the daemons.

Flags

Item Description
-f ConfigurationFile Specifies the configuration file to be used. The default is the /etc/dhcprd.cnf file.

Exit Status

This command returns the following exit values:

Item Description
0 Successful completion.
>0 An error occurred.

Security

Access Control: You must have root authority to run this command.

Files

Item Description
/usr/sbin/dhcprd Contains the dhcprd daemon.
/etc/dhcprd.cnf Contains the default configuration file.
/etc/services Defines sockets and protocols that are used for internet services.
/etc/inetd.conf Defines the services that are controlled by the inetd daemon.