From owner-freebsd-net Fri Jun 7 5:50:45 2002 Delivered-To: freebsd-net@freebsd.org Received: from mail.otel.net (gw3.OTEL.net [212.36.8.151]) by hub.freebsd.org (Postfix) with ESMTP id AF60437B403 for ; Fri, 7 Jun 2002 05:50:38 -0700 (PDT) Received: from judicator.otel.net ([212.36.9.113]) by mail.otel.net with esmtp (Exim 3.36 #1) id 17GJCN-000GxH-00; Fri, 07 Jun 2002 15:50:35 +0300 Date: Fri, 7 Jun 2002 15:50:35 +0300 (EEST) From: Iasen Kostov To: freebsd-net@FreeBSD.ORG Cc: vova@sw.ru Subject: Re: host routes for interface addresses In-Reply-To: <20020606140015.B27474-100000@shadowhand.OTEL.net> Message-ID: <20020607152801.T32865-100000@shadowhand.OTEL.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I think it's possible to use SIOCSIFCAP to tell the kernel not to set host route via IFCAP_NOROUTE or something similar which will set IFCAP_NOROUTE in uif_capenable. This flag will be checked in in_ifinit() and if it is set no host route will be added. And ofcourse there should be a way to set this by ifconfig ( -noroute for example). What you think about this ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message