Dhcp6c errors



  • Using SG-2440 for a few months now.  Am now trying to configure ipv6.  I'm not getting an address on the WAN.  One of the things I don't understand and wonder if it may be the cause of my issue is an error in dhcp log.

    Dec 10 16:39:26 	dhcp6c 	75875 	failed to open /usr/local/etc/dhcp6cctlkey: No such file or directory
    Dec 10 16:39:26 	dhcp6c 	75875 	failed initialize control message authentication
    Dec 10 16:39:26 	dhcp6c 	75875 	skip opening control port 
    

    I also wonder if this has to do with the discussion in topic 121101 "pfSense does not get an IPv6 address on WAN".

    I tried the suggested command to killall and reload dhcp6c_wan.conf but that did not help.

    I cannot rule out that I have other things misconfigured but have read over a hundred posts trying different settings that were mentioned.

    I have the box checked in system->advanced->networking " All IPv6 traffic will be blocked by the firewall unless this box is checked"

    Router advert is set to assisted, I have tried managed also.

    What might be the reason for the dhcp6 error message?  Is this likely related to the post about "pfsense will wait forever for the RA and will not start dhcp6c"?

    edit: forgot to mention pfsense is edge router isp is Charter on cable modem.
    ![wan interface.png](/public/imported_attachments/1/wan interface.png)
    ![wan interface.png_thumb](/public/imported_attachments/1/wan interface.png_thumb)
    ![dhcp6 config.png](/public/imported_attachments/1/dhcp6 config.png)
    ![dhcp6 config.png_thumb](/public/imported_attachments/1/dhcp6 config.png_thumb)



  • Your WAN has a gateway and no IPv6.
    You have to find out what your ISP wants for the WAN-config from your side to them.
    You may have to use Advanced Configuration. Experiment or call them.
    (DHCP6server/RA on your LAN has nothing to do with WAN comm.) and (One /64 prefix from them is not enough for you)



  • @hda:

    Your WAN has a gateway and no IPv6.

    Thanks for your response.

    Does the absence of an IPv6 on the gateway explain the log error "failed to open /usr/local/etc/dhcp6cctlkey: No such file or directory" or is that log error causing the gateway to not receive an IPv6.

    If the latter reason then what would cause that error message?


  • Banned

    This is just useless log noise. dhcp6ctl is not used for anything.



  • @JonH:

    Does the absence of an IPv6 on the gateway explain the log error "failed to open /usr/local/etc/dhcp6cctlkey: No such file or directory" or is that log error causing the gateway to not receive an IPv6.

    No. Irrelevant error message to your case.
    You need to find out how to WAN config IPv6, with/without Advanced Configuration.

    With one /64 you can only use LAN Track Interface for one LAN I believe.
    How did you config the LAN IPv6, screenshot ?



  • @doktornotor:

    This is just useless log noise. dhcp6ctl is not used for anything.

    Thank you



  • @hda:

    No. Irrelevant error message to your case.
    You need to find out how to WAN config IPv6, with/without Advanced Configuration.

    Thanks, I have not fooled with the adv config due to insufficient knowledge.  I just found an earlier post mentioning Charter, my isp, and the OP comment that they are still using 6RD.  So perhaps my attempts to configure for native IPv6 are premature.  I was under the impression they were native IPv6 now.

    With one /64 you can only use LAN Track Interface for one LAN I believe.
    How did you config the LAN IPv6, screenshot ?

    Thank you for mentioning /64 is for only 1 lan.  I was unaware of that detail.

    I have tried /48, /52, /60, & /64.  I have the system->adv config->networking check box for allow all IPv6 checked.
    In DHCP server/RA I have the server currently disabled (using track interface) and have tried both managed & assisted RA's.

    In the screenshot, chopped off at the bottom are the block private & bogon networks.  They are currently unchecked.

    ![lan config.png](/public/imported_attachments/1/lan config.png)
    ![lan config.png_thumb](/public/imported_attachments/1/lan config.png_thumb)


  • Banned

    @JonH:

    Thank you for mentioning /64 is for only 1 lan.  I was unaware of that detail.

    I have tried /48, /52, /60, & /64.

    Uhm… instead of trying random prefixes, you should find out HOW does your ISP deliver IPv6.



  • @JonH:

    …still using 6RD...

    I think method 6RD has no future. Meantime, if you like to learn/experiment, take IPv6 [https://tunnelbroker.net/]



  • @doktornotor:

    Uhm… instead of trying random prefixes, you should find out HOW does your ISP deliver IPv6.

    Yes, the first place one should look.  I was not able to find that info.  Info I did find was generic and had no date.  It apparently referred to the rollout from several years ago.  Other posts showed different values so I tried some.

    One suggestion I read was to plug a win machine into the modem.  I don't have a win machine.  I've been thinking of trying that on my wife's macbook but only as a final option to confirm if an IPv6 addr is obtained.

    I'll keep searching for more info.
    thanks