Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Mar 2004 18:38:31 +0100
From:      Marc Fonvieille <blackend@FreeBSD.org>
To:        Edoardo Martelli <edoardo.martelli@cern.ch>
Cc:        doc@FreeBSD.org
Subject:   Re: network statement no more needed
Message-ID:  <20040304173831.GD65562@abigail.blackend.org>
In-Reply-To: <40476665.3020804@cern.ch>
References:  <40475DCD.1050903@cern.ch> <20040304171900.GC65562@abigail.blackend.org> <40476665.3020804@cern.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040304173831.GD65562>