From owner-freebsd-questions Tue Aug 7 9:11:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gekko.ms-agentur.de (server.ms-agentur.de [62.153.134.194]) by hub.freebsd.org (Postfix) with ESMTP id B68E037B410; Tue, 7 Aug 2001 09:11:18 -0700 (PDT) (envelope-from so@i-clue.de) Received: from i-clue.de (automatix.i-clue.de [192.168.0.112]) by gekko.ms-agentur.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id SAA22168; Tue, 7 Aug 2001 18:18:57 +0200 Message-ID: <3B701391.3F09A230@i-clue.de> Date: Tue, 07 Aug 2001 18:13:05 +0200 From: Christoph Sold Reply-To: so@i-clue.de X-Mailer: Mozilla 4.78 [en] (WinNT; U) X-Accept-Language: de,en MIME-Version: 1.0 To: fasi_74@yahoo.com Cc: FreeBSD , questions@FreeBSD.ORG Subject: Re: Routing confusion !!! ???? References: <001501c11fbc$c3d9ad20$ca3987cb@client2> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG fasi_74@yahoo.com wrote: > > Hello there > > Well I am a newbie in UNIX routing ... & yesterday I was reading a book > that tell you how to turn your hosts into routers ... You are a newbie in sending E-Mail, too. Sending it twice is not really neccessary, each reciepient gets it's own copy ;*) > Well I have worked most of the time in windows environments ...so I was > confused between the default gateway "address of the router in windows " & > making your host with 2 network interfaces a router... > what do we do when we run demons like routed & gated on our hosts ... do we > use them to point to a router on our network > or we use them to make our host a router ? > the book sort of discuss both in a combine way so I am confused how do we > enable ip forwarding .... Wow, that's a lot of stuff out of the mixed bag. Seems you have to read more on the subject. Anyhow: - A router typically has at least two network interfaces. Its job is to decide for each packet received on one NIC if it belongs to the net on the other NIC. - A gateway is one NIC of a router: this box "magically" throws all the packets not belonging to the inside network to the other side. - Routed and gated serve two different roles, depending on the OS. Gated talks to other routers to discover the best route to each destination dynamically. It is typically used on WANs, as well as in complicated networks. Routed reads a static routing table from its configuration file, it typically is used to route a LAN into the Internet. To learn more on TCP/IP, Richard W. Stevens wrote the standard for that protocol: TCP/IP illustrated. HTH -Christoph Sold To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message