Re: [systemd-devel] networkd: send a dhcpv6 prefix delegation request
Le samedi 14 juillet 2018 à 10:52 +0300, Mantas Mikulėnas a écrit : > > > On Fri, Jul 13, 2018, 18:21 Lennart Poettering t> wrote: > > On Di, 10.07.18 16:08, Anthony Bourguignon (cont...@toniob.net) > > wrote: > > > > > Hello, > > > > > > Is there a way to send a prefix delegation request when using > > networkd > > > as a dhcpv6 client ? > > > > There's explicit DHCPv6 PD support in current networkd versions, > > see > > IPv6PrefixDelegation= in systemd.network(5). > > I thought that only allows PD in combination with another interface > advertising RAs for the prefix. But there are cases when one wants a > prefix to be delegated to the host itself, without a 2nd interface... > (Hetzner?) That's my usecase. My server is not sending RA. It only has one network interface and the informations come from a router on the network of my provider. Currently I use dibbler-client to send the PD requests, but it will be really a pleasure to get rid of it and use networkd instead. Thanks signature.asc Description: This is a digitally signed message part ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] networkd: send a dhcpv6 prefix delegation request
On Fri, Jul 13, 2018, 18:21 Lennart Poettering wrote: > On Di, 10.07.18 16:08, Anthony Bourguignon (cont...@toniob.net) wrote: > > > Hello, > > > > Is there a way to send a prefix delegation request when using networkd > > as a dhcpv6 client ? > > There's explicit DHCPv6 PD support in current networkd versions, see > IPv6PrefixDelegation= in systemd.network(5). > I thought that only allows PD in combination with another interface advertising RAs for the prefix. But there are cases when one wants a prefix to be delegated to the host itself, without a 2nd interface... (Hetzner?) > -- Mantas Mikulėnas ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] networkd: send a dhcpv6 prefix delegation request
Le vendredi 13 juillet 2018 à 17:20 +0200, Lennart Poettering a écrit : > On Di, 10.07.18 16:08, Anthony Bourguignon (cont...@toniob.net) > wrote: > > > Hello, > > > > Is there a way to send a prefix delegation request when using > > networkd > > as a dhcpv6 client ? > > There's explicit DHCPv6 PD support in current networkd versions, see > IPv6PrefixDelegation= in systemd.network(5). I've seen that option but the documentation is not very clear. I thought it was only to activate PD on the server part. I'm probably wrong. I've just tried to add IPv6PrefixDelegation=True in my .network file. But it didn't change anything in the dhcpv6 requests sent by this server. Only inf-req packets, not solicitation, and no prefix delegation in it. Did I miss something ? Thanks signature.asc Description: This is a digitally signed message part ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] networkd: send a dhcpv6 prefix delegation request
On Di, 10.07.18 16:08, Anthony Bourguignon (cont...@toniob.net) wrote: > Hello, > > Is there a way to send a prefix delegation request when using networkd > as a dhcpv6 client ? There's explicit DHCPv6 PD support in current networkd versions, see IPv6PrefixDelegation= in systemd.network(5). Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] networkd: send a dhcpv6 prefix delegation request
Hello, Is there a way to send a prefix delegation request when using networkd as a dhcpv6 client ? Here is my current configuration : [Match] Name=ens3 [Network] DHCP=ipv6 IPv6AcceptRA=True Address=xxx:xxx/64 [Address] Address=xxx.xxx/32 [Route] Gateway=62.210.0.1 GatewayOnlink=yes [DHCP] DUIDType=link-layer DUIDRawData=00:01:xx:xx:xx:xx:xx:xx [IPv6AcceptRA] UseDNS=False UseDomains=False All I can see are inf-req packets, without prefix delegation : 15:55:31.987291 IP6 (flowlabel 0x74546, hlim 1, next-header UDP (17) payload length: 46) xxx:xxx.546 > ff02::1:2.547: [bad udp cksum 0xec16 -> 0x93b8!] dhcp6 inf-req (xid=adc003 (option-request DNS-server DNS- search-list NTP-server SNTP-servers rapid-commit) (client-ID hwaddr type 1 ) (elapsed-time 65535)) Another question : why inf-req ? When I start clients like dibbler (the one I use while waiting for networkd to work as expected on my provider's network), it sends solicit packets. Thanks ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel