HP-UX IPv6 Transport Administrator's Guide for TOUR 2.0 (April 2004, rev 2)

Configuration
Manual Configuration
Chapter 3 27
Required Steps: To configure the HP-UX system to run rtradvd, and
enable the Router Advertisement functionality, the following steps must
be taken: the /etc/rtradvd.conf file must be edited as needed; the
“private” interface flag must be cleared (“-private” for each enabled
interface) and the rtradvd daemon must be enabled. More specifically:
Edit the /etc/rtradvd.conf file as needed
The example below shows the minimum configuration needed to
send router advertisement packets containing the prefix
2008:65::/64 on lan0.
#example begins
defaults {
AdvSendAdvertisement on ;
};
interface lan0 {
prefixinfo 2008:65::/64 {
};
};
#example ends
For more examples, refer to the rtradvd.conf(4) man page.
Edit the /etc/rc.config.d/netconf-ipv6 file to enable rtradvd to
start up at boot. Also, clear the "private" interface flag (-private), on
the appropriate interface(s) to disable stateless address
autoconfiguration using prefixes received in router advertisements.
The default is "private", and when set to "private" the interface will
autoconfigure addresses using prefixes received in router
advertisements. For more information, refer to the relevant
commented text in the /etc/rc.config.d/netconf-ipv6 file that is
included with HP-UX 11i v2 IPv6 bundled as part of TOUR 2.0.
A sample netconf-ipv6 file entry, which clears the private flag and
enables rtradvd, is as follows:
IPV6_INTERFACE[0]=”lan0”
IPV6_INTERFACE_STATE[0]=”up”
IPV6_INTERFACE_FLAG[0]= “-private”
#
#
RTRADVD=1