{"id":3074,"date":"2022-12-20T16:43:25","date_gmt":"2022-12-20T19:43:25","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/rdisc-man8\/"},"modified":"2022-12-20T16:43:25","modified_gmt":"2022-12-20T19:43:25","slug":"rdisc-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/rdisc-man8\/","title":{"rendered":"RDISC (man8)"},"content":{"rendered":"<h1 align=\"center\">RDISC<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#HISTORY\">HISTORY<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#REFERENCES\">REFERENCES<\/a><br \/> <a href=\"#SECURITY\">SECURITY<\/a><br \/> <a href=\"#AVAILABILITY\">AVAILABILITY<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">rdisc \u2212 network router discovery daemon<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>rdisc<\/b> [<b>\u2212abdfrstvV<\/b>] [<b>\u2212p\u00a0<\/b><i>preference<\/i>] [<b>\u2212T\u00a0<\/b><i>max_interval<\/i>] [send_address] [receive_address]<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>rdisc<\/b> implements client side of the ICMP Internet Router Discovery Protocol (IRDP). <b>rdisc<\/b> is invoked at boot time to populate the network routing tables with default routes.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>rdisc<\/b> listens on the ALL_HOSTS (224.0.0.1) multicast address (or <i>receive_address<\/i> if it is provided) for ROUTER_ADVERTISE messages from routers. The received messages are handled by first ignoring those listed router addresses with which the host does not share a network. Among the remaining addresses the ones with the highest preference are selected as default routers and a default route is entered in the kernel routing table for each one of them.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Optionally, <b>rdisc<\/b> can avoid waiting for routers to announce themselves by sending out a few ROUTER_SOLICITATION messages to the ALL_ROUTERS (224.0.0.2) multicast address (or <i>send_address<\/i> if it is provided) when it is started.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">A timer is associated with each router address and the address will no longer be considered for inclusion in the routing tables if the timer expires before a new <b>advertise<\/b> message is received from the router. The address will also be excluded from consideration if the received <b>advertise<\/b> message has a preference of maximum negative.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Server side of router discovery protocol is supported by Cisco IOS and by any more or less complete UNIX routing daemon, for example <b>gated<\/b>. If compiled with ENABLE_RDISC_SERVER, <b>rdisc<\/b> can act as responder.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212a<\/b><\/p>\n<p style=\"margin-left:17%;\">Accept all routers independently of the preference they have in their <b>advertise<\/b> messages. Normally <b>rdisc<\/b> only accepts (and enters in the kernel routing tables) the router or routers with the highest preference.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212b<\/b><\/p>\n<p style=\"margin-left:17%;\">Opposite to <b>\u2212a<\/b>, i.e. install only router with the best preference value. This is the default behaviour.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212d<\/b><\/p>\n<p style=\"margin-left:17%;\">Send debugging messages to syslog.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212f<\/b><\/p>\n<p style=\"margin-left:17%;\">Keep <b>rdisc<\/b> running in the background even if no routers are found. Normally <b>rdisc<\/b> gives up if it has not received any <b>advertise<\/b> message after soliciting three times. In this case it exits with a non\u2212zero exit code. If <b>\u2212f<\/b> is not specified in the first form then <b>\u2212s<\/b> must be specified.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212r<\/b><\/p>\n<p style=\"margin-left:17%;\">Responder mode, available only if compiled with ENABLE_RDISC_SERVER.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212s<\/b><\/p>\n<p style=\"margin-left:17%;\">Send three <b>solicitation<\/b> messages initially to quickly discover the routers when the system is booted. When <b>\u2212s<\/b> is specified <b>rdisc<\/b> exits with a non\u2212zero exit code if it can not find any routers. This can be overridden with the <b>\u2212f<\/b> option.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212p<\/b> <i>preference<\/i><\/p>\n<p style=\"margin-left:17%;\">Set preference in advertisement messages. Available only with \u2212r option.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212T<\/b> <i>max_interval<\/i><\/p>\n<p style=\"margin-left:17%;\">Set maximum advertisement interval in seconds. Default is 600. Available only with \u2212r option.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212t<\/b><\/p>\n<p style=\"margin-left:17%;\">Test mode. Do not go to background.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212v<\/b><\/p>\n<p style=\"margin-left:17%;\">Be verbose and send lots of debugging messages to syslog.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212V<\/b><\/p>\n<p style=\"margin-left:17%;\">Print version and exit.<\/p>\n<h2>HISTORY <a name=\"HISTORY\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This program was developed by Sun Microsystems (see copyright notice in source file). It was ported to Linux by Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>icmp<\/b>(7), <b>inet<\/b>(7), <b>ping<\/b>(8).<\/p>\n<h2>REFERENCES <a name=\"REFERENCES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">RFC1256 ICMP Router Discovery Messages. S. Deering, Ed.. September 1991.<\/p>\n<h2>SECURITY <a name=\"SECURITY\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>rdisc<\/b> requires CAP_NET_RAW to listen and send ICMP messages and capability CAP_NET_ADMIN to update routing tables.<\/p>\n<h2>AVAILABILITY <a name=\"AVAILABILITY\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>rdisc<\/b> is part of <i>iputils<\/i> package.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  rdisc \u2212 network router discovery daemon <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,223],"class_list":["post-3074","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-rdisc"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3074","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3074"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3074\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3074"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3074"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}