From owner-freebsd-questions@FreeBSD.ORG Fri Jul 4 11:57:48 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 67B6C37B401 for ; Fri, 4 Jul 2003 11:57:48 -0700 (PDT) Received: from mta8.adelphia.net (mta8.adelphia.net [64.8.50.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94F254400B for ; Fri, 4 Jul 2003 11:57:47 -0700 (PDT) (envelope-from FBSD_user@a1poweruser.com) Received: from barbish ([68.169.105.49]) by mta8.adelphia.net (InterMail vM.5.01.05.32 201-253-122-126-132-20030307) with SMTP id <20030704185746.BWJX20782.mta8.adelphia.net@barbish>; Fri, 4 Jul 2003 14:57:46 -0400 From: "FBSD_User" To: "stan" , "Free BSD Questions list" Date: Fri, 4 Jul 2003 14:57:45 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <20030704161329.GB1237@teddy.fas.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: RE: How to delete/replace default route using ppp? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: FBSD_user@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jul 2003 18:57:48 -0000 Try adding this to your ppp.conf enable dns # Gets the ISP's DNS IP address & places them # in resolv.conf for reference by FBSD box. disable iface-alias # Stop adding old IP addr as alias when ppp # redials because line was lost. These old ips # showed using ifconfig -a on tun0. iface clear # Remove all previous IP address add default HISADDR # Add a (sticky) default route (Mandatory) -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of stan Sent: Friday, July 04, 2003 12:13 PM To: Free BSD Questions list Subject: How to delete/replace default route using ppp? I'm trying to get a new laptop set up for a quick out of town trip. 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? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"