Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Oct 2017 17:17:52 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Mike Tancsa <mike@sentex.net>, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: ppp routing bug ?
Message-ID:  <59F1B650.5070107@grosbein.net>
In-Reply-To: <a23ed8b3-1050-12d5-6a7c-1a1a0c174251@sentex.net>
References:  <bdb4d277-40ca-5a8e-f0e0-c1734a0c88c6@sentex.net> <a23ed8b3-1050-12d5-6a7c-1a1a0c174251@sentex.net>

index | next in thread | previous in thread | raw e-mail

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.




home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59F1B650.5070107>