[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 2

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

-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:

0 Successful completion.
>0 An error occurred.

Security

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

Files

/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.

Related Information

The dhcpsconf command, startsrc command, stopsrc command.

The dhcpcd daemon, dhcpsd daemon, inetd daemon.

DHCP Client Configuration File

DHCP Server Configuration File

TCP/IP Address and Parameter Assignment - Dynamic Host Configuration Protocol (DHCP)

The System Resource Controller Overview in AIX 5L Version 5.2 System Management Concepts: Operating System and Devices gives an explanation of subsystems, subservers, and the System Resource Controller.

For information on installing the Web-based System Manager, see Chapter 2: Installation and System Requirements in AIX 5L Version 5.2 Web-based System Manager Administration Guide.

TCP/IP Daemons in AIX 5L Version 5.2 System Management Guide: Communications and Networks.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]