From owner-freebsd-questions Mon Jan 19 03:59:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA19858 for questions-outgoing; Mon, 19 Jan 1998 03:59:39 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from smtp.sby.globalinfo.net ([167.205.169.12]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA19837 for ; Mon, 19 Jan 1998 03:59:20 -0800 (PST) (envelope-from alik@sby.globalinfo.net) Received: from [167.205.169.212] by smtp.sby.globalinfo.net (SMTPD32-3.03) id A1F11FD700F4; Mon, 19 Jan 1998 19:07:13 +0700 From: "Alik Yuswanto" To: "Jan Koum" Cc: Subject: Re: FreeBSD router Date: Mon, 19 Jan 1998 18:57:52 +0700 Message-ID: <01bd24d1$78e0b8c0$d4a9cda7@Ws3-sby.Ywcn-sby> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk Hello, Thanks for your reply. Would this configuration work if the third NIC is added? If I would like my pc router runs static routes, what should I do with the line static_routes in file rc.conf? Alik -----Original Message----- From: Jan Koum To: Alik Yuswanto Cc: questions@FreeBSD.ORG Date: Tuesday, January 20, 1998 12:26 AM Subject: Re: FreeBSD router > > 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 >> >> >> > >