From owner-freebsd-questions Sun Feb 11 11:54:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail3.one.net (mail3.one.net [206.112.192.120]) by hub.freebsd.org (Postfix) with ESMTP id E121537B401 for ; Sun, 11 Feb 2001 11:54:47 -0800 (PST) Received: from ip-216-23-55-46.adsl.one.net ([216.23.55.46] EHLO arrakis.desert-power.org ident: IDENT-NOT-QUERIED [port 14085]) by mail2.one.net with ESMTP id <350194-1182>; Sun, 11 Feb 2001 14:54:39 -0500 Received: (from mwithers@localhost) by arrakis.desert-power.org (8.9.3/8.9.3) id OAA01127; Sun, 11 Feb 2001 14:54:29 -0500 (EST) (envelope-from mwithers) From: "Mark B. Withers" To: Matthew Emmerton Cc: freebsd-questions Subject: Re: Strange DSL/NAT Problem... Message-ID: <20010211145428.E277@arrakis.desert-power.org> References: <005001c093b9$d7bc0430$1200a8c0@gsicomp.on.ca> <20010211112643.C277@arrakis.desert-power.org> <006d01c09454$fb441280$1200a8c0@gsicomp.on.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <006d01c09454$fb441280$1200a8c0@gsicomp.on.ca>; from matt@gsicomp.on.ca on Sun, Feb 11, 2001 at 01:07:39PM -0500 Date: Sun, 11 Feb 2001 14:54:35 -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Here's what my setup is like: [dsl router/modem 10.196.xx.161] --DHCP--(ep0)Freebsd(ep1)--internal lan I have a DSL provider and an isp (2 separate providers). The DSL provider gives out a total of 4 IP addresses through the router/modem using DHCP. What I want to do is use the FreeBSD machine to be the router/gateway/firewall for my Lan. I am trying to get PPPoE working on my FreeBSD machine, however I am confused as to how I am to configure the routing information when the first ethernet interface is configured using DHCP and that ip address may change at any given moment because my DSL provider does reboot their core servers at unpredictable times. When they reboot their servers, my total ip address scheme will change. I need to get PPPoE working with ipfw and also need nat working on the FreeBSD machine for my internal lan so that the connection to the internet is constant through the FreeBSD machine. I wish to separate the LAN from the internet using a different (static) subnet which I can choose. I am trying to get PPPoE working and ipfw. So far I am having trouble with PPP as it doesn't want to connect to the DSL router/modem as the routing information isn't yet configured correctly. I need a formula to be able to figure out how to configure PPP so that it can connect and keep the connection live. Mark On Sun, Feb 11, 2001 at 01:07:39PM -0500, Matthew Emmerton wrote: > > Matt, > > > > I too am trying to use PPPoE here with a DSL modem connection and am > > confused about the outside/inside interface scheme here since my DSL > > modem/bridge/router assigns the routing information to my first > > network interface (ep0) using DHCP. I am still trying to get PPPoE to > > work as well. > > So let me get this straight - you use PPPoE (which can do automatic IP > assignment), but your ISP also uses DHCP to perform automatic address > assingment? That sounds like a pretty strange setup to me. > > -- > Matt Emmerton > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message