Subject: misc/22944: man route(8) contains false values
To: None <gnats-bugs@gnats.netbsd.org>
From: None <aniou@smutek.pl>
List: netbsd-bugs
Date: 09/25/2003 09:34:17
>Number: 22944
>Category: misc
>Synopsis: man route(8) contains false values
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 25 07:35:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6ZC
>Organization:
>Environment:
System: NetBSD czyzyk.smutek.pl 1.6ZC NetBSD 1.6ZC (CZYZYK) #0: Sat Sep 20 20:14:01 CEST 2003 root@czyzyk.smutek.pl:/mnt/nfs/NetBSD-current/src/sys/arch/i386/compile/CZYZYK i386
Architecture: i386
Machine: i386
>Description:
manual for route command contains, in EXAMPLE section:
To install a static route through 10.200.0.1 to reach the network
192.168.1.0/28, use this:
route add -net 192.168.1.0 -netmask 255.255.255.248 10.200.0.1
/28 != 255.255.255.248
>How-To-Repeat:
man route
>Fix:
Replace with:
192.168.1.0/28, use this:
route add -net 192.168.1.0 -netmask 255.255.255.240 10.200.0.1
or
192.168.1.0/29, use this:
route add -net 192.168.1.0 -netmask 255.255.255.248 10.200.0.1
>Release-Note:
>Audit-Trail:
>Unformatted: