From owner-freebsd-isp Sat Jul 11 10:32:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA21949 for freebsd-isp-outgoing; Sat, 11 Jul 1998 10:32:57 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from news1.gtn.com (news1.gtn.com [194.77.0.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA21932 for ; Sat, 11 Jul 1998 10:32:43 -0700 (PDT) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by news1.gtn.com (8.8.6/8.8.6) with UUCP id TAA22063; Sat, 11 Jul 1998 19:30:16 +0200 (MET DST) Received: (from andreas@localhost) by klemm.gtn.com (8.8.8/8.8.8) id TAA12472; Sat, 11 Jul 1998 19:24:57 +0200 (CEST) (envelope-from andreas) Message-ID: <19980711192457.A12033@klemm.gtn.com> Date: Sat, 11 Jul 1998 19:24:57 +0200 From: Andreas Klemm To: Mukti Arip , freebsd-isp@FreeBSD.ORG Subject: Re: Connecting two networks with FreeBSD References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Mukti Arip on Sat, Jul 11, 1998 at 01:14:31PM +0700 X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Jul 11, 1998 at 01:14:31PM +0700, Mukti Arip wrote: > > Hi everyone!!! > > I have a problem about connecting two networks with a computer running > FreeBSD 2.2.6. The network address for one side is 192.168.1.0 mask > 255.255.255.0 and the other side is 10.1.1.0 mask 255.255.255.0. > > 192.168.1.0 10.1.1.0 > ---------------------+ +---------------------- > 255.255.255.0 | | 255.255.255.0 > | | > 192.168.1.1 | | 10.1.1.100 > +------+----------+-------+ > | ed0 ed1 | > | | > | FreeBSD | > | 2.2.6 | > | | > +-------------------------+ > > Until now, I can't ping or traceroute from my workstation (10.1.1.9) to my > friend's workstation (IP add. 192.168.1.25). So, how to setup that FreeBSD > machine? > > Any help would be greatly appreciated. Did you configure your machine to act as a gateway ? /etc/rc.conf: gateway_enable="YES" # Set to YES if this host will be a gateway. Where is your routing table (netstat -rn) and your machines /etc/rc.conf ? -- Andreas Klemm http://www.FreeBSD.ORG/~andreas What gives you 90% more speed, for example, in kernel compilation ? http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html "NT = Not Today" (Maggie Biggs) ``powered by FreeBSD SMP'' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message