Date: Fri, 23 Feb 2001 09:45:04 +0300 From: Odhiambo Washington <wash@iconnect.co.ke> To: freebsd-questions@freebsd.org Cc: darryl@osborne-ind.com Subject: Re: ppp.conf and routing Message-ID: <20010223094504.D64643@poeza.iconnect.co.ke> In-Reply-To: <001f01c09d1c$9f43f510$0701a8c0@darryl>; from "Darryl Hoar" on Thu, Feb 22, 2001 at 04:13:01PM -0600 References: <001f01c09d1c$9f43f510$0701a8c0@darryl>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] * Darryl Hoar <darryl@osborne-ind.com> [20010223 01:16]: writing on the subject 'ppp.conf and routing' Darryl> Greetings, Darryl> I am running FreeBSD 4.0-release and this is my ppp.conf file: Darryl> 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 Exp $ Darryl> ################################################################# Darryl> Darryl> default: Darryl> Darryl> # Darryl> # Make sure that "device" references the correct serial port Darryl> # for your modem. (cuaa0 = COM1, cuaa1 = COM2) Darryl> # Darryl> Darryl> set device /dev/cuaa0 Darryl> 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> 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> Darryl> My IP is dynamically assigned to me by my ISP. Darryl> 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> 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> 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 grand fallacy. [-- Attachment #2 --] -----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-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010223094504.D64643>
