New sentence, new line.
[netbsd-mini2440.git] / usr.sbin / route6d / route6d.8
blob0e21a50b5775d0e529f96baf82509e47853f9025
1 .\"     $NetBSD: route6d.8,v 1.12 2003/09/07 16:22:27 wiz Exp $
2 .\"     $KAME: route6d.8,v 1.11 2002/06/02 15:00:30 itojun Exp $
3 .\"
4 .\" Copyright (c) 1996 WIDE Project. All rights reserved.
5 .\"
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modifications, are permitted provided that the above copyright notice
8 .\" and this paragraph are duplicated in all such forms and that any
9 .\" documentation, advertising materials, and other materials related to
10 .\" such distribution and use acknowledge that the software was developed
11 .\" by the WIDE Project, Japan. The name of the Project may not be used to
12 .\" endorse or promote products derived from this software without
13 .\" specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS''
14 .\" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
15 .\" LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
16 .\" A PARTICULAR PURPOSE.
17 .Dd May 25, 2006
18 .Dt ROUTE6D 8
19 .Os
20 .Sh NAME
21 .Nm route6d
22 .Nd RIP6 routing daemon
23 .Sh SYNOPSIS
24 .Nm route6d
25 .Op Fl adDhlnqsS
26 .Bk -words
27 .Op Fl R Ar routelog
28 .Ek
29 .Bk -words
30 .Op Fl A Ar prefix/preflen,if1[,if2...]
31 .Ek
32 .Bk -words
33 .Op Fl L Ar prefix/preflen,if1[,if2...]
34 .Ek
35 .Bk -words
36 .Op Fl N Ar if1[,if2...]
37 .Ek
38 .Bk -words
39 .Op Fl O Ar prefix/preflen,if1[,if2...]
40 .Ek
41 .Bk -words
42 .Op Fl T Ar if1[,if2...]
43 .Ek
44 .Bk -words
45 .Op Fl t Ar tag
46 .Ek
47 .\"
48 .Sh DESCRIPTION
49 The
50 .Nm
51 is a routing daemon which supports RIP over IPv6.
52 .Pp
53 Options are:
54 .Bl -tag -width indent
55 .\"
56 .It Fl a
57 Enables aging of the statically defined routes.
58 With this option, any
59 statically defined routes will be removed unless corresponding updates
60 arrive as if the routes are received at the startup of
61 .Nm .
62 .\"
63 .It Fl R Ar routelog
64 This option makes
65 .Nm
66 log route changes (add/delete) to the file
67 .Ar routelog .
68 .\"
69 .It Fl A Ar prefix/preflen,if1[,if2...]
70 This option is used for aggregating routes.
71 .Ar prefix/preflen
72 specifies the prefix and the prefix length of the
73 aggregated route.
74 When advertising routes,
75 .Nm
76 filters specific routes covered by the aggregate
77 and advertises the aggregated route
78 .Ar prefix/preflen
79 to the interfaces specified in the comma-separated interface list
80 .Ar if1[,if2...] .
81 .Nm
82 creates a static route to
83 .Ar prefix/preflen ,
84 with the
85 .Dv RTF_REJECT
86 flag set, into the kernel routing table.
87 .\"
88 .It Fl d
89 Enables output of debugging messages.
90 This option also instructs
91 .Nm
92 to run in foreground mode
93 .Pq i.e., it does not become a daemon process .
94 .\"
95 .It Fl D
96 Enables extensive output of debugging messages.
97 This option also instructs
98 .Nm
99 to run in foreground mode
100 .Pq i.e., it does not become a daemon process .
102 .It Fl h
103 Disables split horizon processing.
105 .It Fl l
106 By default,
108 will not exchange site local routes for safety reasons.
109 This is because the semantics of site local address space are rather vague,
110 as the specification is still being worked on,
111 and there is no good way to define the site local boundary.
112 With
113 .Fl l ,
115 will exchange site local routes as well.
116 It must not be used on site boundary routers,
117 since
118 .Fl l
119 assumes that all interfaces are in the same site.
121 .It Fl L Ar prefix/preflen,if1[,if2...]
122 Filter incoming routes from interfaces
123 .Ar if1,[if2...] .
125 will accept incoming routes that are in
126 .Ar prefix/preflen .
127 If multiple
128 .Fl L
129 options are specified, all routes that match any of the options are accepted.
130 .Li ::/0
131 is treated specially as default route, not
133 any route that has longer prefix length than, or equal to 0
134 .Dc .
135 If you would like to accept any route, specify no
136 .Fl L
137 option.
138 For example, with
140 .Fl L
141 .Li 3ffe::/16,if1
142 .Fl L
143 .Li ::/0,if1
146 will accept the default route and routes in the 6bone test address range,
147 but no others.
149 .It Fl n
150 Do not update the kernel routing table.
152 .It Fl N Ar if1[,if2...]
153 Do not listen to, or advertise, route from/to interfaces specified by
154 .Ar if1,[if2...] .
156 .It Fl O Ar prefix/preflen,if1[,if2...]
157 Restrict route advertisement toward interfaces specified by
158 .Ar if1,[if2...] .
159 With this option
161 will only advertise routes that match
162 .Ar prefix/preflen .
164 .It Fl q
165 Makes
167 use listen-only mode.
168 No advertisement is sent.
170 .It Fl s
171 Makes
173 advertise the statically defined routes which exist in the kernel routing
174 table when
176 is invoked.
177 Announcements obey the regular split horizon rule.
179 .It Fl S
180 This option is the same as
181 .Fl s ,
182 except that the split horizon rule does apply.
184 .It Fl T Ar if1[,if2...]
185 Advertise only the default route toward
186 .Ar if1,[if2...] .
188 .It Fl t Ar tag
189 Attach the route tag
190 .Ar tag
191 to originated route entries.
192 .Ar tag
193 can be decimal, octal prefixed by
194 .Li 0 ,
195 or hexadecimal prefixed by
196 .Li 0x .
200 Upon receipt of signal
201 .Dv SIGINT
203 .Dv SIGUSR1 ,
205 will dump the current internal state into
206 .Pa /var/run/route6d_dump .
208 .Sh FILES
209 .Bl -tag -width /var/run/route6d_dump -compact
210 .It Pa /var/run/route6d_dump
211 contains the internal state dumps created if
213 receives a
214 .Dv SIGINT
216 .Dv SIGUSR1
217 signal
220 .Sh SEE ALSO
222 .%A G. Malkin
223 .%A R. Minnear
224 .%T RIPng for IPv6
225 .%R RFC 2080
226 .%D January 1997
229 .Sh NOTES
231 uses the advanced IPv6 API,
232 defined in RFC 3542,
233 for communicating with peers using link-local addresses.
235 Internally
237 embeds interface identifiers into bits 32 to 63 of link-local addresses
239 .Li fe80::xx
241 .Li ff02::xx
243 so they will be visible in the internal state dump file
244 .Pq Pa /var/run/route6d_dump .
246 Routing table manipulation differs from IPv6 implementation to implementation.
247 Currently
249 obeys the WIDE Hydrangea/KAME IPv6 kernel,
250 and will not be able to run on other platforms.
252 Currently,
254 does not reduce the rate of the triggered updates when consecutive updates
255 arrive.