Diagnosing dhcpcd failure to recognize DHCPv6 & ICMPv6 advertisements #366
-
I'm stumped trying to figure out why dhcpcd is not recognizing dhcpv6 and icmpv6 advertisements being sent from my ISP. I have a multihomed OpenBSD router and dhcpcd is working nicely on interface em0, but I'm unable to get it to configure ip6 on the em1 interface with my second ISP. Trimming down my config to focus just on the problem interface, I've tried this:
In the logs I only see:
Hooks are only being called with reasons This is the related traffic I see on em1: I see repeated router and dhcpv6 solicitations being sent by dhcpcd, and my ISP is responding, but dhcpcd is not recognizing the ISP advertisements for some reason which I don't understand. Can anyone offer any insight? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Are you running a separate instance of dhcpcd on em1? That could be the issue. |
Beta Was this translation helpful? Give feedback.
-
So, looking at the logs we send a RS and a DHCP6 Solicitation. Looking at the trace we receive replies to each but they don't reach dhcpcd - otherwise it would have logged something in debug mode which you have enabled in your config. So if there is no other process eating them then you must have something else in the way like say a firewall? |
Beta Was this translation helpful? Give feedback.
-
...erf...yes...it seems to be the firewall. I just needed to change pf.conf to allow icmp6 & dhcpv6 through on both wan interfaces, rather than trying to allow it for the 'egress' interface group (for anyone using obsd: it seems manually flagging an interface as group egress will be undone by the kernel when default routes change). Sorry for wasting your time! 🤦 |
Beta Was this translation helpful? Give feedback.
So, looking at the logs we send a RS and a DHCP6 Solicitation. Looking at the trace we receive replies to each but they don't reach dhcpcd - otherwise it would have logged something in debug mode which you have enabled in your config.
So if there is no other process eating them then you must have something else in the way like say a firewall?