From owner-freebsd-questions Fri Sep 22 23:10:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 9492337B422 for ; Fri, 22 Sep 2000 23:10:40 -0700 (PDT) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Fri, 22 Sep 2000 23:09:29 -0700 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id e8N6Abb42550; Fri, 22 Sep 2000 23:10:37 -0700 (PDT) (envelope-from cjc) Date: Fri, 22 Sep 2000 23:10:37 -0700 From: "Crist J . Clark" To: Christian Bruhn Gufler Cc: questions@FreeBSD.ORG Subject: Re: Routing Message-ID: <20000922231036.L367@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <009401c0248c$698d4060$026410ac@MFD> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0i In-Reply-To: <009401c0248c$698d4060$026410ac@MFD>; from cbg@mfd.dk on Fri, Sep 22, 2000 at 01:58:23PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Sep 22, 2000 at 01:58:23PM +0200, Christian Bruhn Gufler wrote: > Hi there. > > I set up my machine with FreeBSD, and enabled the following in /etc/rc.conf > gateway_enable="YES" > router_enable="YES" > router="routed" > router_flags="-s" Do you really need to be running routed? Probably not. > i got two netcards (intel EtherExpress Pro 100 + B) each assigned with a different IP adress - 172.16.50.1 subnet 255.255.0.0 AND 172.31.50.1 subnet 255.255.0.0 > > It works as a charm on the machine, but heres my problem Great it works. > When using the machine as a gateway for a different computer (on either side/netcard) the machine doesn´t seem to forward the trafic. I have compiled IPFIREWALL support - but I allowed all trafic from any to any(as the first entry). Oh, wait. It doesn't work? Could you describe the problem a little more clearly? What does work? What does not? 1. a) Can the gateway machine reach hosts on 172.16.0.0/16? b) Can the gateway machine reach hosts on 172.31.0.0/16? 2. a) Can hosts on 172.16.0.0/16 reach the gateway? b) Can hosts on 172.31.0.0/16 reach the gateway? 3. a) Do hosts on 172.16.0.0/16 have the proper default gateway entry? b) Do hosts on 172.31.0.0/16 have the proper default gateway entry? 4. a) Can hosts on 172.16.0.0/16 reach hosts on 172.31.0.0/16? b) Can hosts on 172.31.0.0/16 reach hosts on 172.16.0.0/16? -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message