| RIPD.CONF(5) | File Formats Manual | RIPD.CONF(5) |
ripd.conf — RIP
routing daemon configuration file
The ripd(8) daemon implements the Routing Information Protocol version 2 as described in RFC 2453.
The ripd.conf config file is divided into
the following main sections:
A macro is defined with a command of the form
name=value. The macro
name can contain letters, digits, and underscores and
cannot be a reserved word (for example, cost).
Within unquoted arguments, the string $name is later
expanded to value.
For example:
hi="2"
interface em0 {
cost $hi
}
Global settings concerns the main behaviour of the daemon.
fib-priority
priofib-update
(yes|no)no, do not update the Forwarding
Information Base, a.k.a. the kernel routing table. The default is
yes.
rdomain
tableidno] redistribute
(static|connected|default)no] redistribute
prefixno] redistribute rtlabel
labelconnected, routes to directly attached
networks will be announced over RIP. If set to
static, static routes will be announced over RIP.
If set to default, a default route pointing to
this router will be announced over RIP. It is possible to specify a
network range with prefix; networks need to be part
of that range to be redistributed. Additionally it is possible to
redistribute based on route labels using the
rtlabel keyword. By default no additional routes
will be announced over RIP.
redistribute statements are evaluated
in sequential order, from first to last. The first matching rule decides
if a route should be redistributed or not. Matching rules starting with
no will force the route to be not announced.
split-horizon
(simple|poisoned|none)simple, do not redistribute routes to
the interface from which they were learned. If set to
poisoned, redistribute routes to the interface
from which they were learned, by forcing the metric to infinity. Both
these behaviours can resolve routing loops when a router goes down. The
default is poisoned.
triggered-updates
(yes|no)no.Each interface can have several parameters configured individually, otherwise they are inherited.
interface em0 {
cost 9
auth-type none
}
interface ix1
Interface-specific parameters are listed below.
auth-key
keysimple
authentication. Up to 16 characters can be specified.auth-md
key-id keycrypt
authentication. The valid range for key-id is 0-255.
Up to 16 characters can be specified for key.
Multiple keys may be specified.auth-md-keyid
key-idcrypt authentication. The valid range for
key-id is 0-255. The default key-id is 1.auth-type
(none|simple|crypt)none.
Simple authentication uses a plaintext password, up to 16 characters.
Crypt authentication uses an MD5 hash.cost
numberdemote
grouppassiveThe ripd.conf file format first appeared
in OpenBSD 4.1.
| July 8, 2025 | Debian |