Subject: Re: bin/4022: netstat -r does not print netmask/cidr prefix
To: None <hwr@pilhuhn.de>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: netbsd-bugs
Date: 08/21/1997 12:27:49
> >Synopsis: netstat -r does not print netmask/cidr prefix
> >Release: 1.1
"Fixed in -current". Here's sample output from "netstat -rn" on a
-current sparc, sources only a couple of days old. The last two routes
listed were added by hand for this test, with
# route add 209.89.25.0 -netmask 255.255.255.240 132.206.73.55
# route add 132.206.78.0 -netmask 255.255.255.216 132.206.73.55
(note the second one has a noncontiguous netmask). The way the second
one ends up pushing everything else over is kinda ugly, but fixing it
would be a bit of work.
[Callisto] 28> netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu Interface
default 132.206.73.55 UGS 3 13582 - le0
127.0.0.1 127.0.0.1 UH 1 13 - lo0
132.206.73/24 link#1 UC 0 0 - le0
132.206.73.55 00:00:0c:04:64:8b UHL 3 0 - le0
132.206.73.75 127.0.0.1 UGHS 0 0 - lo0
132.206.78&0xffffffd8 132.206.73.55 UGS 0 0 - le0
209.89.25/28 132.206.73.55 UGS 0 0 - le0
[Callisto] 29>
der Mouse
mouse@rodents.montreal.qc.ca
7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B