summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2004-11-04 02:15:03 +0000
committerbms <bms@FreeBSD.org>2004-11-04 02:15:03 +0000
commit656137db84cc3601ac51aded4a49a7096d617b78 (patch)
treeffde8b0a50d965c951975f44cdbe9ba2576338e0 /sbin
parentade2a04c45d71e7464326efaedec49eb1a2a3fb4 (diff)
downloadFreeBSD-src-656137db84cc3601ac51aded4a49a7096d617b78.zip
FreeBSD-src-656137db84cc3601ac51aded4a49a7096d617b78.tar.gz
Document the fact that blackhole routes normally need to be bound
to lo(4) interfaces to have an effect, and that this is not needed when using IP fast forwarding. Sponsored by: eXtensible Open Router Project <URL:http://www.xorp.org/> MFC after: 3 weeks
Diffstat (limited to 'sbin')
-rw-r--r--sbin/route/route.810
1 files changed, 10 insertions, 0 deletions
diff --git a/sbin/route/route.8 b/sbin/route/route.8
index 30b807c..a47cbe0 100644
--- a/sbin/route/route.8
+++ b/sbin/route/route.8
@@ -412,3 +412,13 @@ utility appeared in
The first paragraph may have slightly exaggerated
.Xr routed 8 Ns 's
abilities.
+.Pp
+Currently, routes with the
+.Dv RTF_BLACKHOLE
+flag set need to have the gateway set to an instance of the
+.Xr lo 4
+driver, using the
+.Fl iface
+option, for the flag to have any effect; unless IP fast forwarding
+is enabled, in which case the meaning of the flag will always
+be honored.
OpenPOWER on IntegriCloud