From owner-freebsd-net Sun Jan 20 5:35: 4 2002 Delivered-To: freebsd-net@freebsd.org Received: from artemis.drwilco.net (artemis.drwilco.net [209.167.6.62]) by hub.freebsd.org (Postfix) with ESMTP id DBCBB37B41A for ; Sun, 20 Jan 2002 05:34:58 -0800 (PST) Received: from ceres.drwilco.net (docwilco.xs4all.nl [213.84.68.230]) by artemis.drwilco.net (8.11.6/8.11.6) with ESMTP id g0KDYuR27036 (using TLSv1/SSLv3 with cipher DES-CBC3-SHA (168 bits) verified NO); Sun, 20 Jan 2002 08:34:58 -0500 (EST) (envelope-from drwilco@drwilco.net) Message-Id: <5.1.0.14.0.20020120143638.01b68dc0@mail.drwilco.net> X-Sender: lists@mail.drwilco.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 20 Jan 2002 14:44:19 +0100 To: , From: "Rogier R. Mulhuijzen" Subject: Re: pppoe gateway routing issues In-Reply-To: <3374.216.170.184.146.1011524337.squirrel@www.soho.berbee.c om> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At 04:58 20-1-2002 -0600, rob@the-rob.com wrote: >First off if this shows up as html, I apologize, I'm temporarily using a >web based client. This email contains my configuration files so is kind of >long but I hope this will give as much information as possible. MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Think it came out just fine =) >I just got DSL after riding myself of my cable modem. The DSL I have is >using pppoe. I was able to get this up and running on my laptop. I am now >working on my gateway machine to get my LAN back up and running. > >I have used the how-to's listed in the freebsd diary ( >http://www.freebsddiary.org/pppoe.php ) I also tried >http://www.daemonnews.org/200101/pppoe.html These worked fine on my laptop >and I was able to surf the web no problem. I then went to configure my >gateway box. I added the appropriate options to the kernel and >recompiled. I added the neccesary "ppp" lines to my rc.conf. I also >created my ppp.conf. When I boot the machine I get the IP addresses but >when I try to pass any traffic I get "no route to host" messages. I make >sure my default gateway is setup correctly (which it appears to be as >such). I delete the the default route and add it myself but this does not >work either. ---SNIP--- >gateway_enable="YES" good >hostname="PITA.the-rob.com" >network_interfaces="xl0 dc0 lo0" >ifconfig_dc0="inet 192.168.1.1 netmask 255.255.255.0" >ifconfig_lo0="inet 127.0.0.1" >ifconfig_xl0="inet 10.0.0.1 netmask 255.255.255.0" still looking good >ipfilter_enable="YES" >ipmon_enable="YES" >ipmon_flags="-Dsvn" >ipnat_enable="YES" Yikes... note you have NAT here..... >#router_flags="-q" >#router="routed" >#router_enable="YES" >ppp_enable="YES" >ppp_mode="ddial" >ppp_profile="tds" >ppp_nat="YES" ...and here. ----more config snipped---- I'm not familiar with ipfilter I'm afraid, but since the rest of your config looks good to me at first glance, try removing the ipfilter/mon/nat settings, try connecting again, and if it works, then add those settings back one by one. DocWilco To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message