Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    DHCPv6 failed to load configuration file

    Scheduled Pinned Locked Moved 2.4 Development Snapshots
    7 Posts 2 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      Edtech
      last edited by

      Hi!

      When the configuration file of DHCPv6 contains some option, DHCP6 failed to load it.

      interface igb0.832 {
              send dhcp-class-identifier "sagem";
              send user-class "+FSVDSL_livebox.Internet.softathome.Livebox3";
              send option-11 00:00:00:00:00:00:00:00:00:00:00:66:74:69:2F:XX:XX:Xx:XX:XX:XX:XX;
              script "/var/etc/dhcp6c_wan_script.sh";
      };
      id-assoc pd 0 { 
              prefix-interface bridge0 {
                      sla-id 0;
                      sla-len 8;
              };
      };
      

      And the result :

      Aug 27 08:14:03 dhcp6c 15929 failed to open /usr/local/etc/dhcp6cctlkey: No such file or directory 
      Aug 27 08:14:03 dhcp6c 15929 failed initialize control message authentication 
      Aug 27 08:14:03 dhcp6c 15929 skip opening control port 
      Aug 27 08:14:03 dhcp6c 15929 /var/etc/dhcp6c_wan.conf 2: syntax error 
      Aug 27 08:14:03 dhcp6c 15929 /var/etc/dhcp6c_wan.conf 2: fatal parse failure: exiting (1 errors) 
      
      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Are those custom options you entered somewhere like a configuration override file? I don't see anywhere in the code that those options can be set through the GUI or user settings.

        The GUI would have no way to validate if your options are proper/correct for the dhcp6c client if you entered them manually in an override file. You'll have to fix your customizations to match what the client supports.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • E
          Edtech
          last edited by

          I used the field "Send options" from the GUI. This options are mandatory to connect to Orange France Fiber in DHCPv6.

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            Then there is something wrong with your formatting/names/values for those specific options.

            Again, it's all custom input so the GUI can't hold your hand there.

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • E
              Edtech
              last edited by

              I use exactly the same options in DHCPv4 without problem. I just changed option-90 by option-11.

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                The DHCP clients are different for v4 (dhclient) and v6 (dhcp6c), they do not necessarily allow or accept the same data. There is no guarantee that will work as you expect.

                Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • E
                  Edtech
                  last edited by

                  I found on the bug tracker a ticket on the same subject (but raw-option is used): https://redmine.pfsense.org/issues/8173
                  I hope you add this quickly !

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.