Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2001 18:30:37 +0300
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Edward <edward_gess@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: routing_tables
Message-ID:  <20010403183037.A71953@sunbay.com>
In-Reply-To: <3AC9F829.A22C801@hotmail.com>; from edward_gess@hotmail.com on Tue, Apr 03, 2001 at 06:19:53PM %2B0200
References:  <3AC9F829.A22C801@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 03, 2001 at 06:19:53PM +0200, Edward wrote:
>         Hi all,
> I have one question, why do we need the "Gateway" field in routing
> tables, if we know to what interface the packets should be sent???
> 
Because just "what interface to send" is not always enough.  You can
have multiple gateways on a single LAN.

> Am I right when thinking that if the computer is not a gateway then
> it uses routing table only for outgoing packets and if the computer
> is a gateway it uses this (routing) table for both types
> (incoming/outgoing) of packets???
> 
Only for outgoing packets in both cases.  We don't need to "route"
incoming packets, they are already routed to us.


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-questions" in the body of the message




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