dhcpv6db2conf(1M) dhcpv6db2conf(1M)
NAME [Toc] [Back]
dhcpv6db2conf - DHCPv6 client database converter
SYNOPSIS [Toc] [Back]
/usr/bin/dhcpv6db2conf [-a | -c | -p] [-d] [-i] [-n] [-t]
[lan_interfaces]
DESCRIPTION [Toc] [Back]
dhcpv6db2conf provides a means of translating the DHCPv6 client
database, /etc/dhcpv6client.data, into a set of standard configuration
file variables. The client database consists of a series of records.
Each record represents a unique lan interface and a list of
attributes, which correspond to that interface. The attributes are
configuration parameters like: host's IP address, NTP server address,
address of the DHCPv6 server, NIS domain name etc for that interface.
With dhcpv6db2conf, you can list the contents of the database to the
screen, create a set of configuration staging files, or execute direct
edits on existing configuration files using the values contained in
the client database.
Options [Toc] [Back]
dhcpv6db2conf allows you to specify a list of lan interfaces on the
command line (e.g. lan0 lan1...) whose data needs to be translated to
a readable format. If no lan interface is specified, dhcpv6db2conf
will process the entries of all interfaces which are UP. The
attributes can be selected for processing by specifying a combination
of one or more filter flags on the command line. If no filter flag is
specified, all the attributes for that lan interface will be
processed.
The following options are supported:
-a Using the results of the specified filter, directly
apply the variable definitions to the existing
configuration files (for example,
/etc/rc.config.d/netconf-ipv6).
-c Create a set of staging files using the results of the
selected filter(s). Each variable processed will be
applied to its corresponding staging configuration
file. Specifically, dhcpv6db2conf will generate a copy
of the existing configuration file. For example,
/etc/rc.config.d/netconf-ipv6 will be copied to
/etc/rc.config.d/netconf-ipv6.dhcpv6. Once this
staging file has been created, the variable that is
being processed will be applied to this newly created
file.
-d Process the DNS variable set: [domain, nameserver ].
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003
dhcpv6db2conf(1M) dhcpv6db2conf(1M)
-i Process the INTERFACE variable set:
[IPV6_SECONDARY_INTERFACE_NAME, IPV6_ADDRESS,
IPV6_PREFIXLEN, DHCPV6_ENABLE].
-n Process the NIS variable set: [NIS_DOMAIN, YPSET_ADDR].
-p Print results to the screen (stdout), this is the
default action if neither -c nor -a are specified.
-t Process the NTPDATE_SERVER variable.
lan_interfaces lan interfaces such as lan0, lan1, etc. whose data
needs to be translated to a readable format. If not
specified, dhcpv6db2conf will process the entries of
all interfaces which are UP.
Configuration Files and Variable Names [Toc] [Back]
The following files and variables can be processed:
/etc/rc.config.d/netconf-ipv6
IPV6_SECONDARY_INTERFACE_NAME
IPV6_ADDRESS
IPV6_PREFIXLEN
DHCPV6_ENABLE
/etc/rc.config.d/namesvrs
NIS_DOMAIN
YPSET_ADDR
/etc/rc.config.d/netdaemons
NTPDATE_SERVER
/etc/resolv.conf
domain
nameserver
EXAMPLES [Toc] [Back]
To list the entire contents of the DHCP client database type:
dhcpv6db2conf
To list only the INTERFACE variable set for lan0 type:
dhcpv6db2conf -i lan0
WARNINGS [Toc] [Back]
The NIS and NTP parameters are not IPv6-compatible. Hence do not use
Hewlett-Packard Company - 2 - HP-UX 11i Version 2: August 2003
dhcpv6db2conf(1M) dhcpv6db2conf(1M)
dhcpv6db2conf to update them.
AUTHOR [Toc] [Back]
dhcpv6db2conf was developed by Hewlett-Packard.
FILES [Toc] [Back]
/etc/dhcpv6client.data Client configuration database
SEE ALSO [Toc] [Back]
dhcpv6clientd(1M), dhcpv6d(1M).
Hewlett-Packard Company - 3 - HP-UX 11i Version 2: August 2003 [ Back ] |