From owner-freebsd-doc@FreeBSD.ORG Thu Mar 4 09:38:40 2004 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD56716A4CE for ; Thu, 4 Mar 2004 09:38:40 -0800 (PST) Received: from abigail.blackend.org (blackend.org [212.11.35.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id D229F43D2F for ; Thu, 4 Mar 2004 09:38:39 -0800 (PST) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (localhost [127.0.0.1]) by abigail.blackend.org (8.12.9/8.12.3) with ESMTP id i24HcWrZ072319; Thu, 4 Mar 2004 18:38:32 +0100 (CET) (envelope-from marc@abigail.blackend.org) Received: (from marc@localhost) by abigail.blackend.org (8.12.9/8.12.3/Submit) id i24HcWGr072318; Thu, 4 Mar 2004 18:38:32 +0100 (CET) (envelope-from marc) Date: Thu, 4 Mar 2004 18:38:31 +0100 From: Marc Fonvieille To: Edoardo Martelli Message-ID: <20040304173831.GD65562@abigail.blackend.org> References: <40475DCD.1050903@cern.ch> <20040304171900.GC65562@abigail.blackend.org> <40476665.3020804@cern.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40476665.3020804@cern.ch> User-Agent: Mutt/1.4.2.1i X-Useless-Header: blackend.org X-Operating-System: FreeBSD 4.8-STABLE cc: doc@FreeBSD.org Subject: Re: network statement no more needed X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 17:38:40 -0000 On Thu, Mar 04, 2004 at 06:24:53PM +0100, Edoardo Martelli wrote: > Hi Marc > > >>route add network 192.168.2.0/24 192.168.1.2and > >> > >># Add Internal Net 2 as a static route > >>static_routes="internalnet2" > >>route_internalnet2="network 192.168.2.0/24 192.168.1.2" > >> > >>but it seems the "network" statement is no more needed. > >> > >You're right, actually it's "-net" not "network". > > > > with me, it worked just removing "network", without the "-net". > Indeed in some cases, see route(8), the -net option is not needed, however I will use -net in the Handbook, it's "safe" :) Marc