network statement no more needed
Marc Fonvieille
blackend at FreeBSD.org
Thu Mar 4 17:19:06 UTC 2004
On Thu, Mar 04, 2004 at 05:48:13PM +0100, Edoardo Martelli wrote:
> Hi
>
> I'm a newbie with freebsd.
>
> This email is just to notify an inconsistency in the documentation.
>
> I'm using freebsd 5.2. I was reading this:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html
> specifically: 19.2.5 Setting Up Static Routes
>
> and I tried these commands:
>
> 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".
I did not checked that when I committed that part, it's my fault :(
Marc
More information about the freebsd-doc
mailing list