From owner-freebsd-questions Mon Jan 19 02:16:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA13932 for questions-outgoing; Mon, 19 Jan 1998 02:16:21 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from shell6.ba.best.com (jkb@shell6.ba.best.com [206.184.139.137]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA13927 for ; Mon, 19 Jan 1998 02:16:16 -0800 (PST) (envelope-from jkb@best.com) Received: from localhost (jkb@localhost) by shell6.ba.best.com (8.8.8/8.8.BEST) with SMTP id CAA12662; Mon, 19 Jan 1998 02:16:10 -0800 (PST) X-Authentication-Warning: shell6.ba.best.com: jkb owned process doing -bs Date: Mon, 19 Jan 1998 02:16:10 -0800 (PST) From: Jan Koum X-Sender: jkb@shell6.ba.best.com To: Alik Yuswanto cc: questions@FreeBSD.ORG Subject: Re: FreeBSD router In-Reply-To: <01bd24be$fc47ec00$d4a9cda7@Ws3-sby.Ywcn-sby> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk Edit your /etc/rc.conf (if you are on 2.2.5) or /etc/sysconfig to gateway_enable="YES" or as root type "sysctl -w net.inet.ip.forwarding=1" I think that should do it. -- Yan On Mon, 19 Jan 1998, Alik Yuswanto wrote: >Hello, > >Recently, I've been set up a FreeBSD router with the configuration shown >below: > >----------------------------------------- 167.205.169.0/28 > I > | 167.205.169.1/28 > ----------- > | RO | > | | > ----------- > | 167.205.169.215/28 > | >---------------------------------------------- 167.205.169.208/28 > >With those configurations, from the router, I could ping all the hosts in >the segment / network 167.205.169.0. And I could ping too all the hosts in >the segment / network 167.205.169.208. >My problem is, I could not ping the host on segment 167.205.169.0 from the >hosts on the other segment ( 167.205.169.208 ) and vice versa. Maybe two >NICs in the pc router are still not forward the IP packet. Fyi, I use >static routing here. >Could you help how to setup IP forwarding in FreeBSD ? > >Any help will be appreciated. Thanks > >Alik > > >