tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pppoe, dhcpcd v6 and renew



On Tue, Nov 14, 2017 at 08:16:45PM +0000, Roy Marples wrote:
> On 14/11/2017 19:31, Manuel Bouyer wrote:
> > On Tue, Nov 14, 2017 at 06:58:26PM +0000, Roy Marples wrote:
> > > That's a pity.
> > > I think there's another path needed, but the changelog doesn't give much
> > > clue from what's in NetBSD-8 (or from what's in -current).
> > > 
> > > Can you try my latest git HEAD? I'll be doing an import soon if that fixes
> > > :)
> > > https://roy.marples.name/git/dhcpcd.git/
> > 
> > With this one it seems to DTRT on link up.
> 
> YAY :)
> 
> > syslog messages:
> > Nov 14 20:10:23 chassiron /netbsd: pppoe0: LCP keepalive timed out, going to restart the connection
> > Nov 14 20:10:23 chassiron dhcpcd[28004]: pppoe0: carrier lost
> > Nov 14 20:11:28 chassiron /netbsd: pppoe0: connected to lns-1-par-se100
> > Nov 14 20:11:28 chassiron dhcpcd[28004]: pppoe0: carrier acquired
> > Nov 14 20:11:28 chassiron dhcpcd[28004]: pppoe0: IAID 00:00:00:06
> > Nov 14 20:11:28 chassiron dhcpcd[28004]: pppoe0: IAID 00:00:00:00
> > Nov 14 20:11:29 chassiron dhcpcd[28004]: pppoe0: rebinding prior DHCPv6 lease
> > Nov 14 20:11:28 chassiron /netbsd: pppoe0: connected to lns-1-par-se100
> > Nov 14 20:11:39 chassiron dhcpcd[28004]: pppoe0: failed to rebind prior delegation
> 
> Hmmm, that is a slight cause for concern.
> Did it send out a rebind request that looks ok?

I guess it did not, the only thing I see on
tcpdump -n -p -i pppoe0 port 546 or port 457
is:
20:11:41.891320 PPPoE  [ses 0x21d7] IP6 fe80::230:88ff:fe04:63c9.547 > fe80::43e:1a93:9ba2:3ac9.546: dhcp6 advertise
20:11:41.902095 PPPoE  [ses 0x21d7] IP6 fe80::230:88ff:fe04:63c9.547 > fe80::43e:1a93:9ba2:3ac9.546: dhcp6 reply


> Is the delegation you got the same as the previous one?

Yes, but it's a static delegation so I wouldn't expect something different.
I don't know what the remote end expects, maybe when a new pppoe session
starts, dhcp state is reset ? This would be consustent with the IPv6
route for my prefix being lost ...

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index