dhcprd Daemon

Purpose

Forwards BOOTP and DHCP packets off the local network.

Syntax

To Forward Information to the DHCP Server by Using the System Resource Controller:

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

To Forward Information to the DHCP Server without Using the System Resource Controller:

dhcprd [ -f ConfigurationFile ]

Description

The dhcprd daemon listens for broadcast packets, receives them, and forwards them to the appropriate server. This keeps broadcasts from having to be propagated to other networks. The DHCP Relay Agent handles the forwarding the DHCP and BOOTP client broadcast packets off of the local network and on to a set of servers. The initial packets sent by a BOOTP or DHCP client are broadcasts on the local interface of the client machine. These packets are not allowed to be passed through network gateways and routers. A BOOTP/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 should use for receiving requests. The default service is dhcps. Because this is the same port that the bootpd daemon uses, you can only have one (either dhcprd or bootpd) daemon running. If you choose the dhcprd daemon, you will need to uncomment bootp from the /etc/inetd.conf file, then type refresh -s inetd on the command line.
Note: If bootpd is running, this program needs to be stopped before starting 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 used for internet services.
/etc/inetd.conf Defines the services controlled by the inetd daemon.