ppp routing bug ?

Mike Tancsa mike at sentex.net
Wed Oct 25 20:54:24 UTC 2017


While testing out our nanobsd RELENG11 images, I noticed a strange
routing issue.  Using a standard pppoe config that has been working fine
on RELENG8,9,10 I am getting bogus routing entries.



having the commands in ppp.linkup

pppoe:
 add 192.168.134.2/32 HISADDR
 add 192.168.134.3/32 HISADDR
 add 192.168.134.4/32 HISADDR
 add 192.168.134.5/32 HISADDR


results in these routing table entries

# netstat -Wnr | grep tun0
default            64.7.128.7         US          112   1492       tun0
64.7.128.7         link#14            UHS           0   1492       tun0
0.0.0.0&0x17040000 64.7.128.7         US            0   1492       tun0
0.0.0.0&0x17040000 64.7.128.7         US            0   1492       tun0
0.0.0.0&0x17040000 64.7.128.7         US            0   1492       tun0
0.0.0.0&0x17040000 64.7.128.7         US            0   1492       tun0
ff02::%tun0/32                    fe80::20d:b9ff:fe18:62f4%tun0 UGS
     0   1492     tun0

The ppp.conf is

ltepppoe:
 add default HISADDR
 set device PPPoE:vr0
 set server /var/run/dsl-internet "" 0177
 set speed sync
 disable ipv6cp
 enable echo
 disable vjcomp
 set cd 15
 set dial
 set login
 set timeout 0
 set lqrperiod 10
 set authname xxx at yyy
 set authkey zzzz
 set ifaddr 10.0.0.1/0 10.0.0.2/0


Any idea what might be up ?

	---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-stable mailing list