bin/52758: bogus default IP route (netstat -rn/route add)
handling/display.
Eric AUGE
eric.auge at cw.com
Wed May 28 20:20:14 PDT 2003
The following reply was made to PR bin/52758; it has been noted by GNATS.
From: Eric AUGE <eric.auge at cw.com>
To: Ruslan Ermilov <ru at FreeBSD.org>
Cc: Eric AUGE <eauge at fr.cw.net>, bug-followup at FreeBSD.org
Subject: Re: bin/52758: bogus default IP route (netstat -rn/route add)
handling/display.
Date: Thu, 29 May 2003 05:13:53 +0200 (CEST)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 28 May 2003, Ruslan Ermilov wrote:
ru >There's nothing unexpected here; route(8) displays non-contiguous
ru >netmasks this way: key&netmask. The default route is the route
ru >with both key and mask of all zeroes, by definition. When you
ru >specify a third argument (netmask), it becomes non-default, but
ru >rather a ``-net 0 -netmask <netmask>''.
ok i didn't know about the output format,
and i didn't know why i was believing that it did check
if the next hop was within the address space of one
the interfaces (physical or logical).
thanks bringing this to me, i might have just missed it
in route(8).
Best Regards,
Eric.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)
iD8DBQE+1Xr0L/U5psk9l1gRAsgNAJ9DL/DNdyKjvi/dmc0OkNDyhm6vrACgntgC
zfxWUYytTG/VFuldLToGcFA=
=EKhN
-----END PGP SIGNATURE-----
More information about the freebsd-bugs
mailing list