dhcpcd-discuss

AW: AW: Interface does not exist for delegation

Conrad Kostecki

Tue Apr 29 09:57:15 2014

On 28/04/2014 20:23, Conrad Kostecki wrote:
>>> 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.
>>
>> Hi Roy,
>> That sounds great! There is only the problem, i am unable to compile
>> dhcpcd. I've tried to emerge the 9999-ebuild with Gentoo.
>> It fails with:
>>
>> /usr/bin/x86_64-pc-linux-gnu-gcc  -o dhcpcd common.o control.o
>> dhcpcd.o duid.o eloop.o if.o if-options.o script.o dhcp-common.o
>> dhcpcd-embedded.o if-linux.o if-linux-wireless.o arp.o dhcp.o ipv4.o
>> ipv4ll.o ipv6.o ipv6nd.o dhcp6.o auth.o compat/arc4random.o
>> compat/closefrom.o compat/strlcpy.o hmac_md5.o md5.o
>> if-linux.o: In function `link_netlink':
>> /var/tmp/portage/net-misc/dhcpcd-9999/work/dhcpcd-9999/if-linux.c:630:
>> undefined reference to `handle_hwaddr'
>> /var/tmp/portage/net-misc/dhcpcd-9999/work/dhcpcd-9999/if-linux.c:630:
>> undefined reference to `handle_hwaddr'
>> collect2: error: ld returned 1 exit status
>> Makefile:104: recipe for target 'dhcpcd' failed
>> make: *** [dhcpcd] Error 1
>>  * ERROR: net-misc/dhcpcd-9999::gentoo failed (compile phase):

> This should now be fixed.

Hi Roy,
thanks! I was now able to compile dhcpcd. Dhcpcd was also now able to delegate to all of my interfaces an ipv6-subnet.
I've just a small question. For example, a dynamic ipv6-subnet could be: 2003:7b:9e6d:53::/56
When eth0 now receives an delegated /64 from dhcpcd, this could be like 2003:7b:9e6d:5312::1/64.

Can I affect this somehow? For example, I would like to <prefix>:dead::1/64 instead of <prefix><random>::1/64 be assigned to my interface.

Cheers
Conrad




Follow-Ups:
Re: AW: AW: Interface does not exist for delegationRoy Marples
References:
Interface does not exist for delegationConiKost
Re: Interface does not exist for delegationRoy Marples
Re: Interface does not exist for delegationRoy Marples
AW: Interface does not exist for delegationConrad Kostecki
Re: AW: Interface does not exist for delegationRoy Marples
Archive administrator: postmaster@marples.name