Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 May 2003 20:20:13 -0700 (PDT)
From:      Eric AUGE <eric.auge@cw.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/52758: bogus default IP route (netstat -rn/route add) handling/display.
Message-ID:  <200305290320.h4T3KDRZ060554@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/52758; it has been noted by GNATS.

From: Eric AUGE <eric.auge@cw.com>
To: Ruslan Ermilov <ru@FreeBSD.org>
Cc: Eric AUGE <eauge@fr.cw.net>, bug-followup@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-----
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305290320.h4T3KDRZ060554>