From owner-freebsd-questions Thu Mar 2 6:30: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from math.udel.edu (math.udel.edu [128.175.16.7]) by hub.freebsd.org (Postfix) with ESMTP id 347FF37BBC8 for ; Thu, 2 Mar 2000 06:30:04 -0800 (PST) (envelope-from schwenk@math.udel.edu) Received: from math.udel.edu (sisyphus.math.udel.edu [128.175.16.167]) by math.udel.edu (8.9.3+Sun/8.9.1) with ESMTP id JAA05117; Thu, 2 Mar 2000 09:30:02 -0500 (EST) Message-ID: <38BE7AE9.6E28FE8@math.udel.edu> Date: Thu, 02 Mar 2000 09:30:01 -0500 From: Peter Schwenk Organization: University of Delaware X-Mailer: Mozilla 4.72 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en, fr, de, ko MIME-Version: 1.0 To: Ron Smith Cc: freebsd-questions@freebsd.org Subject: Re: Using DSL instead of Dialup PPP References: <38BD971C.A72EC6D4@mediaone.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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