48 lines · 2.0 KB · Text
RawDownload
= rip: routing information protocol == SYNOPSIS *ip/rip* [*-2*] [*-b*] [*-d*] [*-n*] [ **-x**__ mntpt__ ] [ _net_ ... ]*&*  _Rip_ implements the Internet RIP routing protocol described by RFC1058and RFC2453. It watches the network and makes appropriate changes to themachine's Internet routing table (see *iproute* in _ip_(3)), based onrouting packets broadcast by gateways on the network. _Rip_ is only usedwhen a single default gateway is inadequate, typically because a machinesits on a network directly connected to several others, having no commongateway or router. On networks where there is just one gateway, it isusually simpler and more efficient to configure that statically using_ndb_(6) or dynamically using DHCP/BOOTP, rather than running _rip_. _Rip_ serves the network on _mntpt_ (default: */net*). When it starts,_rip_ learns its own interfaces and directly attached networks byreading __mntpt__**/ipifc**_,_ and notes any routes currently in__mntpt__**/iproute**_._ By default, _rip_ neither broadcasts routes nor replies to requests forits route table. If the *-b* option is given, _rip_ periodicallybroadcasts changes to its routing table to each of its interfaces. If atleast one explicit _net_ address is given, the broadcasts are restrictedto just the interfaces listed (and *-b* is implied). The *-d* option causes _routed_ to record changes it makes to therouting tables. This can be helpful when locating misleadingannouncements from rogue gateways. A second *-d* will include detailedinformation about every packet. The *-n* option tells _rip_ not tochange the local routing table, but only say what changes it would havemade. _Rip_ understands both version1 and version 2 of the protocol, andinterprets updates from gateways appropriately. By default, it transmitsupdates using version 1; if the *-2* option is given, it uses version 2instead, which is preferable when the network has subnets. == SOURCE */appl/cmd/ip/rip.b* == SEE ALSO _ip_(3), _ndb_(6)