On 26.10.2017 04:10, Mike Tancsa wrote:
> 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 HISADDR
> 
> Upping 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 ?

Are you sure that:

1) your ppp(8) binary is in sync with the kernel in the Nanobsd build ?
Generally that would be /usr/sbin/ppp but in your case I'd check twice if this 
is the case.

2) your /sbin/route and /usr/bin/netstat are in sync too?

Try using "route -n monitor" in the background to see what "ppp" really sends 
to the kernel.
Try using "mpd5" instead of "ppp" to make PPPoE connection and see if it runs 
into same problem.


_______________________________________________
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to