From 2c9743caad2059b3028c287f3085d3654dfdb0bb Mon Sep 17 00:00:00 2001 From: Bruce M Simpson Date: Thu, 4 Nov 2004 02:15:03 +0000 Subject: [PATCH] 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 MFC after: 3 weeks --- sbin/route/route.8 | 10 ++++++++++ 1 file changed, 10 insertions(+) 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.