dhcpcd-discuss

Re: IPv6 default route not added (dhcpcd-9.1.4)

Roy Marples

Sun Aug 02 21:12:55 2020

Hi Nathan

On 02/08/2020 20:59, Nathan O'Meara wrote:
dhcpcd seems to get all my addresses correctly - an ipv4 address gets assigned to wan0, and a /56 ipv6 prefix delegation is received and the /64s are delegated to the appropriate internal interfaces.  dhcpcd then adds reject routes for the PDs and a default ipv4 route - but it doesn't seem to add a default ipv6 route.

...

# grep -v "^#" /etc/dhcpcd.conf
debug
logfile /var/log/dhcpcd.log

denyinterfaces wan0slave* ifb* veth* wg*

hostname

duid

waitip 6
noipv6rs
nodhcp
nodhcp6
noipv4ll

option rapid_commit

option domain_name_servers, domain_name, domain_search, host_name
option interface_mtu

require dhcp_server_identifier

slaac private

nohook lookup-hostname
nohook resolv.conf

interface wan0
dhcp
dhcp6

ia_pd 1/::/56 lan0/0 lan0.42/2 lan0.43/3 lan0.110/4 lan0.214/5 lan0.215/6

You've turned off ipv6rs globally, but you've not enabled it for the wan0 interface. Add ipv6rs.

Roy

Follow-Ups:
Re: IPv6 default route not added (dhcpcd-9.1.4)Nathan O'Meara
References:
IPv6 default route not added (dhcpcd-9.1.4)Nathan O'Meara
Archive administrator: postmaster@marples.name