From owner-freebsd-questions Thu Feb 22 22:43:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from siafu.iconnect.co.ke (upagraha.iconnect.co.ke [209.198.248.2]) by hub.freebsd.org (Postfix) with ESMTP id E258B37B4EC for ; Thu, 22 Feb 2001 22:43:41 -0800 (PST) (envelope-from wash@iconnect.co.ke) Received: from [212.22.163.2] (helo=poeza.iconnect.co.ke) by siafu.iconnect.co.ke with esmtp (Exim 2.12 #1) id 14WBvE-000B39-00; Fri, 23 Feb 2001 09:41:45 +0300 Received: from wash by poeza.iconnect.co.ke with local (Exim 3.20 #1) id 14WByS-000HFE-00; Fri, 23 Feb 2001 09:45:04 +0300 Date: Fri, 23 Feb 2001 09:45:04 +0300 From: Odhiambo Washington To: freebsd-questions@freebsd.org Cc: darryl@osborne-ind.com Subject: Re: ppp.conf and routing Message-ID: <20010223094504.D64643@poeza.iconnect.co.ke> Mail-Followup-To: Odhiambo Washington , freebsd-questions@freebsd.org, darryl@osborne-ind.com References: <001f01c09d1c$9f43f510$0701a8c0@darryl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="NklN7DEeGtkPCoo3" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <001f01c09d1c$9f43f510$0701a8c0@darryl>; from "Darryl Hoar" on Thu, Feb 22, 2001 at 04:13:01PM -0600 X-Operating-System: FreeBSD poeza.iconnect.co.ke 4.2-STABLE FreeBSD 4.2-STABLE X-Location: Mombasa, KE, East Africa Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --NklN7DEeGtkPCoo3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Darryl Hoar [20010223 01:16]: writing on the sub= ject 'ppp.conf and routing' Darryl> Greetings, Darryl> I am running FreeBSD 4.0-release and this is my ppp.conf file: Darryl>=20 Darryl> ################################################################# Darryl> # PPP Sample Configuration File Darryl> # Originally written by Toshiharu OHNO Darryl> # Simplified 5/14/1999 by wself@cdrom.com Darryl> # Darryl> # $FreeBSD: src/etc/ppp/ppp.conf,v 1.2 1999/08/27 23:24:08 peter Ex= p $ Darryl> ################################################################# Darryl>=20 Darryl> default: Darryl>=20 Darryl> # Darryl> # Make sure that "device" references the correct serial port Darryl> # for your modem. (cuaa0 =3D COM1, cuaa1 =3D COM2) Darryl> # Darryl>=20 Darryl> set device /dev/cuaa0 Darryl>=20 Darryl> set log Phase Chat LCP IPCP CCP tun command Darryl> set speed 115200 Darryl> set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK= ATE1Q0 Darryl> OK Darryl> \\dATDT\\T TIMEOUT 40 CONNECT" Darryl>=20 Darryl> set timeout 300 Darryl> set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 Darryl> add default HISADDR Darryl> enable dns Darryl> ruralnet: Darryl> set phone 1234567 Darryl> set authname XXXX Darryl> set authkey XXXX Darryl>=20 Darryl> My IP is dynamically assigned to me by my ISP. Darryl>=20 Darryl> Question: Darryl> When I do a netstat -rn, I see among other things: Darryl> Destination Gateway Darryl> 10.0.0.2 10.0.0.1 Darryl>=20 Darryl> I thought after ppp negotiated the IP address, that the suggested Darryl> 10.0.0.1/10.0.0.2 would Darryl> be deleted by ppp automagically. Do I have something misconfigured= ? Darryl>=20 Darryl> thanks, Darryl> Darryl Go back and read the ppp manuals. They are on the web and pretty much everything is well explained there. You cannot go ahead by skipping it. www.freebsd.org/tutorials/ppp/book.html -Wash -- Odhiambo Washington Inter-Connect Ltd., wash@iconnect.co.ke 5th Flr Furaha Plaza Tel: 254 11 222604 Nkrumah Rd., Fax: 254 11 222636 PO Box 83613 MOMBASA, KE. An expert is a person who avoid the small errors while sweeping on to the= =20 grand fallacy.=20 --NklN7DEeGtkPCoo3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6lgbwA2k+MNyI/bERAtczAJsH5JIFvS2fFG9jSvtXR23v8E/R6QCfWc9i ea6Bwb8NYn/lzEFTkqRu/zU= =CT96 -----END PGP SIGNATURE----- --NklN7DEeGtkPCoo3-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message