HP-UX Mobile IPv6 A.01.00 Administrator's Guide
Appendix A
Example Configuration Files
Example Router Advertisement Daemon Configuration File
100
Example Router Advertisement Daemon Configuration File
The following is an example configuration file for rtradvd, the HP-UX IPv6 Router Advertisement Daemon.
The default rtradvd configuration file is: /etc/rtradvd.conf. Refer to “The Router Advertisement Daemon
Configuration File: /etc/rtradvd.conf” on page 37, for more information about rtradvd.conf parameters.
###################################################################################
# rtradvd.conf: configuration values for "rtradvd" the router
# advertisement daemon for IPv6. See rtradvd.conf(4) man page.
#
# (c) Copyright Hewlett-Packard Company 2003
#
# @(#) TOUR: Transport Optional Upgrade Release for B.11.11
# Router advertisement is configured on a per interface basis.
#
# "defaults" statement can be used to define the global keywords
# values for all the interfaces defined in this configuration file.
# In the absence of "defaults" statement, the value of each keyword
# is set according to RFC 2461 section 6.2.1.
#
# In the normal operation, you only need to enable the sending of
# periodic Router Advertisements on the interface and define the
# "prefixinfo" for each interface. The rest of keywords have default
# values defined in RFC 2461.
# The example below shows the minimum configuration needed to send
# "router advertisement" packets containing the prefix 2008:65::/64
# on "lan0".
#
# For more examples, see rtradvd.conf(4) man page.
#
defaults {
AdvSendAdvertisement on;
AdvHomeAgentFlag on;
MaxRtrAdvInterval 5.9;
AdvHomeAgentPreference 5;
AdvHomeAgentLifetime 400;
MinRtrAdvInterval 2.4;
AdvRouterLifetime 0;
};
interface lan1
{
AdvHomeAgentLifetime 400;
prefixinfo 2008:0:0:6::9/64
{
AdvRouterAddress on;
};
};
###################################################################################