ppp installing unwanted route

Mike Tancsa mike at sentex.net
Tue Sep 27 14:28:22 UTC 2016


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 at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/


More information about the freebsd-questions mailing list