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
Unable to assign address from ISP prefix-delegation on receiving interface (WAN/uplink) #31820
Comments
How "it didn't work"? Please explain more. Also, please provide debugging logs of networkd. |
Just like in the Additional program output, the networkd logs up to "enp1s0: DHCP: received delegated prefix". enp1s0 has not been assigned an IPv6 address. |
My ISP does not support providing an IPv6 address for the WAN interface via ICMPv6; they only provide a PD prefix through DHCPv6. After requesting the prefix according to the configuration above, the WAN interface enp1s0 was not properly assigned an IPv6 address, and only a route pointing to the upstream gateway could be seen in the routing table. The logs are just like the Additional program output, with all logs related to systemd-networkd after startup being like that. Therefore, I wonder if this is due to my misconfiguration or a bug in networkd. |
Delegated prefix cannot be assigned to the link used to request this prefix unless delegating router explicitly excluded it using Prefix Exclude Option. If networkd does it, it is incorrect. Prefix Exclude Option for DHCPv6-based Prefix Delegation
|
I’m trying to get my Ubuntu setup with just one network interface to connect to the internet using IPv6. Any tips or steps on how to make that work? Thanks! |
My ISP only provides a PD prefix, and my PC has only one interface enp1s0 serving as WAN. If networkd cannot assign an IPv6 address to WAN, does this mean I cannot access the internet? |
I'm very confident that this is the same issue: #31349 I tripped over this doing a similar thing. It silently fails with The solution/workaround is as yuwata mentioned in the references issue:
Originally posted by @yuwata in #31349 (comment) |
@arvidjaar Interesting. Then, maybe we should change the default value. |
@missing233 The log you provide does not contain debugging logs. Please create the following drop-in config with
and restart networkd. Then, you can find debugging logs in journal. Please provide them. |
Here is the debugging logs.
|
systemd version the issue has been seen with
253
Used distribution
Ubuntu Server 23.10
Linux kernel version used
6.5.0-25-generic
CPU architectures issue was seen on
x86_64
Component
systemd-networkd
Expected behaviour you didn't see
My ISP assigns a /56 PD prefix via DHCPv6 (No SLAAC), and I want to assign an IPv6 address to the uplink interface enp1s0 using this PD prefix. The server has only one interface enp1s0. I hope my server can access the IPv6 internet through this interface.
For example, if my ISP provides: 2001:db8::/56, I want to automatically assign a 2001:db8::1/64 on the uplink interface.
Unexpected behaviour you saw
I referred to this issue to write the wan.network, attempting to assign a specific IPv6 address to the uplink interface, but it didn't work.
Steps to reproduce the problem
Additional program output to the terminal or log subsystem illustrating the issue
The text was updated successfully, but these errors were encountered: