Skip site navigation (1)Skip section navigation (2)
From:      "Mark B. Withers" <mwithers@one.net>
To:        Matthew Emmerton <matt@gsicomp.on.ca>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Strange DSL/NAT Problem...
Message-ID:  <20010211145428.E277@arrakis.desert-power.org>
In-Reply-To: <006d01c09454$fb441280$1200a8c0@gsicomp.on.ca>; from matt@gsicomp.on.ca on Sun, Feb 11, 2001 at 01:07:39PM -0500
References:  <Pine.BSF.4.21.0102101649210.3971-100000@cody.jharris.com> <005001c093b9$d7bc0430$1200a8c0@gsicomp.on.ca> <20010211112643.C277@arrakis.desert-power.org> <006d01c09454$fb441280$1200a8c0@gsicomp.on.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010211145428.E277>