From owner-freebsd-net Fri Jun 7 7:27:57 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 B7A0037B40A for ; Fri, 7 Jun 2002 07:27:48 -0700 (PDT) Received: from judicator.otel.net ([212.36.9.113]) by mail.otel.net with esmtp (Exim 3.36 #1) id 17GKiQ-000IgB-00; Fri, 07 Jun 2002 17:27:46 +0300 Date: Fri, 7 Jun 2002 17:27:46 +0300 (EEST) From: Iasen Kostov To: freebsd-net@FreeBSD.ORG Cc: vova@sw.ru Subject: Re: host routes for interface addresses In-Reply-To: <20020607152801.T32865-100000@shadowhand.OTEL.net> Message-ID: <20020607170224.G32865-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 On Fri, 7 Jun 2002, Iasen Kostov wrote: > > 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 ? > Hum or set an iface flag IFF_NOROUTE in struct ifnet.if_flags by SIOCGIFFLAGS ioctl. What you think ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message