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