From owner-freebsd-questions@FreeBSD.ORG Wed Mar 30 02:01:30 2005 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 46A0016A4CE for ; Wed, 30 Mar 2005 02:01:30 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2272243D1D for ; Wed, 30 Mar 2005 02:01:29 +0000 (GMT) (envelope-from j65nko@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so732474wra for ; Tue, 29 Mar 2005 18:01:28 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=meKUZk9Ht88M6ayC3aijPcsnjJhCR+/zB/EJC1/yvWdgUbgziLcJAvRLeuqQJEBf9+FKkjdlIhg7Btuo1Axoiq+3by6EwCcQyoOmFJ35HAv4rYcXpv7GZp93VuSIWDdaRyC5aY2t7DxejXTWgRrPj2cwVCXJW6pO6CpSisEekNs= Received: by 10.54.83.14 with SMTP id g14mr157076wrb; Tue, 29 Mar 2005 18:01:28 -0800 (PST) Received: by 10.54.37.42 with HTTP; Tue, 29 Mar 2005 18:01:27 -0800 (PST) Message-ID: <19861fba05032918017189faea@mail.gmail.com> Date: Wed, 30 Mar 2005 04:01:27 +0200 From: J65nko BSD To: PS In-Reply-To: <42489DBB.4000105@mail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <42489DBB.4000105@mail.ru> cc: freebsd-questions@freebsd.org Subject: Re: ppp problems with routing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: J65nko BSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 02:01:30 -0000 On Mon, 28 Mar 2005 19:13:47 -0500, PS wrote: > Hello I use freeBSD 4.11 with pppoe. > I used almost default ppp.conf (as in freebsd handbook) for dynamic ip. > my config is here http://block111.servehttp.com/ppp.conf > Twice a day I restart ppp from cron with `killall -INT ppp` and if the > new connection default gateway is different then the old default route > isn't removed, e.g. after ppp restart I have this: > ifconfig -> > ... > inet 66.11.172.181 --> 66.11.165.1 netmask 0xffffffff > inet 66.11.180.20 --> 66.11.190.1 netmask 0xffffffff > > before I had > inet 66.11.172.181 --> 66.11.165.1 netmask 0xffffffff > only, but after I sent INT to ppp the new ip has a different dafault > gateway and the old one isn't removed. Should the old default route/ip > be removed or not? In my case the old ip becomes invalid. > > Thank you > _______________________________________________ > 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" > Have you tried: add! default HISADDR Note the exclamation mark "!" after the add.