1 .\" $KAME: rtadvd.conf.5,v 1.50 2005/01/14 05:30:59 jinmei Exp $
3 .\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. Neither the name of the project nor the names of its contributors
15 .\" may be used to endorse or promote products derived from this software
16 .\" without specific prior written permission.
18 .\" THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
19 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
22 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37 .Nd config file for router advertisement daemon
39 This file describes how the router advertisement packets must be constructed
40 for each of the interfaces.
44 you do not have to set this configuration file up at all,
45 unless you need some special configurations.
46 You may even omit the file as a whole.
49 daemon will automatically configure itself using default values
50 specified in the specification.
55 Each line in the file describes a network interface.
56 Fields are separated by a colon
58 and each field contains one capability description.
59 Lines may be concatenated by the
62 The comment marker is the
66 Capabilities describe the value to be filled into ICMPv6 router
67 advertisement messages and to control
70 Therefore, you are encouraged to read IETF neighbor discovery documents
71 if you would like to modify the sample configuration file.
73 Note that almost all items have default values.
74 If you omit an item, the default value of the item will be used.
76 There are two items which control the interval of sending router advertisements.
77 These items can be omitted, then
79 will use the default values.
80 .Bl -tag -width indent
82 (num) The maximum time allowed between sending unsolicited
83 multicast router advertisements
85 The default value is 600.
86 Its value must be no less than 4 seconds
87 and no greater than 1800 seconds.
89 (num) The minimum time allowed between sending unsolicited multicast
92 The default value is the one third of value of
94 Its value must be no less than 3 seconds and no greater than .75 *
99 The following items are for ICMPv6 router advertisement message
101 These items can be omitted, then
103 will use the default values.
104 .Bl -tag -width indent
106 (num) The value for Cur Hop Limit field.
107 The default value is 64.
109 (str or num) A 8-bit flags field in router advertisement message header.
110 This field can be specified either as a case-sensitive string or as an
112 A sting consists of characters each of which corresponds to a
113 particular flag bit(s).
114 An integer should be the logical OR of all enabled bits.
119 means Managed address configuration flag bit,
124 means Other stateful configuration flag bit.
133 are used to encode router preference.
138 means high, 00 means medium, and 11
143 Bits 10 is reserved, and must not be specified.
144 There is no character to specify the medium preference explicitly.
145 The default value of the entire flag is 0
149 which means no additional
150 configuration methods, and the medium router preference.
152 (num) Router lifetime field
154 The value must be either zero or between
160 runs on a host, this value must explicitly set 0 on all the
161 advertising interfaces as described in
163 The default value is 1800.
165 (num) Reachable time field
166 .Pq unit: milliseconds .
167 The default value is 0, which means unspecified by this router.
169 (num) Retrans Timer field
170 .Pq unit: milliseconds .
171 The default value is 0, which means unspecified by this router.
174 The following items are for ICMPv6 prefix information option,
175 which will be attached to router advertisement header.
176 These items can be omitted, then
178 will automatically get appropriate prefixes from the kernel's routing table,
179 and advertise the prefixes with the default parameters.
182 can be augmented with a number, like
184 to specify multiple prefixes.
185 .Bl -tag -width indent
187 (num) Time skew to adjust link propagation delays and clock skews
188 between routers on the link
190 This value is used in consistency check for locally-configured and
191 advertised prefix lifetimes, and has its meaning when the local router
192 configures a prefix on the link with a lifetime that decrements in
194 If the value is 0, it means the consistency check will be skipped
196 The default value is 0.
198 (num) Prefix length field.
199 The default value is 64.
201 (str or num) A 8-bit flags field in prefix information option.
202 This field can be specified either as a case-sensitive string or as an
204 A sting consists of characters each of which corresponds to a
205 particular flag bit(s).
206 An integer should be the logical OR of all enabled bits.
211 means On-link flag bit,
216 means Autonomous address-configuration flag bit.
217 The default value is "la" or 0xc0, i.e., both bits are set.
219 (str) The address filled into Prefix field.
224 file format as well as IPv6 numeric address, the field MUST be quoted by
225 doublequote character.
227 (num) Valid lifetime field
229 The default value is 2592000 (30 days).
231 (bool) This item means the advertised valid lifetime will decrement
232 in real time, which is disabled by default.
234 (num) Preferred lifetime field
236 The default value is 604800 (7 days).
238 (bool) This item means the advertised preferred lifetime will decrement
239 in real time, which is disabled by default.
242 The following item is for ICMPv6 MTU option,
243 which will be attached to router advertisement header.
244 This item can be omitted, then
246 will use the default value.
247 .Bl -tag -width indent
249 (num or str) MTU (maximum transmission unit) field.
250 If 0 is specified, it means that the option will not be included.
251 The default value is 0.
252 If the special string
254 is specified for this item, MTU option will be included and its value
255 will be set to the interface MTU automatically.
258 The following item controls ICMPv6 source link-layer address option,
259 which will be attached to router advertisement header.
260 As noted above, you can just omit the item, then
262 will use the default value.
263 .Bl -tag -width indent
272 will try to get link-layer address for the interface from the kernel,
273 and attach that in source link-layer address option.
274 If this capability exists,
276 will not attach source link-layer address option to
277 router advertisement packets.
280 The following item controls ICMPv6 home agent information option,
281 which was defined with mobile IPv6 support.
282 It will be attached to router advertisement header just like other options do.
283 .Bl -tag -width indent
285 (num) Specifies home agent preference.
288 must be present as well.
290 (num) Specifies home agent lifetime.
293 When mobile IPv6 support is turned on for
295 advertisement interval option will be attached to router advertisement
296 packet, by configuring
300 The following items are for ICMPv6 route information option,
301 which will be attached to router advertisement header.
302 These items are optional.
303 Each items can be augmented with number, like
305 to specify multiple routes.
306 .Bl -tag -width indent
308 (str) The prefix filled into the Prefix field of route information option.
313 file format as well as IPv6 numeric address, the field MUST be quoted by
314 doublequote character.
316 (num) Prefix length field in route information option.
317 The default value is 64.
319 (str or num) A 8-bit flags field in route information option.
320 Currently only the preference values are defined.
321 The notation is same as that of the raflags field.
331 are used to encode the route preference for the route.
332 The default value is 0x00, i.e., medium preference.
334 (num) route lifetime field in route information option.
336 Since the specification does not define the default value of this
337 item, the value for this item should be specified by hand.
340 allows this item to be unspecified, and uses the router lifetime
341 as the default value in such a case, just for compatibility with an
342 old version of the program.
345 In the above list, each keyword beginning with
347 could be replaced with the one beginning with
349 for backward compatibility reason.
352 is accepted instead of
354 However, keywords that start with
356 have basically been obsoleted, and should not be used any more.
358 You can also refer one line from another by using
363 for details on the capability.
365 As presented above, all of the advertised parameters have default values
366 defined in specifications, and hence you usually do not have to set them
367 by hand, unless you need special non-default values.
368 It can cause interoperability problem if you use an ill-configured
371 To override a configuration parameter, you can specify the parameter alone.
372 With the following configuration,
374 overrides the router lifetime parameter for the
382 The following example manually configures prefixes advertised from the
385 The configuration must be used with the
391 :addr="3ffe:501:ffff:1000::":prefixlen#64:
394 The following example presents the default values in an explicit manner.
395 The configuration is provided just for reference purposes;
396 YOU DO NOT NEED TO HAVE IT AT ALL.
399 :chlim#64:raflags#0:rltime#1800:rtime#0:retrans#0:\\
400 :pinfoflags="la":vltime#2592000:pltime#604800:mtu#0:
402 :addr="3ffe:501:ffff:1000::":prefixlen#64:tc=default:
412 .%T Neighbor Discovery for IP version 6 (IPv6)
417 .%T Default Router Preferences and More-Specific Routes
418 .%R draft-ietf-ipngwg-router-selection-xx.txt
423 and the configuration file
425 first appeared in WIDE Hydrangea IPv6 protocol stack kit.