HP-UX IPv6 Transport Administrator Guide HP-UX 11i v3 (5992-6426, May 2013)

Table Of Contents
In this example, the TUN_LOCAL_ADDRESS[1] was not specified since the “6to4”
address for this value can be automatically configured based on the
TUN_ENCAP_SRC_ADDRESS[1] value. For example, if the TUN_ENCAP_SRC_ADDRESS
is 15.13.1.2, the “6to4” prefix is 2002:0f0d:0102, which can be combined with an
interface identifier of “1” to form the “6to4” address 2002:0f0d:0102::1.
The TUN_REMOTE_ADDRESS[1] parameter must not be specified since“6to4” is an
automatic point-to-multipoint tunnel. The remote end-point of the tunnel will be determined
based on routing information. Similarly, the TUN_ENCAP_DST_ADDRESS[1] parameter,
must not be specified since the destination address will be automatically derived from
the destination “6to4” address.
Enabling rtradvd (Router Advertiser Daemon)
When rtradvd is configured, it sends router advertisement messages to a local LAN
periodically, and, when requested, by a node sending a router solicitation message.
Refer to the rtradvd(1M) man page for more information.
Configuration for rtradvd is set, on a per interface basis, by editing the
/etc/rtradvd.conf file. The rtradvd.conf file allows for setting global defaults
as well as interface specific settings for both interface options and prefixinfo specific
options. Refer to the rtradvd.conf(4) man page for more information.
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 2001:db8::/64 on lan0.
#example begins
defaults {
AdvSendAdvertisement on ;
};
interface lan0 {
prefixinfo 2001:db8::/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 (this is done by ifconfig command). Also, clear the "private" interface
flag (-private), on the appropriate interface(s) to disable stateless address
28 Configuration