JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Working With DHCP in Oracle Solaris 11.1     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  About DHCP (Overview)

2.  Administering the ISC DHCP Service

3.  Configuring and Administering the DHCP Client

4.  DHCP Commands and Files (Reference)

DHCP Commands

Files Used by the DHCP Service

SMF Services Used by the DHCP Service

Index

DHCP Commands

The following table lists the commands that you can use to manage DHCP on your network.

Table 4-1 Commands Used in DHCP

Command
Description
/usr/lib/inet/dhcpd
ISC DHCP only: The ISC DHCP server daemon. For more information, see the dhcpd(8) man page.
/usr/lib/inet/dhcrelay
ISC DHCP only: Enables a means for relaying DHCP and BOOTP requests from a client on a network with no DHCP servers to servers on other networks. For more information, see the dhcrelay(8) man page.
/usr/lib/inet/in.dhcpd
Legacy Sun DHCP only: The legacy Sun DHCP server daemon. The daemon is started when the system is started. You should not start the server daemon directly. Use DHCP Manager, the svcadm command, or dhcpconfig to start and stop the daemon. The daemon should be invoked directly only to run the server in debug mode to troubleshoot problems. For more information, see the in.dhcpd(1M) man page.
/usr/sadm/admin/bin/dhcpmgr
Legacy Sun DHCP only: DHCP Manager, a graphical user interface (GUI) tool used to configure and manage the DHCP service. DHCP Manager is the recommended DHCP management tool. For more information, see the dhcpmgr(1M) man page.
/usr/sbin/dhcpagent
The DHCP client daemon, which implements the client side of the DHCP protocol. For more information, see the dhcpagent(1M) man page.
/usr/sbin/dhcpconfig
Legacy Sun DHCP only: Used to configure and unconfigure DHCP servers and BOOTP relay agents. Also used to convert to a different data store format, and to import and export DHCP configuration data. For more information, see the dhcpconfig(1M) man page.
/usr/sbin/dhcpinfo
Legacy Sun DHCP only: Used by system startup scripts on Oracle Solaris client systems to obtain information (such as the host name) from the DHCP client daemon, dhcpagent. You can also use dhcpinfo in scripts or at the command line to obtain specified parameter values. For more information, see the dhcpinfo(1) man page.
/usr/sbin/dhtadm
Legacy Sun DHCP only: Used to make changes to the options and macros in the dhcptab table. This command is most useful in scripts that you create to automate changes to your DHCP information. Use dhtadm with the -P option, and pipe the output through the grep command for a quick way to search for particular option values in the dhcptab table. For more information, see the dhtadm(1M) man page.
/usr/sbin/ipadm
Used at system boot to assign IP addresses to network interfaces, configure network interface parameters, or both. On a DHCP client, ipadm starts DHCP to get the parameters (including the IP address) needed to configure a network interface. For more information, see the ipadm(1M) man page.
/usr/sbin/omshell
ISC DHCP only: Provides a way to query and change the ISC DHCP server's state by using the Object Management API (OMAPI). For more information, see the omshell(1) man page.
/usr/sbin/pntadm
Legacy Sun DHCP only: Used to make changes to the DHCP network tables that map client IDs to IP addresses and optionally associate configuration information with IP addresses. For more information, see the pntadm(1M) man page.
/usr/sbin/snoop
Used to capture and display the contents of packets being passed across the network. snoop is useful for troubleshooting problems with the DHCP service. For more information, see the snoop(1M) man page.