Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--NklN7DEeGtkPCoo3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Darryl Hoar <darryl@osborne-ind.com> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010223094504.D64643>