From owner-freebsd-questions Tue May 11 7:17:56 1999 Delivered-To: freebsd-questions@freebsd.org Received: from eagle.phc.igs.net (eagle.phc.igs.net [207.210.17.201]) by hub.freebsd.org (Postfix) with ESMTP id E956015A10 for ; Tue, 11 May 1999 07:17:52 -0700 (PDT) (envelope-from eagle@eagle.phc.igs.net) Received: by eagle.phc.igs.net (Postfix, from userid 1003) id 4599318B2; Tue, 11 May 1999 09:17:24 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by eagle.phc.igs.net (Postfix) with SMTP id 1E5C814; Tue, 11 May 1999 09:17:24 +0000 (GMT) Date: Tue, 11 May 1999 09:17:23 +0000 (GMT) From: eagle To: Michael Maxwell Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Natd and ipfw dilemma... In-Reply-To: <19990511013235.C2583@drwho.xnet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 11 May 1999, Michael Maxwell wrote: > Ok, I've been working on this for quite a while now and don't quite know > how to proceed... > > First, the specifics: > I'd like to be able to connect an internal network on the 192.168.16.x > address range, but still be able to connect to the outside world via an > assigned IP address from my ISP (via modem with pppd). > > I know this is possible with natd and ipfw, but I'm not sure how. What > address should I assign to the "gateway" machine? Should I give it the > internal net address? Or the external? In other words, which interface > should I alias, ppp0 or xl0 (ethernet)? > > If this makes no sense, let me know and I'll try to clarify... interfaces have addresses not machines, the ethernet address is the one you want to use as the gateway addres.. Rob To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message