From owner-freebsd-questions Tue May 18 21:50:19 1999 Delivered-To: freebsd-questions@freebsd.org Received: from kiwi.pinnacle.co.nz (pinnacle.internet.co.nz [210.48.55.133]) by hub.freebsd.org (Postfix) with ESMTP id 81AD614DEB for ; Tue, 18 May 1999 21:50:12 -0700 (PDT) (envelope-from jonc@pinnacle.co.nz) Received: from kiwi.pinnacle.co.nz (kiwi.pinnacle.co.nz [202.37.163.2]) by kiwi.pinnacle.co.nz (8.9.3/8.9.3) with ESMTP id QAA00621; Wed, 19 May 1999 16:44:24 +1200 (NZST) Date: Wed, 19 May 1999 16:44:24 +1200 (NZST) From: Jonathan Chen To: Doug Poland Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ppp, domains, and routing - Uncle :-( In-Reply-To: <000201bea1b0$067ffe00$7a01140a@egypt> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 18 May 1999, Doug Poland wrote: > Well, I give up. I'm trying to configure a 3.1-RELEASE machine to > work on my corporate intranet and dial out to my ISP (dynamic IPs). > User ppp dials and connects but it appears that my box is trying > to route everything through my intranet gateway, not ppp (tun0?). [...] > MyBSD# cat /etc/rc.conf > ... > network_interfaces "ppp0 ed0 lo0" > ifconfig_edo="inet 10.20.30.111 netmask 255.255.255.0" ^ Typo? > defaultrouter="10.20.30.40" ^^^^^^^^^^^^^^^^^^^^^^^^^^ This is the reason why everything's not working on your machine. Remove this line. Remove the ppp0 network interface. Add: gateway_enable="YES" I'm assuming your /etc/ppp.conf is set up correctly; for dynamic IP, and you're invoking it as: ppp -auto -alias your_isp_entry When ppp connects, it should then add an entry to your routing tables so that the default route is on the other end of your ppp connection. --------------------------------------------------------------------- Jonathan Chen | Opportunites are seldom labeled --------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message