133841545SHajimu UMEMOTO.\" $KAME: route6d.8,v 1.10 2000/11/24 11:57:18 itojun Exp $ 220cecd0fSJun-ichiro itojun Hagino.\" 37d56d374SYoshinobu Inoue.\" Copyright (c) 1996 WIDE Project. All rights reserved. 47d56d374SYoshinobu Inoue.\" 57d56d374SYoshinobu Inoue.\" Redistribution and use in source and binary forms, with or without 67d56d374SYoshinobu Inoue.\" modifications, are permitted provided that the above copyright notice 77d56d374SYoshinobu Inoue.\" and this paragraph are duplicated in all such forms and that any 87d56d374SYoshinobu Inoue.\" documentation, advertising materials, and other materials related to 97d56d374SYoshinobu Inoue.\" such distribution and use acknowledge that the software was developed 107d56d374SYoshinobu Inoue.\" by the WIDE Project, Japan. The name of the Project may not be used to 117d56d374SYoshinobu Inoue.\" endorse or promote products derived from this software without 127d56d374SYoshinobu Inoue.\" specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS'' 137d56d374SYoshinobu Inoue.\" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT 147d56d374SYoshinobu Inoue.\" LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 157d56d374SYoshinobu Inoue.\" A PARTICULAR PURPOSE. 166b806d21SRuslan Ermilov.\" 170fa8505bSHiroki Sato.Dd November 18, 2012 187d56d374SYoshinobu Inoue.Dt ROUTE6D 8 1933841545SHajimu UMEMOTO.Os 207d56d374SYoshinobu Inoue.Sh NAME 217d56d374SYoshinobu Inoue.Nm route6d 227d56d374SYoshinobu Inoue.Nd RIP6 Routing Daemon 237d56d374SYoshinobu Inoue.Sh SYNOPSIS 24e97407b4SRuslan Ermilov.Nm 2533841545SHajimu UMEMOTO.Op Fl adDhlnqsS 2620cecd0fSJun-ichiro itojun Hagino.Bk -words 277d56d374SYoshinobu Inoue.Op Fl R Ar routelog 2820cecd0fSJun-ichiro itojun Hagino.Ek 2920cecd0fSJun-ichiro itojun Hagino.Bk -words 308b5c4af3SRuslan Ermilov.Op Fl A Ar prefix/preflen,if1[,if2...\&] 3120cecd0fSJun-ichiro itojun Hagino.Ek 3220cecd0fSJun-ichiro itojun Hagino.Bk -words 338b5c4af3SRuslan Ermilov.Op Fl L Ar prefix/preflen,if1[,if2...\&] 3420cecd0fSJun-ichiro itojun Hagino.Ek 3520cecd0fSJun-ichiro itojun Hagino.Bk -words 368b5c4af3SRuslan Ermilov.Op Fl N Ar if1[,if2...\&] 3720cecd0fSJun-ichiro itojun Hagino.Ek 3820cecd0fSJun-ichiro itojun Hagino.Bk -words 398b5c4af3SRuslan Ermilov.Op Fl O Ar prefix/preflen,if1[,if2...\&] 4020cecd0fSJun-ichiro itojun Hagino.Ek 4120cecd0fSJun-ichiro itojun Hagino.Bk -words 420fa8505bSHiroki Sato.Op Fl P Ar number 430fa8505bSHiroki Sato.Ek 440fa8505bSHiroki Sato.Bk -words 450fa8505bSHiroki Sato.Op Fl p Ar pidfile 460fa8505bSHiroki Sato.Ek 470fa8505bSHiroki Sato.Bk -words 480fa8505bSHiroki Sato.Op Fl Q Ar number 490fa8505bSHiroki Sato.Ek 500fa8505bSHiroki Sato.Bk -words 518b5c4af3SRuslan Ermilov.Op Fl T Ar if1[,if2...\&] 5220cecd0fSJun-ichiro itojun Hagino.Ek 5320cecd0fSJun-ichiro itojun Hagino.Bk -words 547d56d374SYoshinobu Inoue.Op Fl t Ar tag 5520cecd0fSJun-ichiro itojun Hagino.Ek 567d56d374SYoshinobu Inoue.\" 577d56d374SYoshinobu Inoue.Sh DESCRIPTION 587d56d374SYoshinobu InoueThe 597d56d374SYoshinobu Inoue.Nm 60490d5836SPhilippe Charnierutility is a routing daemon which supports RIP over IPv6. 617d56d374SYoshinobu Inoue.Pp 627d56d374SYoshinobu InoueOptions are: 637d56d374SYoshinobu Inoue.Bl -tag -width indent 647d56d374SYoshinobu Inoue.\" 657d56d374SYoshinobu Inoue.It Fl a 667d56d374SYoshinobu InoueEnables aging of the statically defined routes. 677d56d374SYoshinobu InoueWith this option, any 687d56d374SYoshinobu Inouestatically defined routes will be removed unless corresponding updates 697d56d374SYoshinobu Inouearrive as if the routes are received at the startup of 70e97407b4SRuslan Ermilov.Nm . 717d56d374SYoshinobu Inoue.\" 727d56d374SYoshinobu Inoue.It Fl R Ar routelog 737d56d374SYoshinobu InoueThis option makes the 747d56d374SYoshinobu Inoue.Nm 757d56d374SYoshinobu Inoueto log the route change (add/delete) to the file 767d56d374SYoshinobu Inoue.Ar routelog . 777d56d374SYoshinobu Inoue.\" 787d56d374SYoshinobu Inoue.It Fl A Ar prefix/preflen,if1[,if2...] 797d56d374SYoshinobu InoueThis option is used for aggregating routes. 807d56d374SYoshinobu Inoue.Ar prefix/preflen 817d56d374SYoshinobu Inouespecifies the prefix and the prefix length of the 827d56d374SYoshinobu Inoueaggregated route. 837d56d374SYoshinobu InoueWhen advertising routes, 847d56d374SYoshinobu Inoue.Nm 857d56d374SYoshinobu Inouefilters specific routes covered by the aggregate, 867d56d374SYoshinobu Inoueand advertises the aggregated route 877d56d374SYoshinobu Inoue.Ar prefix/preflen , 887d56d374SYoshinobu Inoueto the interfaces specified in the comma-separated interface list, 897d56d374SYoshinobu Inoue.Ar if1[,if2...] . 900fa8505bSHiroki SatoThe characters 910fa8505bSHiroki Sato.Qq Li * , 920fa8505bSHiroki Sato.Qq Li \&? , 930fa8505bSHiroki Satoand 94*f5d1e6f5SJoel Dahl.Qq Li \&[ 950fa8505bSHiroki Satoin the interface list will be interpreted as shell-style pattern. 96490d5836SPhilippe CharnierThe 977d56d374SYoshinobu Inoue.Nm 98490d5836SPhilippe Charnierutility creates a static route to 997d56d374SYoshinobu Inoue.Ar prefix/preflen 1007d56d374SYoshinobu Inouewith 1017d56d374SYoshinobu Inoue.Dv RTF_REJECT 1027d56d374SYoshinobu Inoueflag, into the kernel routing table. 1037d56d374SYoshinobu Inoue.\" 1047d56d374SYoshinobu Inoue.It Fl d 1057d56d374SYoshinobu InoueEnables output of debugging message. 1067d56d374SYoshinobu InoueThis option also instructs 1077d56d374SYoshinobu Inoue.Nm 1087d56d374SYoshinobu Inoueto run in foreground mode 109c4d9468eSRuslan Ermilov(does not become daemon). 1107d56d374SYoshinobu Inoue.\" 1117d56d374SYoshinobu Inoue.It Fl D 1127d56d374SYoshinobu InoueEnables extensive output of debugging message. 1137d56d374SYoshinobu InoueThis option also instructs 1147d56d374SYoshinobu Inoue.Nm 1157d56d374SYoshinobu Inoueto run in foreground mode 116c4d9468eSRuslan Ermilov(does not become daemon). 1177d56d374SYoshinobu Inoue.\" 1187d56d374SYoshinobu Inoue.It Fl h 1197d56d374SYoshinobu InoueDisables the split horizon processing. 1207d56d374SYoshinobu Inoue.\" 1217d56d374SYoshinobu Inoue.It Fl l 1227d56d374SYoshinobu InoueBy default, 1237d56d374SYoshinobu Inoue.Nm 1247d56d374SYoshinobu Inouewill not exchange site local routes for safety reasons. 12520cecd0fSJun-ichiro itojun HaginoThis is because semantics of site local address space is rather vague 126c4d9468eSRuslan Ermilov(specification is still in being worked), 1277d56d374SYoshinobu Inoueand there is no good way to define site local boundary. 1287d56d374SYoshinobu InoueWith 1297d56d374SYoshinobu Inoue.Fl l 1307d56d374SYoshinobu Inoueoption, 1317d56d374SYoshinobu Inoue.Nm 1327d56d374SYoshinobu Inouewill exchange site local routes as well. 1337d56d374SYoshinobu InoueIt must not be used on site boundary routers, 1347d56d374SYoshinobu Inouesince 1357d56d374SYoshinobu Inoue.Fl l 1367d56d374SYoshinobu Inoueoption assumes that all interfaces are in the same site. 1377d56d374SYoshinobu Inoue.\" 1387d56d374SYoshinobu Inoue.It Fl L Ar prefix/preflen,if1[,if2...] 1397d56d374SYoshinobu InoueFilter incoming routes from interfaces 1407d56d374SYoshinobu Inoue.Ar if1,[if2...] . 141490d5836SPhilippe CharnierThe 1427d56d374SYoshinobu Inoue.Nm 143490d5836SPhilippe Charnierutility will accept incoming routes that are in 1447d56d374SYoshinobu Inoue.Ar prefix/preflen . 1457d56d374SYoshinobu InoueIf multiple 1467d56d374SYoshinobu Inoue.Fl L 1477d56d374SYoshinobu Inoueoptions are specified, any routes that match one of the options is accepted. 1487d56d374SYoshinobu Inoue.Li ::/0 1497d56d374SYoshinobu Inoueis treated specially as default route, not 1507d56d374SYoshinobu Inoue.Do 1517d56d374SYoshinobu Inoueany route that has longer prefix length than, or equal to 0 1527d56d374SYoshinobu Inoue.Dc . 1537d56d374SYoshinobu InoueIf you would like to accept any route, specify no 1547d56d374SYoshinobu Inoue.Fl L 1557d56d374SYoshinobu Inoueoption. 1567d56d374SYoshinobu InoueFor example, with 1577d56d374SYoshinobu Inoue.Do 1587d56d374SYoshinobu Inoue.Fl L 1590fa8505bSHiroki Sato.Li 2001:db8::/16,if1 1607d56d374SYoshinobu Inoue.Fl L 1617d56d374SYoshinobu Inoue.Li ::/0,if1 1627d56d374SYoshinobu Inoue.Dc 1637d56d374SYoshinobu Inoue.Nm 1647d56d374SYoshinobu Inouewill accept default route and routes in 6bone test address, but no others. 1657d56d374SYoshinobu Inoue.\" 16633841545SHajimu UMEMOTO.It Fl n 16733841545SHajimu UMEMOTODo not update the kernel routing table. 16833841545SHajimu UMEMOTO.\" 1697d56d374SYoshinobu Inoue.It Fl N Ar if1[,if2...] 1707d56d374SYoshinobu InoueDo not listen to, or advertise, route from/to interfaces specified by 1717d56d374SYoshinobu Inoue.Ar if1,[if2...] . 1727d56d374SYoshinobu Inoue.\" 1737d56d374SYoshinobu Inoue.It Fl O Ar prefix/preflen,if1[,if2...] 1747d56d374SYoshinobu InoueRestrict route advertisement toward interfaces specified by 1757d56d374SYoshinobu Inoue.Ar if1,[if2...] . 1767d56d374SYoshinobu InoueWith this option 1777d56d374SYoshinobu Inoue.Nm 1787d56d374SYoshinobu Inouewill only advertise routes that matches 1797d56d374SYoshinobu Inoue.Ar prefix/preflen . 1800fa8505bSHiroki Sato.It Fl P Ar number 1810fa8505bSHiroki SatoSpecifies routes to be ignored in calculation of expiration timer. 1820fa8505bSHiroki SatoThe 1830fa8505bSHiroki Sato.Ar number 1840fa8505bSHiroki Satomust be 1850fa8505bSHiroki Sato.Li 1 , 1860fa8505bSHiroki Sato.Li 2 , 1870fa8505bSHiroki Satoor 1880fa8505bSHiroki Sato.Li 3 1890fa8505bSHiroki Satoand it means route flags of 1900fa8505bSHiroki Sato.Li RTF_PROTO1 , 1910fa8505bSHiroki Sato.Li RTF_PROTO2 , 1920fa8505bSHiroki Satoor 1930fa8505bSHiroki Sato.Li RTF_PROTO3 . 1940fa8505bSHiroki SatoWhen 1950fa8505bSHiroki Sato.Li 1 1960fa8505bSHiroki Satois specified, routes with 1970fa8505bSHiroki Sato.Li RTF_PROTO1 1980fa8505bSHiroki Satowill never expire. 1990fa8505bSHiroki Sato.It Fl p Ar pidfile 2000fa8505bSHiroki SatoSpecifies an alternative file in which to store the process ID. 2010fa8505bSHiroki SatoThe default is 2020fa8505bSHiroki Sato.Pa /var/run/route6d.pid . 2030fa8505bSHiroki Sato.It Fl Q Ar number 2040fa8505bSHiroki SatoSpecifies flag which will be used for routes added by RIP protocol. 2050fa8505bSHiroki SatoThe default is 2060fa8505bSHiroki Sato.Li 2 Pq Li RTF_PROTO2 . 2077d56d374SYoshinobu Inoue.\" 2087d56d374SYoshinobu Inoue.It Fl q 2097d56d374SYoshinobu InoueMakes 2107d56d374SYoshinobu Inoue.Nm 2117d56d374SYoshinobu Inouein listen-only mode. 2127d56d374SYoshinobu InoueNo advertisement is sent. 2137d56d374SYoshinobu Inoue.\" 2147d56d374SYoshinobu Inoue.It Fl s 2157d56d374SYoshinobu InoueMakes 2167d56d374SYoshinobu Inoue.Nm 2177d56d374SYoshinobu Inoueto advertise the statically defined routes which exist in the kernel routing 2187d56d374SYoshinobu Inouetable when 2197d56d374SYoshinobu Inoue.Nm 2207d56d374SYoshinobu Inoueinvoked. 2217d56d374SYoshinobu InoueAnnouncements obey the regular split horizon rule. 2227d56d374SYoshinobu Inoue.\" 2237d56d374SYoshinobu Inoue.It Fl S 2247d56d374SYoshinobu InoueThis option is the same as 2257d56d374SYoshinobu Inoue.Fl s 2267d56d374SYoshinobu Inoueoption except that no split horizon rule does apply. 2277d56d374SYoshinobu Inoue.\" 2287d56d374SYoshinobu Inoue.It Fl T Ar if1[,if2...] 2297d56d374SYoshinobu InoueAdvertise only default route, toward 2307d56d374SYoshinobu Inoue.Ar if1,[if2...] . 2317d56d374SYoshinobu Inoue.\" 2327d56d374SYoshinobu Inoue.It Fl t Ar tag 2337d56d374SYoshinobu InoueAttach route tag 2347d56d374SYoshinobu Inoue.Ar tag 2357d56d374SYoshinobu Inoueto originated route entries. 2367d56d374SYoshinobu Inoue.Ar tag 2377d56d374SYoshinobu Inouecan be decimal, octal prefixed by 2387d56d374SYoshinobu Inoue.Li 0 , 2397d56d374SYoshinobu Inoueor hexadecimal prefixed by 2407d56d374SYoshinobu Inoue.Li 0x . 2417d56d374SYoshinobu Inoue.\" 2427d56d374SYoshinobu Inoue.El 2437d56d374SYoshinobu Inoue.Pp 2447d56d374SYoshinobu InoueUpon receipt of signal 2457d56d374SYoshinobu Inoue.Dv SIGINT 2467d56d374SYoshinobu Inoueor 2477d56d374SYoshinobu Inoue.Dv SIGUSR1 , 2487d56d374SYoshinobu Inoue.Nm 2497d56d374SYoshinobu Inouewill dump the current internal state into 25020cecd0fSJun-ichiro itojun Hagino.Pa /var/run/route6d_dump . 2517d56d374SYoshinobu Inoue.\" 2527d56d374SYoshinobu Inoue.Sh FILES 25320cecd0fSJun-ichiro itojun Hagino.Bl -tag -width /var/run/route6d_dump -compact 25420cecd0fSJun-ichiro itojun Hagino.It Pa /var/run/route6d_dump 2557d56d374SYoshinobu Inouedumps internal state on 2567d56d374SYoshinobu Inoue.Dv SIGINT 2577d56d374SYoshinobu Inoueor 2587d56d374SYoshinobu Inoue.Dv SIGUSR1 2597d56d374SYoshinobu Inoue.El 2607d56d374SYoshinobu Inoue.\" 2617d56d374SYoshinobu Inoue.Sh SEE ALSO 2627d56d374SYoshinobu Inoue.Rs 2637d56d374SYoshinobu Inoue.%A G. Malkin 2647d56d374SYoshinobu Inoue.%A R. Minnear 2657d56d374SYoshinobu Inoue.%T RIPng for IPv6 2667d56d374SYoshinobu Inoue.%R RFC2080 2677d56d374SYoshinobu Inoue.%D January 1997 2687d56d374SYoshinobu Inoue.Re 2697d56d374SYoshinobu Inoue.\" 2707d56d374SYoshinobu Inoue.Sh NOTE 271490d5836SPhilippe CharnierThe 272f08606a0SKris Kennaway.Nm 273490d5836SPhilippe Charnierutility uses IPv6 advanced API, 2747d56d374SYoshinobu Inouedefined in RFC2292, 2757d56d374SYoshinobu Inouefor communicating with peers using link-local addresses. 2767d56d374SYoshinobu Inoue.Pp 2777d56d374SYoshinobu InoueInternally 2787d56d374SYoshinobu Inoue.Nm 2797d56d374SYoshinobu Inoueembeds interface identifier into bit 32 to 63 of link-local addresses 280c4d9468eSRuslan Ermilov.Li ( fe80::xx 2817d56d374SYoshinobu Inoueand 282c4d9468eSRuslan Ermilov.Li ff02::xx ) 2837d56d374SYoshinobu Inoueso they will be visible on internal state dump file 28420cecd0fSJun-ichiro itojun Hagino.Pq Pa /var/run/route6d_dump . 2857d56d374SYoshinobu Inoue.Pp 2867d56d374SYoshinobu InoueRouting table manipulation differs from IPv6 implementation to implementation. 2877d56d374SYoshinobu InoueCurrently 2887d56d374SYoshinobu Inoue.Nm 2897d56d374SYoshinobu Inoueobeys WIDE Hydrangea/KAME IPv6 kernel, 2907d56d374SYoshinobu Inoueand will not be able to run on other platforms. 2917d56d374SYoshinobu Inoue.Pp 2927d56d374SYoshinobu InoueCurrent 2937d56d374SYoshinobu Inoue.Nm 2947d56d374SYoshinobu Inouedoes not reduce the rate of the triggered updates when consecutive updates 2957d56d374SYoshinobu Inouearrive. 296