dhcpcd-discuss

dhcpcd 7.0.0 IPv6 bugs

Jan Herrygers

Fri Jan 05 20:46:25 2018

Hello

I'm testing/using dhcpcd 7.0.0 on Slackware64-current, mainly related to IPv6. I have seen 2 areas that may have some room for improvement:
- IPv6 autoconfiguration through the kernel is disabled by dhcpcd when it is started with the -4 flag. Also, when dhcpcd is started with the -6 flag, IPv4 configuration is altered. I have attached a diff of the sysctl before and after I run dhcpcd -4 wlan0. The diff is the same if I run dhcpcd -6 wlan0.
--> I'd expect configuration to be left alone for the protocol (IPv4/IPv6) that isnot used by dhcpcd.

- if dhcpcd is started with the -6 flag, it keeps running in the foreground after configuring the IPv6 address till it times out and exits. It doesn't fork to the background. I have a tcpdump of the router advertisement that I receive.
--> I'd expect dhcpcd to fork to the background after configuring the IPv6 addresses, so it can handle additional router advertisements

What is your opinion about these?

Thank you in advance.

Jan Herrygers

Attachment: ipv6_router_advertisement.tcpdump
Description: Binary data

22c22
< net.ipv4.conf.wlan0.promote_secondaries = 0
---
> net.ipv4.conf.wlan0.promote_secondaries = 1
47c47
< net.ipv6.conf.wlan0.accept_ra = 1
---
> net.ipv6.conf.wlan0.accept_ra = 0
55,56c55,56
< net.ipv6.conf.wlan0.addr_gen_mode = 0
< net.ipv6.conf.wlan0.autoconf = 1
---
> net.ipv6.conf.wlan0.addr_gen_mode = 1
> net.ipv6.conf.wlan0.autoconf = 0

Follow-Ups:
Re: dhcpcd 7.0.0 IPv6 bugsRoy Marples
Archive administrator: postmaster@marples.name