From owner-freebsd-questions@freebsd.org Tue Sep 27 14:28:21 2016 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 F0738BECA12 for ; Tue, 27 Sep 2016 14:28:21 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BDF16C4E for ; Tue, 27 Sep 2016 14:28:21 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id u8RESK5M060446 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 27 Sep 2016 10:28:20 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c] ([IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c]) by lava.sentex.ca (8.15.2/8.14.9) with ESMTP id u8RESI8O088908; Tue, 27 Sep 2016 10:28:19 -0400 (EDT) (envelope-from mike@sentex.net) Subject: Re: ppp installing unwanted route To: Ernie Luzar References: <57E9AA0D.4050505@gmail.com> <8541d657-aa02-a21e-d624-e6a261523348@sentex.net> Cc: freebsd-questions From: Mike Tancsa Organization: Sentex Communications Message-ID: Date: Tue, 27 Sep 2016 10:27:53 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <8541d657-aa02-a21e-d624-e6a261523348@sentex.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2016 14:28:22 -0000 On 9/26/2016 9:19 PM, Mike Tancsa wrote: > On 9/26/2016 7:06 PM, Ernie Luzar wrote: >> disable iface-alias >> iface clear > > > Thanks, unfortunately, no change :( > > > K>* 0.0.0.0/0 via 67.43.128.14, tun0 > B 0.0.0.0/0 [20/0] via 10.255.255.1, igb0, 00:02:00 Using mpd, all works as expected. However, it would be nice to not have to install a port. changing the config a bit, if I remove the add xx.yy.zz.aa HISADDR I get the behaviour I want. ie. no route command inside the ppp.conf config. So back to the simple config of pppoe: #add 192.168.1.2/32 HISADDR set device PPPoE:igb2 set server /var/run/dsl-internet "" 0177 set speed sync enable echo disable vjcomp set cd 15 set dial set login set timeout 0 set lqrperiod 10 set authname username set authkey password set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 255.255.255.0 but without the route addition, it works. If I do it in ppp.linkup, the same issue. Whats odd is that I am not able to delete the route that ppp adds. /sbin/route does not see it, but quagga does still, but marks it as inactive. ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/