From owner-freebsd-questions@FreeBSD.ORG Sat Jul 5 11:19:19 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59E0137B401 for ; Sat, 5 Jul 2003 11:19:19 -0700 (PDT) Received: from bastion.pydo.net (bastion.pydo.net [62.212.97.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FC9F43FF2 for ; Sat, 5 Jul 2003 11:19:16 -0700 (PDT) (envelope-from artur@pydo.org) Received: by bastion.pydo.net (Postfix, from userid 10025) id C64F44C276; Sat, 5 Jul 2003 20:19:14 +0200 (CEST) Received: from pydo.org (univers2.pydo.org [192.168.0.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by bastion.pydo.net (Postfix) with ESMTP id BFE324C255; Sat, 5 Jul 2003 20:19:13 +0200 (CEST) Message-ID: <3F07169F.5030309@pydo.org> Date: Sat, 05 Jul 2003 20:19:11 +0200 From: Artur Pydo User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: fr-fr, fr, en-us, en MIME-Version: 1.0 To: stan References: <20030704161329.GB1237@teddy.fas.com> In-Reply-To: <20030704161329.GB1237@teddy.fas.com> X-Enigmail-Version: 0.76.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG autolearn=ham version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: Free BSD Questions list Subject: Re: How to delete/replace default route using ppp? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jul 2003 18:19:19 -0000 Hello, stan wrote: > Can anyone help me with the ppp.conf syntax to clear/replace an existing > default rout for the duration of a ppp linkup? > > That is, the machine starts off with a default route, which I want to > delete and replace with the ppp route for the duration of the conection. > Then I wnat to put the orignal route back. > > Sugestions? Look at the following files and explanations in ppp man : /etc/ppp/ppp.linkup /etc/ppp/ppp.linkdown -- Best regards, Artur Pydo.