xref: /openbsd/usr.sbin/route6d/route6d.8 (revision 73471bf0)
1.\"	$OpenBSD: route6d.8,v 1.27 2016/08/12 14:04:34 jca 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.\"
18.Dd $Mdocdate: August 12 2016 $
19.Dt ROUTE6D 8
20.Os
21.Sh NAME
22.Nm route6d
23.Nd RIP6 routing daemon
24.Sh SYNOPSIS
25.Nm route6d
26.Op Fl aDdhlnqSsu
27.Sm off
28.Op Fl A No \~ Ar prefix No / Ar preflen , Ar if1 Op , Ar if2 , ...
29.Sm on
30.Sm off
31.Op Fl L No \~ Ar prefix No / Ar preflen , Ar if1 Op , Ar if2 , ...
32.Sm on
33.Sm off
34.Op Fl N No \~ Ar if1 Op , Ar if2 , ...
35.Sm on
36.Sm off
37.Op Fl O No \~ Ar prefix No / Ar preflen , Ar if1 Op , Ar if2 , ...
38.Sm on
39.Sm off
40.Op Fl T No \~ Ar if1 Op , Ar if2 , ...
41.Sm on
42.Op Fl t Ar tag
43.Sh DESCRIPTION
44The
45.Nm
46utility is a routing daemon which supports RIP over IPv6.
47.Pp
48The options are as follows:
49.Bl -tag -width indent
50.It Xo Fl A
51.Sm off
52.Ar prefix No / Ar preflen ,
53.Ar if1
54.Op , Ar if2 , ...
55.Sm on
56.Xc
57This option is used for aggregating routes.
58.Ar prefix Ns / Ns Ar preflen
59specifies the prefix and the prefix length of the
60aggregated route.
61When advertising routes,
62.Nm
63filters specific routes covered by the aggregate
64and advertises the aggregated route
65.Ar prefix Ns / Ns Ar preflen
66to the interfaces specified in the comma-separated interface list
67.Sm off
68.Ar if1 Op , Ar if2 , ... .
69.Sm on
70.Nm
71creates a static route to
72.Ar prefix Ns / Ns Ar preflen ,
73with the
74.Dv RTF_REJECT
75flag set, into the kernel routing table.
76.It Fl a
77Enables aging of the statically defined routes.
78With this option, any
79statically defined routes will be removed unless corresponding updates
80arrive as if the routes are received at the startup of
81.Nm .
82.It Fl D
83Enables extensive output of debugging messages.
84This option also instructs
85.Nm
86to run in foreground mode
87.Pq i.e. it does not become a daemon process .
88.It Fl d
89Enables output of debugging messages.
90This option also instructs
91.Nm
92to run in foreground mode
93.Pq i.e. it does not become a daemon process .
94.It Fl h
95Disables split horizon processing.
96.It Xo Fl L
97.Sm off
98.Ar prefix No / Ar preflen ,
99.Ar if1
100.Op , Ar if2 , ...
101.Sm on
102.Xc
103Filter incoming routes from interfaces
104.Sm off
105.Ar if1 Op , Ar if2 , ... .
106.Sm on
107.Nm
108will accept incoming routes that are in
109.Ar prefix Ns / Ns Ar preflen .
110If multiple
111.Fl L
112options are specified, all routes that match any of the options are accepted.
113.Li ::/0
114is treated specially as the default route, not
115.Do
116any route that has longer prefix length than, or equal to, 0
117.Dc .
118For example, with
119.Dq -L 2001:db8::/32,if1 -L ::/0,if1 ,
120.Nm
121will accept the default route and routes in the 2001:db8::/32 address range,
122but no others.
123To accept any route, simply do not specify the
124.Fl L
125option.
126.It Fl l
127By default,
128.Nm
129will not exchange site local routes for safety reasons.
130This is because the semantics of site local address space are rather vague,
131as the specification is still being worked on,
132and there is no good way to define the site local boundary.
133With
134.Fl l ,
135.Nm
136will exchange site local routes as well.
137It must not be used on site boundary routers,
138since
139.Fl l
140assumes that all interfaces are in the same site.
141.It Xo
142.Fl N
143.Sm off
144.Ar if1
145.Op , Ar if2 , ...
146.Sm on
147.Xc
148Do not listen to, or advertise, route from/to interfaces specified by
149.Sm off
150.Ar if1 Op , Ar if2 , ... .
151.Sm on
152.It Fl n
153Do not update the kernel routing table.
154.It Xo Fl O
155.Sm off
156.Ar prefix No / Ar preflen ,
157.Ar if1
158.Op , Ar if2 , ...
159.Sm on
160.Xc
161Restrict route advertisement toward interfaces specified by
162.Sm off
163.Ar if1 Op , Ar if2 , ... .
164.Sm on
165With this option
166.Nm
167will only advertise routes that match
168.Ar prefix Ns / Ns Ar preflen .
169.It Fl q
170Makes
171.Nm
172use listen-only mode.
173No advertisement is sent.
174.It Fl S
175This option is the same as
176.Fl s ,
177except that the split horizon rule does apply.
178.It Fl s
179Makes
180.Nm
181advertise the statically defined routes which exist in the kernel routing
182table when
183.Nm
184is invoked.
185Announcements obey the regular split horizon rule.
186.It Xo
187.Fl T
188.Sm off
189.Ar if1
190.Op , Ar if2 , ...
191.Sm on
192.Xc
193Advertise only the default route toward
194.Sm off
195.Ar if1 Op , Ar if2 , ... .
196.Sm on
197.It Fl t Ar tag
198Attach the route tag
199.Ar tag
200to originated route entries.
201.Ar tag
202can be decimal, octal prefixed by
203.Li 0 ,
204or hexadecimal prefixed by
205.Li 0x .
206.It Fl u
207Always log route updates (insertions and deletions).
208Route updates are always prefixed with
209.Dq RTADD
210or
211.Dq RTDEL .
212.El
213.Pp
214Upon receipt of signal
215.Dv SIGINT
216or
217.Dv SIGUSR1 ,
218.Nm
219will log a dump of the current internal state.
220.Sh SEE ALSO
221.Xr ripd 8
222.Sh STANDARDS
223.Rs
224.%A G. Malkin
225.%A R. Minnear
226.%D January 1997
227.%R RFC 2080
228.%T RIPng for IPv6
229.Re
230.Sh NOTES
231.Nm
232uses the advanced IPv6 API,
233defined in RFC 3542,
234for communicating with peers using link-local addresses.
235.Pp
236Routing table manipulation differs from IPv6 implementation to implementation.
237Currently
238.Nm
239obeys the WIDE Hydrangea/KAME IPv6 kernel,
240and will not be able to run on other platforms.
241.Pp
242Currently,
243.Nm
244does not reduce the rate of the triggered updates when consecutive updates
245arrive.
246