From owner-freebsd-questions@FreeBSD.ORG Tue Mar 29 00:13:51 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 6E7A016A4CE for ; Tue, 29 Mar 2005 00:13:51 +0000 (GMT) Received: from mx3.mail.ru (mx3.mail.ru [194.67.23.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2153543D2D for ; Tue, 29 Mar 2005 00:13:51 +0000 (GMT) (envelope-from block111@mail.ru) Received: from [66.11.179.187] (port=4058 helo=[192.168.0.1]) by mx3.mail.ru with asmtp id 1DG4Me-000JsN-00 for freebsd-questions@freebsd.org; Tue, 29 Mar 2005 04:13:49 +0400 Message-ID: <42489DBB.4000105@mail.ru> Date: Mon, 28 Mar 2005 19:13:47 -0500 From: PS User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam: Not detected Subject: ppp problems with routing 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: Tue, 29 Mar 2005 00:13:51 -0000 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