HPlogo HP-UX Reference > D

dhcpv6client_ui(1)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

NAME

dhcpv6client_ui — DHCPv6 client interface for requesting configuration parameters from the DHCPv6 server.

SYNOPSIS

/usr/bin/dhcpv6client_ui -m interface_name [-n no_of_ip_addresses] [-o config_options]

/usr/bin/dhcpv6client_ui -o config_options

/usr/bin/dhcpv6client_ui -m interface_name [-R]

/usr/bin/dhcpv6client_ui -r interface_name

/usr/bin/dhcpv6client_ui -v

DESCRIPTION

dhcpv6client_ui is the interface through which a user contacts the client daemon to obtain IP addresses and other configuration parameters from the server. The default configuration parameters are specified as command line options when the DHCPv6 client daemon is invoked.

When dhcpv6client_ui requests for IP addresses or other configuration parameters, the client daemon obtains them from the server and stores in the /etc/dhcpv6client.data file.

dhcpv6client_ui is executed on the same machine on which the client daemon is configured. Ensure that the client daemon is up and running before dhcpv6client_ui is executed.

Options

dhcpv6client_ui supports the following options:

-m interface_name

Request the client daemon to obtain IP addresses for the named interface, interface_name, from the DHCPv6 server daemon.

-n no_of_ip_addresses

Specify the number of IP addresses for an interface.

This option is always used with the -m option.

This option cannot be used with the -R option.

-o config_options

Specify the other configuration parameters that the client daemon must request from the server daemon. The configuration parameters that the client can request are listed below:

dns_sa

Obtain the DNS server address

dns_sx

Obtain the DNS suffix

ntp_sa

Obtain the NTP server address

nis_dn

Obtain the NIS domain name

nis_sa

Obtain the NIS server address

nispcl_dn

Obtain the NIS+ client domain address

nisp_sa

Obtain the NIS+ server address

slp_da

Obtain the SLP Directory Agent (DA) address and it's scope

slp_ss

Obtain the SLP service scope

tz

Obtain the timezone information

all

Obtain all the above listed parameters

default

Obtain all the parameters that the dhcpv6 client daemon supports

-r interface_name

Release the IPv6 addresses assigned to the named interface, interface_name.

-v

Print the version information of the client daemon.

-R

Notify the client daemon to utilize the IP addresses already obtained for an interface instead of requesting new IP addresses from the server.

This option must be used in conjunction with the -m option.

This option cannot be used with the -n option.

RETURN VALUES

dhcpv6client_ui returns 0 on success and 1 on failure.

EXAMPLES

dhcpv6client_ui obtains two IP addresses for the lan0 interface:

dhcpv6client_ui -m lan0 -n 2

dhcpv6client_ui obtains two IP addresses for the lan0 interface and additional configuration parameters:

dhcpv6client_ui -m lan0 -n 2 -o dns_sa dns_sx

FILES

/etc/dhcpv6client.data

All the data obtained from the server daemon is saved to this file.

AUTHOR

dhcpv6client_ui was developed by Hewlett-Packard.