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/
On 10/25/2017 4:54 PM, Mike Tancsa wrote:> 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 HISADDRUpping the logs with debug ppp[60212]: tun0: Command: pppoe: add 192.168.134.2/32 HISADDR ppp[60212]: tun0: Debug: wrote 124: cmd = Add, dst = 192.168.134.2, gateway = 64.7.128.7 The gateway is correct. Seems right, but its not installing it right. It also borkes on the ipv6 addr which I have disabled ppp[60212]: tun0: Warning: ff02::: Change route failed: errno: Value too large to be stored in data type ppp[60212]: tun0: Debug: deflink: DescriptorRead: read 14/2048 from 1 ppp[60212]: tun0: Debug: proto_LayerPull: unknown -> 0xc021 ppp[60212]: tun0: Debug: link_PullPacket: Despatch proto 0xc021 Any ideas ? ---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/