summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichele <michele@openbsd.org>2007-01-08 13:11:14 +0000
committermichele <michele@openbsd.org>2007-01-08 13:11:14 +0000
commit3c3a81cfddd77fc5cd7ebc6b5abda74f97914f8f (patch)
treed3ab4aeb3cb837f1bcaffbf04ba06640ab6acb13
parentNew redistribute code adapted from ospfd. It is now possible to do the same (diff)
downloadwireguard-openbsd-3c3a81cfddd77fc5cd7ebc6b5abda74f97914f8f.tar.xz
wireguard-openbsd-3c3a81cfddd77fc5cd7ebc6b5abda74f97914f8f.zip
update man page reflecting claudio's changes
-rw-r--r--usr.sbin/ripd/ripd.conf.531
1 files changed, 27 insertions, 4 deletions
diff --git a/usr.sbin/ripd/ripd.conf.5 b/usr.sbin/ripd/ripd.conf.5
index 36523c4b6ee..f429e2dcd4c 100644
--- a/usr.sbin/ripd/ripd.conf.5
+++ b/usr.sbin/ripd/ripd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ripd.conf.5,v 1.4 2006/10/24 16:35:19 david Exp $
+.\" $OpenBSD: ripd.conf.5,v 1.5 2007/01/08 13:11:14 michele Exp $
.\"
.\" Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
.\" Copyright (c) 2005, 2006 Esben Norby <norby@openbsd.org>
@@ -64,7 +64,8 @@ interface em0 {
.Ed
.Sh GLOBAL CONFIGURATION
Global settings concerns the main behaviour of the daemon.
-.Bl -tag -width Ds
+.Pp
+.Bl -tag -width Ds -compact
.It Xo
.Ic fib-update
.Pq Ic yes Ns \&| Ns Ic no
@@ -77,13 +78,21 @@ The default is
.Ic yes .
.Pp
.It Xo
+.Op Ic no
.Ic redistribute
.Sm off
.Po Ic static Ns \&| Ns Ic connected Ns \&| Ns
-.Ic default Ns \&|
-.Ic none Pc
+.Ic default Pc
.Sm on
.Xc
+.It Xo
+.Op Ic no
+.Ic redistribute Ar prefix
+.Xc
+.It Xo
+.Op Ic no
+.Ic redistribute rtlabel Ar label
+.Xc
If set to
.Ic connected ,
routes to directly attached networks will be
@@ -94,8 +103,22 @@ static routes will be announced over RIP.
If set to
.Ic default ,
a default route pointing to this router will be announced over RIP.
+It is possible to specify a network range with
+.Ar prefix ;
+networks need to be part of that range to be redistributed.
+Additionally it is possible to redistribute based on route labels
+using the
+.Ic rtlabel
+keyword.
By default no additional routes will be announced over RIP.
.Pp
+.Ic 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
+.Ic no
+will force the route to be not announced.
+.Pp
.It Xo
.Ic split-horizon
.Sm off