1*b331eacbSjmc.\" $OpenBSD: route6d.8,v 1.28 2023/03/04 12:02:07 jmc Exp $ 295d6ac54Sitojun.\" $KAME: route6d.8,v 1.11 2002/06/02 15:00:30 itojun Exp $ 3912b3f33Sitojun.\" 4fd5e6f94Sitojun.\" Copyright (c) 1996 WIDE Project. All rights reserved. 5fd5e6f94Sitojun.\" 6fd5e6f94Sitojun.\" Redistribution and use in source and binary forms, with or without 7fd5e6f94Sitojun.\" modifications, are permitted provided that the above copyright notice 8fd5e6f94Sitojun.\" and this paragraph are duplicated in all such forms and that any 9fd5e6f94Sitojun.\" documentation, advertising materials, and other materials related to 10fd5e6f94Sitojun.\" such distribution and use acknowledge that the software was developed 11fd5e6f94Sitojun.\" by the WIDE Project, Japan. The name of the Project may not be used to 12fd5e6f94Sitojun.\" endorse or promote products derived from this software without 13fd5e6f94Sitojun.\" specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS'' 14fd5e6f94Sitojun.\" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT 15fd5e6f94Sitojun.\" LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 16fd5e6f94Sitojun.\" A PARTICULAR PURPOSE. 17c0d4f10aSjmc.\" 18*b331eacbSjmc.Dd $Mdocdate: March 4 2023 $ 19fd5e6f94Sitojun.Dt ROUTE6D 8 20912b3f33Sitojun.Os 21fd5e6f94Sitojun.Sh NAME 22fd5e6f94Sitojun.Nm route6d 23*b331eacbSjmc.Nd Routing Information Protocol (RIP) for IPv6 daemon 24fd5e6f94Sitojun.Sh SYNOPSIS 25fd5e6f94Sitojun.Nm route6d 262c7f82b2Sjca.Op Fl aDdhlnqSsu 27c0d4f10aSjmc.Sm off 2814e2e0b9Ssobrado.Op Fl A No \~ Ar prefix No / Ar preflen , Ar if1 Op , Ar if2 , ... 29c0d4f10aSjmc.Sm on 30c0d4f10aSjmc.Sm off 3114e2e0b9Ssobrado.Op Fl L No \~ Ar prefix No / Ar preflen , Ar if1 Op , Ar if2 , ... 32c0d4f10aSjmc.Sm on 33c0d4f10aSjmc.Sm off 3414e2e0b9Ssobrado.Op Fl N No \~ Ar if1 Op , Ar if2 , ... 35c0d4f10aSjmc.Sm on 36c0d4f10aSjmc.Sm off 3714e2e0b9Ssobrado.Op Fl O No \~ Ar prefix No / Ar preflen , Ar if1 Op , Ar if2 , ... 38c0d4f10aSjmc.Sm on 39c0d4f10aSjmc.Sm off 4014e2e0b9Ssobrado.Op Fl T No \~ Ar if1 Op , Ar if2 , ... 41c0d4f10aSjmc.Sm on 42fd5e6f94Sitojun.Op Fl t Ar tag 43fd5e6f94Sitojun.Sh DESCRIPTION 44fd5e6f94SitojunThe 45fd5e6f94Sitojun.Nm 46c0d4f10aSjmcutility is a routing daemon which supports RIP over IPv6. 47fd5e6f94Sitojun.Pp 48c0d4f10aSjmcThe options are as follows: 49fd5e6f94Sitojun.Bl -tag -width indent 50c0d4f10aSjmc.It Xo Fl A 51c0d4f10aSjmc.Sm off 5297fefd98Sschwarze.Ar prefix No / Ar preflen , 5397fefd98Sschwarze.Ar if1 54c0d4f10aSjmc.Op , Ar if2 , ... 55c0d4f10aSjmc.Sm on 56c0d4f10aSjmc.Xc 57fd5e6f94SitojunThis option is used for aggregating routes. 58c0d4f10aSjmc.Ar prefix Ns / Ns Ar preflen 59fd5e6f94Sitojunspecifies the prefix and the prefix length of the 60fd5e6f94Sitojunaggregated route. 61fd5e6f94SitojunWhen advertising routes, 62fd5e6f94Sitojun.Nm 6395d6ac54Sitojunfilters specific routes covered by the aggregate 64fd5e6f94Sitojunand advertises the aggregated route 65c0d4f10aSjmc.Ar prefix Ns / Ns Ar preflen 6695d6ac54Sitojunto the interfaces specified in the comma-separated interface list 67c0d4f10aSjmc.Sm off 68c0d4f10aSjmc.Ar if1 Op , Ar if2 , ... . 69c0d4f10aSjmc.Sm on 70fd5e6f94Sitojun.Nm 71fd5e6f94Sitojuncreates a static route to 72c0d4f10aSjmc.Ar prefix Ns / Ns Ar preflen , 7395d6ac54Sitojunwith the 74fd5e6f94Sitojun.Dv RTF_REJECT 7595d6ac54Sitojunflag set, into the kernel routing table. 76c0d4f10aSjmc.It Fl a 77c0d4f10aSjmcEnables aging of the statically defined routes. 78c0d4f10aSjmcWith this option, any 79c0d4f10aSjmcstatically defined routes will be removed unless corresponding updates 80c0d4f10aSjmcarrive as if the routes are received at the startup of 81c0d4f10aSjmc.Nm . 82fd5e6f94Sitojun.It Fl D 8395d6ac54SitojunEnables extensive output of debugging messages. 84fd5e6f94SitojunThis option also instructs 85fd5e6f94Sitojun.Nm 86fd5e6f94Sitojunto run in foreground mode 87c0d4f10aSjmc.Pq i.e. it does not become a daemon process . 88c0d4f10aSjmc.It Fl d 89c0d4f10aSjmcEnables output of debugging messages. 90c0d4f10aSjmcThis option also instructs 91c0d4f10aSjmc.Nm 92c0d4f10aSjmcto run in foreground mode 93c0d4f10aSjmc.Pq i.e. it does not become a daemon process . 94fd5e6f94Sitojun.It Fl h 9595d6ac54SitojunDisables split horizon processing. 96c0d4f10aSjmc.It Xo Fl L 97c0d4f10aSjmc.Sm off 9897fefd98Sschwarze.Ar prefix No / Ar preflen , 9997fefd98Sschwarze.Ar if1 100c0d4f10aSjmc.Op , Ar if2 , ... 101c0d4f10aSjmc.Sm on 102c0d4f10aSjmc.Xc 103c0d4f10aSjmcFilter incoming routes from interfaces 104c0d4f10aSjmc.Sm off 105c0d4f10aSjmc.Ar if1 Op , Ar if2 , ... . 106c0d4f10aSjmc.Sm on 107c0d4f10aSjmc.Nm 108c0d4f10aSjmcwill accept incoming routes that are in 109c0d4f10aSjmc.Ar prefix Ns / Ns Ar preflen . 110c0d4f10aSjmcIf multiple 111c0d4f10aSjmc.Fl L 112c0d4f10aSjmcoptions are specified, all routes that match any of the options are accepted. 113c0d4f10aSjmc.Li ::/0 114c0d4f10aSjmcis treated specially as the default route, not 115c0d4f10aSjmc.Do 116c0d4f10aSjmcany route that has longer prefix length than, or equal to, 0 117c0d4f10aSjmc.Dc . 118c0d4f10aSjmcFor example, with 11966fe0d23Sjca.Dq -L 2001:db8::/32,if1 -L ::/0,if1 , 120c0d4f10aSjmc.Nm 12166fe0d23Sjcawill accept the default route and routes in the 2001:db8::/32 address range, 122c0d4f10aSjmcbut no others. 123c0d4f10aSjmcTo accept any route, simply do not specify the 124c0d4f10aSjmc.Fl L 125c0d4f10aSjmcoption. 126fd5e6f94Sitojun.It Fl l 127fd5e6f94SitojunBy default, 128fd5e6f94Sitojun.Nm 129fd5e6f94Sitojunwill not exchange site local routes for safety reasons. 13095d6ac54SitojunThis is because the semantics of site local address space are rather vague, 13195d6ac54Sitojunas the specification is still being worked on, 13295d6ac54Sitojunand there is no good way to define the site local boundary. 133fd5e6f94SitojunWith 13495d6ac54Sitojun.Fl l , 135fd5e6f94Sitojun.Nm 136fd5e6f94Sitojunwill exchange site local routes as well. 137fd5e6f94SitojunIt must not be used on site boundary routers, 138fd5e6f94Sitojunsince 139fd5e6f94Sitojun.Fl l 14095d6ac54Sitojunassumes that all interfaces are in the same site. 141c0d4f10aSjmc.It Xo 142c0d4f10aSjmc.Fl N 143c0d4f10aSjmc.Sm off 144c0d4f10aSjmc.Ar if1 145c0d4f10aSjmc.Op , Ar if2 , ... 146c0d4f10aSjmc.Sm on 147c0d4f10aSjmc.Xc 148c0d4f10aSjmcDo not listen to, or advertise, route from/to interfaces specified by 149c0d4f10aSjmc.Sm off 150c0d4f10aSjmc.Ar if1 Op , Ar if2 , ... . 151c0d4f10aSjmc.Sm on 15295d6ac54Sitojun.It Fl n 15395d6ac54SitojunDo not update the kernel routing table. 154c0d4f10aSjmc.It Xo Fl O 155c0d4f10aSjmc.Sm off 15697fefd98Sschwarze.Ar prefix No / Ar preflen , 15797fefd98Sschwarze.Ar if1 158c0d4f10aSjmc.Op , Ar if2 , ... 159c0d4f10aSjmc.Sm on 160c0d4f10aSjmc.Xc 161fd5e6f94SitojunRestrict route advertisement toward interfaces specified by 162c0d4f10aSjmc.Sm off 163c0d4f10aSjmc.Ar if1 Op , Ar if2 , ... . 164c0d4f10aSjmc.Sm on 165fd5e6f94SitojunWith this option 166fd5e6f94Sitojun.Nm 16795d6ac54Sitojunwill only advertise routes that match 168c0d4f10aSjmc.Ar prefix Ns / Ns Ar preflen . 169fd5e6f94Sitojun.It Fl q 170fd5e6f94SitojunMakes 171fd5e6f94Sitojun.Nm 17295d6ac54Sitojunuse listen-only mode. 173fd5e6f94SitojunNo advertisement is sent. 174c0d4f10aSjmc.It Fl S 175c0d4f10aSjmcThis option is the same as 176c0d4f10aSjmc.Fl s , 177c0d4f10aSjmcexcept that the split horizon rule does apply. 178fd5e6f94Sitojun.It Fl s 179fd5e6f94SitojunMakes 180fd5e6f94Sitojun.Nm 18195d6ac54Sitojunadvertise the statically defined routes which exist in the kernel routing 182fd5e6f94Sitojuntable when 183fd5e6f94Sitojun.Nm 18495d6ac54Sitojunis invoked. 185fd5e6f94SitojunAnnouncements obey the regular split horizon rule. 186c0d4f10aSjmc.It Xo 187c0d4f10aSjmc.Fl T 188c0d4f10aSjmc.Sm off 189c0d4f10aSjmc.Ar if1 190c0d4f10aSjmc.Op , Ar if2 , ... 191c0d4f10aSjmc.Sm on 192c0d4f10aSjmc.Xc 19395d6ac54SitojunAdvertise only the default route toward 194c0d4f10aSjmc.Sm off 195c0d4f10aSjmc.Ar if1 Op , Ar if2 , ... . 196c0d4f10aSjmc.Sm on 197fd5e6f94Sitojun.It Fl t Ar tag 19895d6ac54SitojunAttach the route tag 199fd5e6f94Sitojun.Ar tag 200fd5e6f94Sitojunto originated route entries. 201fd5e6f94Sitojun.Ar tag 202fd5e6f94Sitojuncan be decimal, octal prefixed by 203fd5e6f94Sitojun.Li 0 , 204fd5e6f94Sitojunor hexadecimal prefixed by 205fd5e6f94Sitojun.Li 0x . 2062c7f82b2Sjca.It Fl u 2072c7f82b2SjcaAlways log route updates (insertions and deletions). 2082c7f82b2SjcaRoute updates are always prefixed with 2092c7f82b2Sjca.Dq RTADD 2102c7f82b2Sjcaor 2112c7f82b2Sjca.Dq RTDEL . 212fd5e6f94Sitojun.El 213fd5e6f94Sitojun.Pp 214fd5e6f94SitojunUpon receipt of signal 215fd5e6f94Sitojun.Dv SIGINT 216fd5e6f94Sitojunor 217fd5e6f94Sitojun.Dv SIGUSR1 , 218fd5e6f94Sitojun.Nm 219b034567aSjcawill log a dump of the current internal state. 220fd5e6f94Sitojun.Sh SEE ALSO 221617bff53Sclaudio.Xr ripd 8 222e8dc2910Sjmc.Sh STANDARDS 223fd5e6f94Sitojun.Rs 224528c0d0aSderaadt.%A G. Malkin 225528c0d0aSderaadt.%A R. Minnear 226fd5e6f94Sitojun.%D January 1997 227e8dc2910Sjmc.%R RFC 2080 228e8dc2910Sjmc.%T RIPng for IPv6 229fd5e6f94Sitojun.Re 23095d6ac54Sitojun.Sh NOTES 23160ed561cSitojun.Nm 23295d6ac54Sitojunuses the advanced IPv6 API, 2334339cb21Sjmcdefined in RFC 3542, 234fd5e6f94Sitojunfor communicating with peers using link-local addresses. 235fd5e6f94Sitojun.Pp 236fd5e6f94SitojunRouting table manipulation differs from IPv6 implementation to implementation. 237fd5e6f94SitojunCurrently 238fd5e6f94Sitojun.Nm 23995d6ac54Sitojunobeys the WIDE Hydrangea/KAME IPv6 kernel, 240fd5e6f94Sitojunand will not be able to run on other platforms. 241fd5e6f94Sitojun.Pp 24295d6ac54SitojunCurrently, 243fd5e6f94Sitojun.Nm 244fd5e6f94Sitojundoes not reduce the rate of the triggered updates when consecutive updates 245fd5e6f94Sitojunarrive. 246