From owner-freebsd-questions Mon Nov 10 01:15:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA15937 for questions-outgoing; Mon, 10 Nov 1997 01:15:22 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from homer.duff-beer.com (mail@homer.duff-beer.com [194.207.51.241]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA15919; Mon, 10 Nov 1997 01:15:16 -0800 (PST) (envelope-from scot@poptart.org) Received: from poptart.org (choccy.poptart.org [194.207.78.222]) by homer.duff-beer.com (8.8.5/8.8.5) with ESMTP id JAA06949; Mon, 10 Nov 1997 09:12:23 GMT Message-ID: <3466D0B8.E8792028@poptart.org> Date: Mon, 10 Nov 1997 09:15:36 +0000 From: Scot Elliott Organization: Extreme Technologies LTD X-Mailer: Mozilla 4.03 [en] (WinNT; I) MIME-Version: 1.0 To: Antal Rutz CC: FreeBSD Questions , freebsd-isp@FreeBSD.ORG Subject: Re: Gateway question References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Antal Rutz wrote: > > > How do I configure 'box1' to be able to act as a router between > the ethernet and 'box2'. > Addresses: both (box1|box2) 193.6.9.0/255.255.255.0 . > I enabled ipforwarding but it didn't seem to work. > Thanks for your help. > > --rutz Well enabling IP forwarding is just about it really on the BSD side. But don't forget that the client machines on the ethernet need to know about how to send packets to box2. If they only have your default router configured (probable), then you need to tell the router how to send packets to box2 on behalf of the client machines. You can do this by running routed or gated (see the man pages) on box1 - to have routing information broadcast automatically. Or you can configure a static route (prefered here I think) on your router, which points to box1 as the router to box2. How you do that depends on the router. Scot