From owner-freebsd-questions Tue Apr 3 8:30:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 5C42037B722 for ; Tue, 3 Apr 2001 08:30:53 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f33FUb472685; Tue, 3 Apr 2001 18:30:37 +0300 (EEST) (envelope-from ru) Date: Tue, 3 Apr 2001 18:30:37 +0300 From: Ruslan Ermilov To: Edward Cc: freebsd-questions@FreeBSD.ORG Subject: Re: routing_tables Message-ID: <20010403183037.A71953@sunbay.com> Mail-Followup-To: Edward , freebsd-questions@FreeBSD.ORG References: <3AC9F829.A22C801@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AC9F829.A22C801@hotmail.com>; from edward_gess@hotmail.com on Tue, Apr 03, 2001 at 06:19:53PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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