admdhcprelay(1M) DG/UX R4.11MU05 admdhcprelay(1M)
NAME
admdhcprelay - manage DHCP Server Clients
SYNOPSIS
admdhcprelay -o add -i interfacename -f forwardservername
admdhcprelay -o delete interfacename
admdhcprelay -o list [ -qv ] all | interfacename [...]
DESCRIPTION
Admdhcprelay manages the DHCP server (daemon) configuration file for
relays. The information that manages relays is bracketed between the
#>STARTRELAY and #>STOPRELAY sections. This information provides
dhcpd daemon the necessary information to properly forward DHCP/BOOTP
requests on to the correct server (or back to the client attached to
the relay).
Operations
add Adds an entry in the /var/dhcp/dhcp.params file bracketed
by the #>STARTRELAY and #>STOPRELAY
delete Removes an entry in the /var/dhcp/dhcp.params file.
modify Modifies an entry in the /var/dhcp/dhcp.params file.
list Displays all or selected relay entries from the
/var/dhcp/dhcp.params file to standard output.
Options
-i interfacename
name of the interface on which requests will be received.
This is the interface which is attached to the client's
subnet.
-f forwardservername
name of the host to which requests will be forwarded.
EXAMPLES
In the following example, the system administrator wants to forward
all DHCP requests received on interface dgen0 to the DHCP server
foobar.
admdhcprelay -o add -i dgen0 -f foobar
FILES
/var/dhcp/dhcp.params
File that contains the DHCP/BOOTP server parameter
database.
DIAGNOSTICS
Warnings
- The delete operation is requested, and relayname does not exist.
Errors
- The add operation is requested, and relayname already exists.
Exit Codes
0 The operation was successful.
1 The operation was unsuccessful.
2 The operation failed due to access restrictions.
3 There was an error in the command line.
SEE ALSO
dhcpd(1M), admdhcpclient(1M), admdhcpmanaged(1M), admdhcpglobal(1M),
tftpd(1M), termcap(5).
Licensed material--property of copyright holder(s)