On 10/26/2017 6:17 AM, Eugene Grosbein wrote:>>
>>
>> Any ideas ?
>
> Are you sure that:
<are binaries in sync>
Hi,
Yes I have rebuilt all a number of times. Also, this is i386. I think I
will try and build and AMD64 image to see if it follows there 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.
It seems to be routes that are /32s that are at issue. If I have a /30,
the route gets installed correctly.
In ppp.linkup if I put
pppoe:
add 192.168.134.2/32 HISADDR
add 192.168.134.4/30 HISADDR
! /sbin/route add 192.168.135.0/24 HISADDR
! /sbin/route add 192.168.136.1 HISADDR
! /sbin/route add 192.168.137.1/32 HISADDR
The first route does not get installed, the rest do.
0.0.0.0&0x17040000 64.7.128.7 US 0 1492 tun0
192.168.134.4/30 64.7.128.7 US 0 1492 tun0
192.168.135.0/24 64.7.128.7 US 0 1492 tun0
192.168.136.1 64.7.128.7 UHS 0 1492 tun0
192.168.137.1/32 64.7.128.7 US 0 1492 tun0
route monitor shows two statements per entry. comparing 134.2 and
137.1. the HOST flag is not set for the bogus entry.
got message of size 124 on Thu Oct 26 09:37:40 2017
RTM_ADD: Add Route: len 124, pid: 23810, seq 4, errno 0,
flags:<UP,GATEWAY,DONE,STATIC>
locks: inits:
sockaddrs: <DST,GATEWAY>
192.168.134.2 64.7.128.7
got message of size 196 on Thu Oct 26 09:37:40 2017
RTM_CHANGE: Change Metrics or flags: len 196, pid: 23810, seq 8, errno
0, flags:<UP,DONE,STATIC>
locks: inits: <mtu>
sockaddrs: <DST,GATEWAY,IFP,IFA>
192.168.134.2 64.7.128.7 tun0 98.159.244.185
vs
got message of size 124 on Thu Oct 26 09:37:40 2017
RTM_ADD: Add Route: len 124, pid: 24236, seq 1, errno 0,
flags:<UP,GATEWAY,HOST,DONE,STATIC>
locks: inits:
sockaddrs: <DST,GATEWAY>
192.168.136.1 64.7.128.7
got message of size 196 on Thu Oct 26 09:37:40 2017
RTM_CHANGE: Change Metrics or flags: len 196, pid: 23810, seq 11, errno
0, flags:<UP,DONE,STATIC>
locks: inits: <mtu>
sockaddrs: <DST,GATEWAY,IFP,IFA>
192.168.136.1 64.7.128.7 tun0 98.159.244.185
got message of size 212 on Thu Oct 26 09:37:40 2017
RTM_CHANGE: Change Metrics or flags: len 212, pid: 23810, seq 12, errno
0, flags:<UP,DONE,STATIC>
locks: inits: <mtu>
sockaddrs: <DST,GATEWAY,NETMASK,IFP,IFA>
192.168.137.1 64.7.128.7 255.255.255.255 tun0 98.159.244.185
--
-------------------
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/