1 .\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
12 .\" 3. Neither the name of the project nor the names of its contributors
13 .\" may be used to endorse or promote products derived from this software
14 .\" without specific prior written permission.
16 .\" THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
17 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
20 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 .\" $Id: rtadvd.conf.5,v 1.1.1.1 1999/08/08 23:31:42 itojun Exp $
36 .Nd config file for router advertisement daemon
38 The file describes how the router advertisement packet must be constructed
39 for each of the interfaces.
44 Each line in the file describes a network interface.
45 Fields are separated by a colon
49 and each field contains one capability description.
50 Lines may be concatenated by \e character.
51 The comment marker is `#' character.
54 Capabilities describe the value to be filled into ICMPv6 router
55 advertisement message and to control
58 Therefore, you are encouraged to read IETF neighbor discovery documents
59 if you would like to modify sample configuration file.
61 Note that almost all items have default values.
62 If you omit an item, the default value of the item will be used.
64 There are two items to control interval of sending router advertisements.
65 .Bl -tag -width indent
67 (num) The maximum time allowed between sending unsolicited
68 multicast router advertisements
70 The default value is 600. Its value must be no less than 4 seconds
71 and no greater than 1800 seconds.
73 (num) The minimum time allowed between sending unsolicited multicast
76 The default value is the one third of value of
78 Its value must be no less than 3 seconds and no greater than .75 *
83 The following items are for ICMPv6 router advertisement message
85 .Bl -tag -width indent
87 (num) The value for Cur Hop Limit field.
88 The default value is 64.
90 (num) Flags field in router advertisement message header.
95 means Managed address configuration flag bit,
100 means Other stateful configuration flag bit.
101 The default value is 0.
103 (num) Router lifetime field
105 Its value must be no greater than 3600000.
106 The default value is 1800.
108 (num) Reachable time field
109 .Pq unit: milliseconds .
110 The default value is 0, which means unspecified by this router.
112 (num) Retrans Timer field
113 .Pq unit: milliseconds .
114 The default value is 0, which means unspecified by this router.
117 The following items are for ICMPv6 prefix information option,
118 which will be attached to router advertisement header.
119 .Bl -tag -width indent
121 (num) Number of prefixes.
122 Its default is 0, so it must explicitly be set to positve values
123 if you want to specify any prefix information option.
126 looks up the system routing table and
127 advertise the prefixes corresponding to interface routes
129 If its value is more than 1, you must specify the index of the prefix
131 Indices vary from 0 to N-1, where N is the
134 Each index shall follows the name of each item, e.g.
137 (num) Prefix length field.
138 The default value is 64.
140 (num) Flags field in prefix information option.
145 means On-link flag bit,
150 means Autonomous address-configuration flag bit.
151 The default value is 0xc0, i.e. both bits are set.
153 (str) The address filled into Prefix field.
158 file format as well as IPv6 numeric address, the field MUST be quoted by
159 doublequote character.
161 omitted if the value of
165 (num) Valid lifetime field
167 The default value is 2592000(30 days).
169 (num) Preferred lifetime field
171 The default value is 604800(7 days).
174 The following items are for ICMPv6 MTU option,
175 which will be attached to router advertisement header.
176 .Bl -tag -width indent
178 (num or str) MTU (maximum transmission unit) field.
179 If 0 is specified, it means that the option will not be included.
180 The default value is 0. If the special string
182 is specified for this item, MTU option will be included and its value
183 will be set to the interface MTU automatically.
186 The following item controls ICMPv6 source link-layer address option,
187 which will be attached to router advertisement header.
188 .Bl -tag -width indent
197 will try to get link-layer address for the interface from the kernel,
198 and attach that in source link-layer address option.
199 If this capability exists,
201 will not attach source link-layer address option to
202 router advertisement packets.
205 You can also refer one line from another by using
210 for details on the capability.
214 # common definitions.
217 :raflags#0:rltime#3600:\\
218 :pinfoflags#64:vltime#360000:pltime#360000:mtu#1500:
220 :mtu#1280:tc=default:
227 :addr="3ffe:501:4819:1000::":tc=ether:
229 :addrs#2:addr0="3ffe:501:4819:2000::":\\
230 :addr1="3ffe:501:4819:3000::":tc=ether:
238 Thomas Narten, Erik Nordmark and W. A. Simpson,
240 Neighbor Discovery for IP version 6 (IPv6)
246 and the configuration file
248 first appeared in WIDE Hydrangea IPv6 protocol stack kit.