Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Mar 2000 09:30:01 -0500
From:      Peter Schwenk <schwenk@math.udel.edu>
To:        Ron Smith <ronnet@mediaone.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Using DSL instead of Dialup PPP
Message-ID:  <38BE7AE9.6E28FE8@math.udel.edu>
References:  <38BD971C.A72EC6D4@mediaone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
I've just encountered the same situation, except with cable modem.  I've
got a static IP, so I can't say how to do DHCP, but I do know that you
don't need PPP.  The DSL "modem" connects to your computer via ethernet
and probably already is speaking IP, if not you will need to investigate
the PPPoE (PPP over Ethernet) option of PPP.  I'm guessing that you don't
need PPP, especially if you need to use DHCP to get your address because
DHCP needs IP already running.  I guess the way to find out if your DSL
box is already speaking IP is to ask your provider, but it's a dead
giveaway if you need special software in Windows besides the built-in
TCP/IP stack to use the service.

You can enable the firewall (packet filtering) capabilities of the
FreeBSD kernel and mess with the rc.firewall script.  I found that the
man pages for ipfw and natd were helpful.  You won't need natd unless you
have an internal network that you want to provide internet access to.
natd is the program that performs "ip aliasing" for you.

So here's the checklist:

   * Make sure your DSL box doesn't need PPPoE (I'm guessing it doesn't)
   * Figure out how to get DHCP to work (man dhclient-script)
   * Figure out how to get firewalling and NAT working (man ipfw and man
     natd)

I've got this stuff working with cable modem service, so it should be
similar.

Ron Smith wrote:

> I read the tutorial 'PPP Primer - IP Aliasing' and was wondering:
>
> 1) What changes do I have to make to implement IP aliasing with DSL,
> where you're always connected?
> 2) Could I have my firewall also on that same machine?
> 3) Does it matter if my ISP gives me a dynamic address account (DHCP)?
>
> TIA,
> Ron Smith
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

--
PETER SCHWENK                        | Campus IT Associate 3
Department of Mathematical Sciences  | University of Delaware
schwenk@math.udel.edu                | (302)831-0437





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?38BE7AE9.6E28FE8>