Re: sppp(4)/pppoe(4) - avoid endless loop in remote ip negotiation

2021-12-09 Thread Krzysztof Kanas
On 2021-12-05 23:43, Stuart Henderson wrote: > On 2021/12/04 15:32, Krzysztof Kanas wrote: > > I tried the settings: > > > > > > inet 0.0.0.0 255.255.255.255 10.64.64.33 \ > > pppoedev em0 authproto chap \ > > authname 'testcaller' authkey 'secret' up > > !/sbin/route add default -ifp pppoe0 10.6

Re: sppp(4)/pppoe(4) - avoid endless loop in remote ip negotiation

2021-12-05 Thread Stuart Henderson
On 2021/12/04 15:32, Krzysztof Kanas wrote: > I tried the settings: > > inet 0.0.0.0 255.255.255.255 0.0.0.1 \ > pppoedev em0 authproto chap \ > authname 'testcaller' authkey 'secret' up > !/sbin/route add default -ifp pppoe0 0.0.0.1 > > But that didn't fixed my ICPC negotiation problem. > > If

Re: sppp(4)/pppoe(4) - avoid endless loop in remote ip negotiation

2021-12-05 Thread Krzysztof Kanas
On 2021-12-02 13:17, Mikolaj Kucharski wrote: > On Fri, Nov 26, 2021 at 01:35:14PM +0100, Krzysztof Kanas wrote: > > Hi. When remote side in sppp doesn't reply for to PPP IPCP IP-Address > > sppp will try to negotiate remote IP in endless loop. Instead use > > 10.64.64.1 + if_index as remote IP.

Re: sppp(4)/pppoe(4) - avoid endless loop in remote ip negotiation

2021-12-04 Thread Krzysztof Kanas
On 2021-12-02 12:57, Stuart Henderson wrote: > On 2021/12/01 20:58, Krzysztof Kanas wrote: > > On 2021-12-01 10:21, Klemens Nanni wrote: > > > On Fri, Nov 26, 2021 at 01:35:14PM +0100, Krzysztof Kanas wrote: > > > > Hi. When remote side in sppp doesn't reply for to PPP IPCP IP-Address > > > > sppp

Re: sppp(4)/pppoe(4) - avoid endless loop in remote ip negotiation

2021-12-02 Thread Mikolaj Kucharski
On Fri, Nov 26, 2021 at 01:35:14PM +0100, Krzysztof Kanas wrote: > Hi. When remote side in sppp doesn't reply for to PPP IPCP IP-Address > sppp will try to negotiate remote IP in endless loop. Instead use > 10.64.64.1 + if_index as remote IP. > Okay, but why it doesn't reply? I don't use anymor

Re: sppp(4)/pppoe(4) - avoid endless loop in remote ip negotiation

2021-12-02 Thread Stuart Henderson
On 2021/12/01 20:58, Krzysztof Kanas wrote: > On 2021-12-01 10:21, Klemens Nanni wrote: > > On Fri, Nov 26, 2021 at 01:35:14PM +0100, Krzysztof Kanas wrote: > > > Hi. When remote side in sppp doesn't reply for to PPP IPCP IP-Address > > > sppp will try to negotiate remote IP in endless loop. Inste

Re: sppp(4)/pppoe(4) - avoid endless loop in remote ip negotiation

2021-12-01 Thread Krzysztof Kanas
On 2021-12-01 10:21, Klemens Nanni wrote: > On Fri, Nov 26, 2021 at 01:35:14PM +0100, Krzysztof Kanas wrote: > > Hi. When remote side in sppp doesn't reply for to PPP IPCP IP-Address > > sppp will try to negotiate remote IP in endless loop. Instead use > > 10.64.64.1 + if_index as remote IP. > >

Re: sppp(4)/pppoe(4) - avoid endless loop in remote ip negotiation

2021-12-01 Thread Klemens Nanni
On Fri, Nov 26, 2021 at 01:35:14PM +0100, Krzysztof Kanas wrote: > Hi. When remote side in sppp doesn't reply for to PPP IPCP IP-Address > sppp will try to negotiate remote IP in endless loop. Instead use > 10.64.64.1 + if_index as remote IP. Why add some arbitrary RFC 1918 IP if negotiation fai

sppp(4)/pppoe(4) - avoid endless loop in remote ip negotiation

2021-11-26 Thread Krzysztof Kanas
Hi. When remote side in sppp doesn't reply for to PPP IPCP IP-Address sppp will try to negotiate remote IP in endless loop. Instead use 10.64.64.1 + if_index as remote IP. While at it maybe it's worth to add that SPP is in RFC 1332 ? Krzysztof Kanas Index: share/man/man4/sppp.4 ===