Used to query and modify the status of the DHCP server.
dadmin [ -?] [ -v] [ -h Hostname] [ -f] -d IpAddress | [ -x] -i | [ -x] -s | -t on|off|Value | -q IpAddress | -p IpAddress | -c Clientld
The dadmin command lets the DHCP administrator query and modify the state of his DHCP servers' databases. It gives the administrator the ability to locally or remotely query the DHCP server for the status of an IP address, query for a pool of IP addresses, query for a client, delete an IP address mapping, refresh the server, and change the server's tracing level.
The dadmin command is backwards compatible with previous release DHCP servers to list their IP address status and refresh.
When querying for an IP address information, the dadmin command returns the IP address's status. And depending on the IP address's status, the dadmin command may return the lease duration, start lease time, last leased time, whether the server supports DNS A record updates for this IP address, and the client identifier which is mapped to this IP address.
When querying for a client information, the dadmin command returns the client's IP address and IP address status, the last time the client was given any IP address, the hostname and domain name used by the client, and whether the server supports DNS A record updates for this IP address.
When modifying the server tracing level, the dadmin command sets and returns the server tracing level in the form of a tracing mask. This mask represents a bitstring where each bit represents whether a specific log item is being traced by the server (see DHCP Server Configuration File in the online documentation). From least significant to most significant order, these log items are LOG_NONE, LOG_SYSERR, LOG_OBJERR, LOG_PROTOCOL and LOG_PROTERR (same value), LOG_WARN, AND LOG_CONFIG (same value), LOG_EVENT, and LOG_PARSEERR (same value), LOG_ACTION, LOG_INFM, LOG_ACNTING, LOG_STAT, LOG_TRACE, LOG_START, and LOG_RTRACE.
Note: LOG_START cannot be disabled. This implies a mask range from 0x0800 through 0x1FFF.
0 | Successful completion. |
>0 | An error occurred. |
To secure connections from the dadmin clients, the DHCP server only allows connections from the server itself or from remote machines that are included in the superuser's .rhosts file. To prevent ordinary users from modifying the DHCP server's address mappings, the administrator should ensure that the execution of the dadmin command is limited to the proper users on those machines that are allowed access.
/usr/sbin/dadmin | Contains the dadmin command. |
The .rhosts file format, DHCP Server Configuration File in the AIX 5L Version 5.1 Files Reference.
The dhcpsd daemon.
TCP/IP Address and Parameter Assignment - Dynamic Host Configuration Protocol (DHCP) in the AIX 5L Version 5.1 System Management Guide: Communications and Networks.
The SMIT Interface for TCP/IP in the AIX 5L Version 5.1 System Management Guide: Communications and Networks
TCP/IP Daemons in the AIX 5L Version 5.1 System Management Guide: Communications and Networks