aboutsummaryrefslogtreecommitdiff
path: root/sbin/route
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2004-11-04 02:15:03 +0000
committerBruce M Simpson <bms@FreeBSD.org>2004-11-04 02:15:03 +0000
commit2c9743caad2059b3028c287f3085d3654dfdb0bb (patch)
treeffde8b0a50d965c951975f44cdbe9ba2576338e0 /sbin/route
parent38f061057b076aff67a81e0aa873afb6a78d04fb (diff)
downloadsrc-2c9743caad2059b3028c287f3085d3654dfdb0bb.tar.gz
src-2c9743caad2059b3028c287f3085d3654dfdb0bb.zip
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
Notes
Notes: svn path=/head/; revision=137180
Diffstat (limited to 'sbin/route')
-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 30b807cd87c3..a47cbe0599a6 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.