rtadvd.conf(5) - NetBSD Manual Pages

RTADVD.CONF(5)            NetBSD Programmer's Manual            RTADVD.CONF(5)


NAME
rtadvd.conf - config file for router advertisement daemon
DESCRIPTION
This file describes how the router advertisement packet must be con- structed for each of the interfaces. It obeys the famous termcap(5) file format. Each line in the file de- scribes a network interface. Fields are separated by a colon (`:'), and each field contains one capability description. Lines may be concatenat- ed by `\' character. The comment marker is the `character.'
CAPABILITIES
Capabilities describe the value to be filled into ICMPv6 router adver- tisement messages and to control rtadvd(8) behavior. Therefore, you are encouraged to read IETF neighbor discovery documents if you would like to modify the sample configuration file. Note that almost all items have default values. If you omit an item, the default value of the item will be used. There are two items which control the interval of sending router adver- tisements. maxinterval (num) The maximum time allowed between sending unsolicited multi- cast router advertisements (unit: seconds). The default value is 600. Its value must be no less than 4 seconds and no greater than 1800 seconds. mininterval (num) The minimum time allowed between sending unsolicited multi- cast router advertisements (unit: seconds). The default value is the one third of value of maxinterval. Its value must be no less than 3 seconds and no greater than .75 * the value of maxinterval. The following items are for ICMPv6 router advertisement message header. chlim (num) The value for Cur Hop Limit field. The default value is 64. raflags (num) Flags field in router advertisement message header. Bit 7 (0x80) means Managed address configuration flag bit, and Bit 6 (0x40) means Other stateful configuration flag bit. The default value is 0. rltime (num) Router lifetime field (unit: seconds). Its value must be no greater than 3600000. The default value is 1800. rtime (num) Reachable time field (unit: milliseconds). The default value is 0, which means unspecified by this router. retrans (num) Retrans Timer field (unit: milliseconds). The default val- ue is 0, which means unspecified by this router. The following items are for ICMPv6 prefix information option, which will be attached to router advertisement header. addrs (num) Number of prefixes. Its default is 0, so it must explicit- ly be set to positve values if you want to specify any prefix in- formation option. If its value is 0, rtadvd(8) looks up the sys- tem routing table and advertise the prefixes corresponding to in- terface routes on the interface. If its value is more than 1, you must specify the index of the prefix for each item below. Indices vary from 0 to N-1, where N is the value of addrs. Each index shall follow the name of each item, e.g., ``prefixlen2''. prefixlen (num) Prefix length field. The default value is 64. pinfoflags (num) Flags field in prefix information option. Bit 7 (0x80) means On-link flag bit, and Bit 6 (0x40) means Autonomous ad- dress-configuration flag bit. The default value is 0xc0, i.e., both bits are set. addr (str) The address filled into Prefix field. Since ``:'' is used for termcap(5) file format as well as IPv6 numeric address, the field MUST be quoted by doublequote character. This field cannot be omitted if the value of addrs is more than 0. vltime (num) Valid lifetime field (unit: seconds). The default value is 2592000(30 days). pltime (num) Preferred lifetime field (unit: seconds). The default val- ue is 604800(7 days). The following items are for ICMPv6 MTU option, which will be attached to router advertisement header. mtu (num or str) MTU (maximum transmission unit) field. If 0 is specified, it means that the option will not be included. The default value is 0. If the special string ``auto'' is specified for this item, MTU option will be included and its value will be set to the interface MTU automatically. The following item controls ICMPv6 source link-layer address option, which will be attached to router advertisement header. nolladdr (bool) By default (if nolladdr is not specified), rtadvd(8) will try to get link-layer address for the interface from the kernel, and attach that in source link-layer address option. If this ca- pability exists, rtadvd(8) will not attach source link-layer ad- dress option to router advertisement packets. You can also refer one line from another by using tc capability. See termcap(5) for details on the capability.
EXAMPLE
# # common definitions. # default:\ :raflags#0:rltime#3600:\ :pinfoflags#64:vltime#360000:pltime#360000:mtu#1500: ether:\ :mtu#1280:tc=default: # # interfaces. # ef0:\ :addrs#1:\ :addr="3ffe:501:4819:1000::":tc=ether: ef1:\ :addrs#2:addr0="3ffe:501:4819:2000::":\ :addr1="3ffe:501:4819:3000::":tc=ether:
SEE ALSO
termcap(5), rtadvd(8), rtsol(8) Thomas Narten, Erik Nordmark and W. A. Simpson, ``Neighbor Discovery for IP version 6 (IPv6)'', RFC 2461
HISTORY
The rtadvd(8) and the configuration file rtadvd.conf first appeared in WIDE Hydrangea IPv6 protocol stack kit. NetBSD 1.5.3 May 17, 1998 3

Powered by man-cgi (2024-08-26). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.