routed.8 (22990) | routed.8 (23769) |
---|---|
1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)routed.8 8.2 (Berkeley) 12/11/93 | 1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)routed.8 8.2 (Berkeley) 12/11/93 |
33.\" $Id$ | 33.\" $Id: routed.8,v 1.8 1997/02/22 14:33:12 peter Exp $ |
34.\" 35.Dd June 1, 1996 36.Dt ROUTED 8 37.Os BSD 4.4 38.Sh NAME 39.Nm routed 40.Nd network RIP and router discovery routing daemon 41.Sh SYNOPSIS --- 152 unchanged lines hidden (view full) --- 194If it receives 195a good Advertisement, it stops listening for broadcast or multicast 196RIP responses. 197It tracks several advertising routers to speed recovery when the 198currently chosen router dies. 199If all discovered routers disappear, 200the daemon resumes listening to RIP responses. 201.Pp | 34.\" 35.Dd June 1, 1996 36.Dt ROUTED 8 37.Os BSD 4.4 38.Sh NAME 39.Nm routed 40.Nd network RIP and router discovery routing daemon 41.Sh SYNOPSIS --- 152 unchanged lines hidden (view full) --- 194If it receives 195a good Advertisement, it stops listening for broadcast or multicast 196RIP responses. 197It tracks several advertising routers to speed recovery when the 198currently chosen router dies. 199If all discovered routers disappear, 200the daemon resumes listening to RIP responses. 201.Pp |
202While using Router Discovery (which happens by default when 203the system has a single network interface and a Router Discovery Advertisement 204is received), there is a single default route and a variable number of 205redirected host routes in the kernel table. 206.Pp | |
207The Router Discovery standard requires that advertisements 208have a default "lifetime" of 30 minutes. That means should 209something happen, a client can be without a good route for 21030 minutes. It is a good idea to reduce the default to 45 211seconds using 212.Fl P Cm rdisc_interval=45 213on the command line or 214.Cm rdisc_interval=45 215in the 216.Pa /etc/gateways 217file. 218.Pp 219While using Router Discovery (which happens by default when 220the system has a single network interface and a Router Discover Advertisement 221is received), there is a single default route and a variable number of 222redirected host routes in the kernel table. 223On a host with more than one network interface, 224this default route will be via only one of the interfaces. | 202The Router Discovery standard requires that advertisements 203have a default "lifetime" of 30 minutes. That means should 204something happen, a client can be without a good route for 20530 minutes. It is a good idea to reduce the default to 45 206seconds using 207.Fl P Cm rdisc_interval=45 208on the command line or 209.Cm rdisc_interval=45 210in the 211.Pa /etc/gateways 212file. 213.Pp 214While using Router Discovery (which happens by default when 215the system has a single network interface and a Router Discover Advertisement 216is received), there is a single default route and a variable number of 217redirected host routes in the kernel table. 218On a host with more than one network interface, 219this default route will be via only one of the interfaces. |
225Thus, multi-homed hosts running with \f3\-q\f1 might need | 220Thus, multi-homed hosts running with 221.Fl q 222might need |
226.Cm no_rdisc 227described below. 228.Pp 229See the 230.Cm pm_rdisc 231facility described below to support "legacy" systems 232that can handle neither RIPv2 nor Router Discovery. 233.Pp --- 181 unchanged lines hidden (view full) --- 415will install such a route if necessary, 416and that alternate routes to that destination should not be installed 417by 418.Nm routed . 419Such entries are only required when both routers may learn of routes 420to the same destination. 421.Pp 422The | 223.Cm no_rdisc 224described below. 225.Pp 226See the 227.Cm pm_rdisc 228facility described below to support "legacy" systems 229that can handle neither RIPv2 nor Router Discovery. 230.Pp --- 181 unchanged lines hidden (view full) --- 412will install such a route if necessary, 413and that alternate routes to that destination should not be installed 414by 415.Nm routed . 416Such entries are only required when both routers may learn of routes 417to the same destination. 418.Pp 419The |
423.Em /etc/gateways | 420.Pa /etc/gateways |
424file is comprised of a series of lines, each in 425one of the following formats or consist of parameters described below: 426.Pp 427.Bd -ragged 428.Cm net 429.Ar Nname[/mask] 430.Cm gateway 431.Ar Gname --- 24 unchanged lines hidden (view full) --- 456.Xr inet 3 ). 457(If it is a name, then it must either be defined in 458.Pa /etc/networks 459or 460.Pa /etc/hosts , 461or 462.Xr named 8 , 463must have been started before | 421file is comprised of a series of lines, each in 422one of the following formats or consist of parameters described below: 423.Pp 424.Bd -ragged 425.Cm net 426.Ar Nname[/mask] 427.Cm gateway 428.Ar Gname --- 24 unchanged lines hidden (view full) --- 453.Xr inet 3 ). 454(If it is a name, then it must either be defined in 455.Pa /etc/networks 456or 457.Pa /etc/hosts , 458or 459.Xr named 8 , 460must have been started before |
464.Xr routed Ns .) | 461.Nm routed Ns .) |
465.Pp 466.Ar mask 467is an optional number between 1 and 32 indicating the netmask associated 468with 469.Ar Nname . 470.Pp 471.Ar Gname 472is the name or address of the gateway to which RIP responses should --- 66 unchanged lines hidden (view full) --- 539be valid within 24 hours, or that was valid within 24 hours. 540.It Cm md5_passwd Ns \&= Ns Ar XXX1|KeyID[start|stop] 541specifes a RIPv2 MD5 password. 542Except that a 543.Cm KeyID 544is required, this keyword is similar to 545.Cm passwd . 546To protect the secrets, this parameter setting is valid only in the | 462.Pp 463.Ar mask 464is an optional number between 1 and 32 indicating the netmask associated 465with 466.Ar Nname . 467.Pp 468.Ar Gname 469is the name or address of the gateway to which RIP responses should --- 66 unchanged lines hidden (view full) --- 536be valid within 24 hours, or that was valid within 24 hours. 537.It Cm md5_passwd Ns \&= Ns Ar XXX1|KeyID[start|stop] 538specifes a RIPv2 MD5 password. 539Except that a 540.Cm KeyID 541is required, this keyword is similar to 542.Cm passwd . 543To protect the secrets, this parameter setting is valid only in the |
547.Em /etc/gateways | 544.Pa /etc/gateways |
548file and only when that file is readable only by UID 0. 549.It Cm no_ag 550turns off aggregation of subnets in RIPv1 and RIPv2 responses. 551.It Cm no_super_ag 552turns off aggregation of networks into supernets in RIPv2 responses. 553.It Cm passive 554marks the interface to not be advertised in updates sent via other 555interfaces, and turns off all RIP and router discovery through the interface. --- 98 unchanged lines hidden --- | 545file and only when that file is readable only by UID 0. 546.It Cm no_ag 547turns off aggregation of subnets in RIPv1 and RIPv2 responses. 548.It Cm no_super_ag 549turns off aggregation of networks into supernets in RIPv2 responses. 550.It Cm passive 551marks the interface to not be advertised in updates sent via other 552interfaces, and turns off all RIP and router discovery through the interface. --- 98 unchanged lines hidden --- |