Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Sep 2016 10:27:53 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Ernie Luzar <luzar722@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: ppp installing unwanted route
Message-ID:  <c8e3c3c7-8d98-4f51-d322-fb91b589ef7c@sentex.net>
In-Reply-To: <8541d657-aa02-a21e-d624-e6a261523348@sentex.net>
References:  <b2effb9d-e3a1-7ecc-d092-d1794855fd35@sentex.net> <57E9AA0D.4050505@gmail.com> <8541d657-aa02-a21e-d624-e6a261523348@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c8e3c3c7-8d98-4f51-d322-fb91b589ef7c>