Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2017 16:54:20 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   ppp routing bug ?
Message-ID:  <bdb4d277-40ca-5a8e-f0e0-c1734a0c88c6@sentex.net>

next in thread | raw e-mail | index | archive | help
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@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@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?bdb4d277-40ca-5a8e-f0e0-c1734a0c88c6>