From owner-freebsd-questions@freebsd.org Sat Dec 5 03:24:07 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 090C5A40D2B for ; Sat, 5 Dec 2015 03:24:07 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-pf0-x233.google.com (mail-pf0-x233.google.com [IPv6:2607:f8b0:400e:c00::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BF4ED1E45 for ; Sat, 5 Dec 2015 03:24:06 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by pfnn128 with SMTP id n128so35258184pfn.0 for ; Fri, 04 Dec 2015 19:24:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=q/4N2eeD2Er9Nvfp+sfzi95qO3LwZ/IzGIe5dxQR5Mg=; b=C1HerWZrvjKqIzr6UB1RQ+XgRNdrwI9Lf72zcvXVDhBAKZNgcr7NmjHMh1D+3xhiPz MNs1ksHsQvPCKgIblzdhJalW+jWLcBlQxxlcfIY5/gt6in7yr8LyS5pPBwGkrNudspUk pGmaphmKaDoMqQsVOPm6CPn4QLJf109Tma6ZnUG/5MMYNBd6vfYxzWRrZ2lGrblCwXmn KnFxcvRJdbnbjzcio0OJCr+0pHb9ZtbWlt2XE4EwqYDbTV7gy4o53PVrZJU4Y7wfaQd4 mQ4WSDHNVls7BKf5rL9uX6GSJWbbYScojmVeekQQEMAnTKPFg60uwM0L58bCboT50Q+8 2pyg== X-Received: by 10.98.43.18 with SMTP id r18mr26678244pfr.2.1449285846263; Fri, 04 Dec 2015 19:24:06 -0800 (PST) Received: from [192.168.111.129] ([120.29.76.26]) by smtp.googlemail.com with ESMTPSA id o63sm19831918pfi.77.2015.12.04.19.24.04 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Dec 2015 19:24:05 -0800 (PST) Message-ID: <566258D7.6010405@gmail.com> Date: Fri, 04 Dec 2015 22:24:07 -0500 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Lev CC: freebsd-questions@freebsd.org Subject: Re: ppp broken link leftover References: <20151129223711.116a8d7f@jive.levalinux.org> In-Reply-To: <20151129223711.116a8d7f@jive.levalinux.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2015 03:24:07 -0000 Lev wrote: > I've set up ppp and it works as expected. > > The connection to my ISP brakes from time to time. I experience that > the IP address of tun0 and the routing table doesn't get updated. All > the old address and routing record stay there. > > Everything is working, I just don't think that a broken routing record > is a good idea to leave it in the kernel's routing table. Not to > mention the address of the interface. > > I've tried adding the 'add! default HISADDR' to my ppp.conf, but it > didn't help. > > Any ideas? > This should fix your problem. Add this to your ppp.conf file disable iface-alias # Stop adding old IP address 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