Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > D

dhcpv6db2conf(1M)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

dhcpv6db2conf — DHCPv6 client database converter

SYNOPSIS

/usr/bin/dhcpv6db2conf [-a | -c | -p] [-i] [-d] [-s] [-n] [-v] [-w] [lan_interfaces]

DESCRIPTION

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

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.

-p

Print results to the screen (stdout), this is the default action if neither -a nor -c are specified.

-i

Process the INTERFACE variable set [IPV6_SECONDARY_INTERFACE_NAME, IPV6_ADDRESS, IPV6_PREFIXLEN, DHCPV6_ENABLE].

-d

Process the DNS variable set [domain, nameserver].

-s

Process the SIP server address and SIP domain name information.

-n

Process the NIS variable set [NIS_DOMAIN, YPSET_ADDR].

-v

Process the vendor specific information.

-w Print the DHCPv6 server address.

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

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/resolv.conf

domain / search nameserver

EXAMPLES

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

AUTHOR

dhcpv6db2conf was developed by Hewlett-Packard.

FILES

/etc/dhcpv6client.data

Client configuration database

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.