Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ppp device stuck on configuring DHCP6 with IPv6AcceptRA=no and UseAddress=no and UplinkInterface=:self #29979

Closed
pimzand opened this issue Nov 10, 2023 · 3 comments · Fixed by #29981
Labels
bug 🐛 Programming errors, that need preferential fixing network regression ⚠️ A bug in something that used to work correctly and broke through some recent commit

Comments

@pimzand
Copy link

pimzand commented Nov 10, 2023

systemd version the issue has been seen with

254

Used distribution

Fedora 39

Linux kernel version used

6.5.9-300.fc39.x86_64

CPU architectures issue was seen on

x86_64

Component

systemd-networkd

Expected behaviour you didn't see

A PPPoE connection as described in #26681 would reach the "configured" state, like it did in Fedora 38 with systemd 253.

Unexpected behaviour you saw

The PPPoE connection is stuck in "configuring" state.

Steps to reproduce the problem

Set up a PPPoE connection using systemd-networkd and pppd as described in #26681, and include the (then) solution provided in #26681 (comment).

A complete description for the ppp network would be:

[Match]
Type = ppp

[Network]
DHCP = ipv6
LLMNR = no
IPv6AcceptRA = no
KeepConfiguration = yes
DHCPPrefixDelegation = yes

[Link]
RequiredForOnline = yes

[DHCPv6]
UseDelegatedPrefix = yes
UseAddress = no
UseDNS = no

[DHCPPrefixDelegation]
UplinkInterface = :self
Assign = no

This setup is expecting a ppp connection that will be configured using IPCP with a public IPv4 address and a link-local IPv6 address. DHCPv6 would be used only to configure addressing and routing on other interfaces using prefix delegation.

Additional program output to the terminal or log subsystem illustrating the issue

Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: DHCPv6 client: Timeout T1
Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: DHCPv6 client: State changed: bound -> renew
Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: DHCPv6 client: Sent Renew
Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: DHCPv6 client: Next retransmission in 9s
Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: DHCPv6 client: Processed Reply message
Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: DHCPv6 client: T1 expires in 21h 52min 41s
Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: DHCPv6 client: T2 expires in 1d 11h 30min 52s
Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: DHCPv6 client: Valid lifetime expires in 3d
Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: DHCPv6 client: State changed: renew -> bound
Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: DHCP: received delegated prefix aaaa:bbbb:cccc::/48
Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: Updated expiration timer for DHCPv6 route (configuring,configured): dst: aaaa:bbbb:cccc::/48, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: main(254), proto: dhcp, type: unreachable, nexthop: 0, priority: 1024, flags: n/a
Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: Requesting DHCPv6 route (configuring,configured): dst: aaaa:bbbb:cccc::/48, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: main(254), proto: dhcp, type: unreachable, nexthop: 0, priority: 1024, flags: n/a
Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: Requesting DHCP-PD route (configuring,configured): dst: aaaa:bbbb:cccc::/64, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: main(254), proto: dhcp, type: unicast, nexthop: 0, priority: 256, flags: n/a
Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: Assigned prefix aaaa:bbbb:cccc::/64
Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: link_check_ready(): DHCPv6 IA_PD prefix is assigned, but DHCPv6 protocol is not finished yet.
Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: Setting DHCPv6 addresses and routes
Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: link_check_ready(): DHCPv6 IA_PD prefix is assigned, but DHCPv6 protocol is not finished yet.
Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: Configuring DHCPv6 route (requesting,configuring,configured): dst: aaaa:bbbb:cccc::/48, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: main(254), proto: dhcp, type: unreachable, nexthop: 0, priority: 1024, flags: n/a
Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: Configuring DHCP-PD route (requesting,configuring,configured): dst: aaaa:bbbb:cccc::/64, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: main(254), proto: dhcp, type: unicast, nexthop: 0, priority: 256, flags: n/a
Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: dhcp6_check_ready(): no DHCPv6 address is ready.
Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: DHCP-PD addresses and routes set.
Nov 09 21:50:27 fedora systemd-networkd[1766]: ppp0: link_check_ready(): DHCPv6 IA_PD prefix is assigned, but DHCPv6 protocol is not finished yet.
@pimzand pimzand added the bug 🐛 Programming errors, that need preferential fixing label Nov 10, 2023
@yuwata yuwata added the regression ⚠️ A bug in something that used to work correctly and broke through some recent commit label Nov 10, 2023
@yuwata
Copy link
Member

yuwata commented Nov 10, 2023

Thank you!

yuwata added a commit to yuwata/systemd that referenced this issue Nov 10, 2023
yuwata added a commit to yuwata/systemd that referenced this issue Nov 10, 2023
@yuwata
Copy link
Member

yuwata commented Nov 10, 2023

Fix is waiting in #29981.

yuwata added a commit to yuwata/systemd that referenced this issue Nov 10, 2023
ssahani pushed a commit to ssahani/systemd that referenced this issue Nov 23, 2023
ssahani pushed a commit to ssahani/systemd that referenced this issue Nov 23, 2023
@pimzand
Copy link
Author

pimzand commented Dec 1, 2023

confirmed fixed in Fedora systemd-254.7-1.fc39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Programming errors, that need preferential fixing network regression ⚠️ A bug in something that used to work correctly and broke through some recent commit
Development

Successfully merging a pull request may close this issue.

2 participants