From owner-freebsd-questions Sun Aug 13 13:56: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from absinthe2.dyndns.org (adsl-63-192-101-76.dsl.chic01.pacbell.net [63.192.101.76]) by hub.freebsd.org (Postfix) with ESMTP id C986C37B6AD for ; Sun, 13 Aug 2000 13:56:01 -0700 (PDT) (envelope-from fred@absinthe2.dyndns.org) Received: (from fred@localhost) by absinthe2.dyndns.org (8.9.3/8.9.3) id NAA19691; Sun, 13 Aug 2000 13:53:58 -0700 (PDT) (envelope-from fred) Date: Sun, 13 Aug 2000 13:53:57 -0700 From: Fred Condo To: Charlie Finan Cc: freebsd-questions@FreeBSD.org Subject: Re: DSL, PPPoE, SBC/SNET Message-ID: <20000813135357.C1897@absinthe.condo.chico.ca.us> Mail-Followup-To: Charlie Finan , freebsd-questions@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from chf@bear.com on Sat, Aug 12, 2000 at 04:16:57PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Aug 12, 2000 at 04:16:57PM -0400, Charlie Finan wrote: > Hi, > > I need some setup advice. I'm running 3.5R and have 2 NICs. My > internal net is setup just fine and if I use ppp to a dialup to my > ISP, I have not sweat connecting and working. Now, DSL is available > and I just got the setup hardware from them. I've installed the DSL > modem (Efficient Networks 5260) and connected it to my slow (10Mb) nic > with a crossover cable. I see the ethernet is there light, so that's > ok. > > Now for the questions. I'm unclear how to get the pppoe side working > and how to get the packets over to my internal net. I see the option > in the rc.conf to use the pppoed to start ppp with an isp_name > argument. This looks like the right way to go. I still want to be > able to get the dialup connect until I'm comfortable that the DSL will > work. So, do I make a second ppp (ln -s ppp ppp1) and set it up in > syslog.conf and newsyslog.conf for logging? > > Then, once I connect, can I use ppp's internal nat and ip-rules or do > I need to go through setting up natd and ipfw? (My kernel is already > set with the IPFIREWALL & NETGRAPH options.) > > Any advice would be greatly apprectiated!!!! > > Charlie The recipe for PPPoE is at , and doesn't involve pppoed, which is for being a PPPoE server. You need to be a client, which uses the ppp client software. Keep your dialup configuration in your /etc/ppp/ppp.conf file; add the PPPoE configuration as a separate label. Say your dialup configuration is labeled "dialup:" and the PPPoE is labeled "ether:". Then you would invoke PPP for dialup with: ppp -ddial -nat -quiet dialup And you would invoke PPPoE with: ppp -ddial -nat -quiet ether -- Fred Condo + fred@condo.chico.ca.us This above all -- to thine own self be true. -- Wm. Shakespeare To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message