From owner-freebsd-questions@FreeBSD.ORG Tue Mar 29 03:20:39 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 D18DA16A4CE for ; Tue, 29 Mar 2005 03:20:39 +0000 (GMT) Received: from mx1.mail.ru (mx1.mail.ru [194.67.23.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5721243D5E for ; Tue, 29 Mar 2005 03:20:39 +0000 (GMT) (envelope-from block111@mail.ru) Received: from [66.11.179.187] (port=3097 helo=[192.168.0.1]) by mx1.mail.ru with asmtp id 1DG7HR-000EID-00; Tue, 29 Mar 2005 07:20:37 +0400 Message-ID: <4248C984.2060606@mail.ru> Date: Mon, 28 Mar 2005 22:20:36 -0500 From: PS User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Tancsa References: <42489DBB.4000105@mail.ru> <5dfh415ppnbge1aqqh4lf7ohlg5m934503@4ax.com> In-Reply-To: <5dfh415ppnbge1aqqh4lf7ohlg5m934503@4ax.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam: Not detected 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 03:20:39 -0000 Mike Tancsa wrote: > On Mon, 28 Mar 2005 19:13:47 -0500, in sentex.lists.freebsd.questions > you 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. > > > Hi, > If you add > > disable iface-alias Thanks, I'll check this solution. > does it fix the problem ? Also, why do you need to kill / restart > ppp? My isp gives free bandwidth from x till y, provided that a connection starts after x and finishes before y... so, my smart freebsd pc sends every day INT to ppp to restart ppp connection :)