Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jan 1997 14:50:10 PST
From:      Bill Fenner <fenner@parc.xerox.com>
To:        Jaye Mathisen <mrcpu@cdsnet.net>
Cc:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>, freebsd-hackers@freebsd.org
Subject:   Re: Route command breakage 
Message-ID:  <97Jan18.145022pst.177476@crevenia.parc.xerox.com>
In-Reply-To: Your message of "Fri, 17 Jan 97 09:32:44 PST." <Pine.NEB.3.95.970117093126.7665X-100000@mail.cdsnet.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.NEB.3.95.970117093126.7665X-100000@mail.cdsnet.net> you write:
>Well, the point was more that there doesn't seem to be anyway to delete
>it easily.  Just replaing add with delete and various combinations didn't
>remove it.

True, there's no way to look that route up in the routing table, so the
kernel should not have let you add it in the first place, since there's
no way to delete it.  (But for the same reason, you don't have to worry
about it being used, so you can just leave it in the table and just get
annoyed every type you type "netstat -nr")

>And the &0x display stuff in the route display is certainly new.

It's new as of 4.4BSD, yes.  With normal fully contiguous netmasks, it
looks like "/NN" where NN is the number of contiguous 1's in the netmask.
The "/NN" syntax can't represent a netmask like 204.118.244.252, which
is the mask on this route, so it displays it in hex with the "&0x" prefix.

  Bill



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?97Jan18.145022pst.177476>