From owner-freebsd-questions Fri Nov 10 0:48:49 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 6B25537B4C5 for ; Fri, 10 Nov 2000 00:48:46 -0800 (PST) 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, 10 Nov 2000 00:47:17 -0800 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id eAA8mfY96248; Fri, 10 Nov 2000 00:48:41 -0800 (PST) (envelope-from cjc) Date: Fri, 10 Nov 2000 00:48:40 -0800 From: "Crist J . Clark" To: Nathan Vidican Cc: pgd@telehorizon.com, questions@FreeBSD.ORG Subject: Re: setting up NAT.. Message-ID: <20001110004840.X75251@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <973760877.3a0a696dc644a@webmail.telehorizon.com> <3A0ABFDD.EC18C380@wmptl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <3A0ABFDD.EC18C380@wmptl.com>; from webmaster@wmptl.com on Thu, Nov 09, 2000 at 10:16:45AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Nov 09, 2000 at 10:16:45AM -0500, Nathan Vidican wrote: > pgd@telehorizon.com wrote: > > > > hi, > > > > i'm trying to set up NAT here and sadly enough it just won't work :^( > > Any help/suggestion/advise will be appreciated :^) > > > > Here's a simplification of my network: > > > > pc3 pc1 > > +----+ +-----+ > > |.89 | gateway | | > > | +-+ +------+ +--+ | > > +----+ | | | | | | +-----+ > > +---| | | |-----+ > > | | | | | | +-----+ > > internet<--+ +------+ +--+ | > > ^ ^ | | > > fxp0 xl0 +-----+ > > pc2 > > [snip] > > Then it seems to be time to change the IP's. Here's my distribution: > > - gateway xl0 becomes 10.0.0.1 > > - pc1 becomes 10.0.0.2 > > - pc2 becomes 10.0.0.3 > > > > - netmask on all three becomes 10.255.255.254 > > > > ### THE PROBLEM ### Could be that broken netmask. What is it really supposed to be? Something more like, 255.0.0.0 or 255.255.255.0? Is that really the netmask you used to configure the interfaces? -- 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