Re: Starting dhcpcd terminates the established PPPoE connection
Sven Kirmess
Fri Dec 30 14:27:37 2016
On Thu, Dec 29, 2016 at 3:09 PM, Roy Marples <roy@xxxxxxxxxxxx> wrote:
> I would say that it's a problem with your ISP - they dropped the link
> and dhcpcd just reacted to it.
>
That's what I feared... that's the most difficult problem to fix...
Especially since it happens only sometimes. I've started dhcpcd yesterday
and I just started working again.
> At a guess, em2 is the same interface and the .NNN is a VLAN identifier?
> Because (from a DHCP perspective) they are different interfaces we need
> to ensure they have different IAIDs .... because they are based on MAC
> address by default this won't work with VLAN. As there is currently no
> VLAN detection code in dhcpcd (this could be argued as a bug, feel free
> to file a ticket so we could automate this) we need to manually assign
> them.
>
> interface em2.100
> iaid 2100
> interface em2.170
> iaid 2170
> interface em2.191
> iaid 2191
> interface em2.192
> iaid 2192
> interface em2.193
> iaid 2193
>
> That should eliminate the warnings, but won't fix the PPPoE disconnect
> issue.
>
I've added that, and I added "iaid 1" to "interface ppp0" because ppp0 was
"changing" the IAID from 70:70:70:30 to 00:00:00:01. Don't know why but if
it wants to be 1 it can be one. :)
Dec 25 02:26:55 kaldra dhcpcd[9062]: ppp0: unsupported interface family 00
Dec 25 02:26:55 kaldra dhcpcd[9062]: forked to background, child pid 9083
Dec 25 02:26:55 kaldra dhcpcd[9083]: DUID
00:01:00:01:1e:92:58:a5:00:0d:b9:40:7f:ec
Dec 25 02:26:55 kaldra dhcpcd[9083]: em2.100: IAID b9:40:7f:ee
Dec 25 02:26:55 kaldra dhcpcd[9083]: em2.100: IAID conflicts with one
assigned to em2.170
Dec 25 02:26:55 kaldra dhcpcd[9083]: em2.170: IAID b9:40:7f:ee
Dec 25 02:26:55 kaldra dhcpcd[9083]: em2.170: IAID conflicts with one
assigned to em2.100
Dec 25 02:26:55 kaldra dhcpcd[9083]: em2.191: IAID b9:40:7f:ee
Dec 25 02:26:55 kaldra dhcpcd[9083]: em2.191: IAID conflicts with one
assigned to em2.100
Dec 25 02:26:55 kaldra dhcpcd[9083]: em2.192: IAID b9:40:7f:ee
Dec 25 02:26:55 kaldra dhcpcd[9083]: em2.192: IAID conflicts with one
assigned to em2.100
Dec 25 02:26:55 kaldra dhcpcd[9083]: em2.193: IAID b9:40:7f:ee
Dec 25 02:26:55 kaldra dhcpcd[9083]: em2.193: IAID conflicts with one
assigned to em2.100
Dec 25 02:26:55 kaldra dhcpcd[9083]: ppp0: IAID 70:70:70:30
Dec 25 02:26:55 kaldra dhcpcd[9083]: ppp0: IAID 00:00:00:01
Dec 25 02:26:55 kaldra dhcpcd[9083]: ppp0: soliciting a DHCPv6 lease
Now it looks like this:
Dec 30 14:29:39 kaldra dhcpcd[14655]: ppp0: unsupported interface family 00
Dec 30 14:29:39 kaldra dhcpcd[14655]: forked to background, child pid 14676
Dec 30 14:29:39 kaldra dhcpcd[14676]: DUID
00:01:00:01:1e:92:58:a5:00:0d:b9:40:7f:ec
Dec 30 14:29:39 kaldra dhcpcd[14676]: em2.100: IAID 00:00:08:34
Dec 30 14:29:39 kaldra dhcpcd[14676]: em2.170: IAID 00:00:08:7a
Dec 30 14:29:39 kaldra dhcpcd[14676]: em2.191: IAID 00:00:08:8f
Dec 30 14:29:39 kaldra dhcpcd[14676]: em2.192: IAID 00:00:08:90
Dec 30 14:29:39 kaldra dhcpcd[14676]: em2.193: IAID 00:00:08:91
Dec 30 14:29:39 kaldra dhcpcd[14676]: ppp0: IAID 00:00:00:01
Dec 30 14:29:39 kaldra dhcpcd[14676]: ppp0: soliciting a DHCPv6 lease
Archive administrator: postmaster@marples.name