Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2001 16:16:51 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        qingli@speakeasy.net
Cc:        net@FreeBSD.org
Subject:   Re: route add - ??
Message-ID:  <20011213161651.E19995@sunbay.com>
In-Reply-To: <200112122351.fBCNpFq30812@spidey.speakeasy.net>
References:  <200112122351.fBCNpFq30812@spidey.speakeasy.net>

next in thread | previous in thread | raw e-mail | index | archive | help
[Redirected to -net]

On Wed, Dec 12, 2001 at 03:51:15PM -0800, qingli@speakeasy.net wrote:
> 
> netstat -r
> ============
> Destination   Gateway     Flags    Refs    Use  Netif Expire
> default       gateway-38  UGSc     59      0    ep0
> localhost     localhost   UH       1      713   lo0
> 147.11.38/24  link#6      UC       1       0    ep0
> gateway-38    0:0:c:7:ac:26 UHLW   58      0    ep0    575
> 
> Now I do
> ========
> route add -net 192.103.54.0 64.81.55.1
> 
> an entry of
> ============
> 192.103.54   dsl081-055-001.sfo UGSc 0      2    ep0
> 
> is inserted. 
> 
> Why was I allowed to add such a route. The gateway
> 64.81.55.1 is not even reachable.
> 
It is actually reachable through the default route.
You can verify this by: ``route get 64.81.55.1''.
The other question is why FreeBSD allows the use of
indirect gateways.  Well, I've offered in the past
to disable this feature, but some other -net geeks
like this "policy routing" feature of BSD.


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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