Re: Interface does not exist for delegation
Roy Marples
Mon Apr 28 12:20:50 2014
On 28/04/2014 9:08, Roy Marples wrote:
Hi
On 27/04/2014 19:04, ConiKost@xxxxxx wrote:
I am trying to get IPv6 prefix delegation with dhcpcd. But when I do
so, it fails to assign it to my internal interface:
dhcpcd[1814]: version 6.3.2 starting
dhcpcd[1814]: DUID <duid>
dhcpcd[1814]: ppp0: IAID 00:00:00:00
dhcpcd[1814]: ppp0: IAID 00:00:00:01
dhcpcd[1814]: ppp0: soliciting a DHCPv6 lease
dhcpcd[1814]: ppp0: ADV 2003:xx:xxxx:xxxx::/56 from
fe80::xxx:xxxx:xxxx:1439
dhcpcd[1814]: ppp0: REPLY6 received from fe80::xxx:xxxx:xxxx:1439
dhcpcd[1814]: enp5s0: interface does not exist for delegation
dhcpcd[1814]: ppp0: renew in 900 seconds, rebind in 1440 seconds
dhcpcd[1814]: forked to background, child pid 1842
Why? What does this error exactly mean? The interface name is correct
and it does exist.
Could somebody explain this to me?
It's basically a design flaw in dhcpcd - dhcpcd needs to have loaded
the interface.
Here's the example from the man page
noipv6rs
# Don't touch eth3 at all
denyinterfaces eth3
interface eth0
ia_pd 1 eth1/1 eth2/2
# Disable automatic address configuration for eth1
# eth1 still gets a delegated prefix
interface eth1
noipv4
noipv6
Also, how did dhcpcd launch? Currently it needs to be started without
any interfaces listed on the command line.
I've added a fix here:
http://roy.marples.name/projects/dhcpcd/ci/7f5f1f8fdf?sbs=0
dhcpcd will now load the interface on demand if needed, so if you launch
`dhcpcd ppp0` and dhcpcd.conf instrucs a delegation to enp5s0 it should
now work.
Thanks
Roy
Archive administrator: postmaster@marples.name