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

    PPPoE IPV6 interface edit

    Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
    25 Posts 4 Posters 4.3k 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.
    • M
      maverick_slo
      last edited by

      Hi!

      See this: https://forum.pfsense.org/index.php?topic=101967.msg585428#msg585428

      1 Reply Last reply Reply Quote 0
      • M
        maverick_slo
        last edited by

        https://redmine.pfsense.org/issues/5747

        1 Reply Last reply Reply Quote 0
        • M
          maverick_slo
          last edited by

          OK, moved to forum.
          adv_dhcp6_config_file_override is being set in working scenario because I use my own config.
          In non working scenario the adv_dhcp6_config_file_override IS NOT SET and thus not working .CONF is used.

          1 Reply Last reply Reply Quote 0
          • S
            Steve_B Netgate
            last edited by

            Ah OK.

            Then I am about out of ideas. I'll research this some more overnight. Thanks for all of your help so far :)

            Als ik kan

            1 Reply Last reply Reply Quote 0
            • M
              maverick_slo
              last edited by

              I can replicate it on my Hyper-v machine.

              This is clean ALPHA install upgraded to BETA.
              Vanilla.

              1 Reply Last reply Reply Quote 0
              • M
                maverick_slo
                last edited by

                Progress…

                If I deselect use ipv4 for connectivity then file is created as it should be but instead of "interface pppoe0 {" in conf there is "interface em3 {" which is not ok.

                1 Reply Last reply Reply Quote 0
                • M
                  maverick_slo
                  last edited by

                  And all options in advanced config must not be enabled for this scenario to occur.

                  1 Reply Last reply Reply Quote 0
                  • M
                    maverick_slo
                    last edited by

                    Produce config:

                    interface em3 {
                    	send ia-na 0;	# request stateful address
                    	request domain-name-servers;
                    	request domain-name;
                    	script "/var/etc/dhcp6c_opt2_script.sh"; # we'd like some nameservers please
                    };
                    id-assoc na 0 { };
                    

                    See screenshots of config.

                    snip4.JPG
                    snip4.JPG_thumb

                    1 Reply Last reply Reply Quote 0
                    • M
                      maverick_slo
                      last edited by

                      If I select "Only request an IPv6 prefix, do not request an IPv6 address" all of ia-na or ia-pd dissapear from conf.

                      1 Reply Last reply Reply Quote 0
                      • D
                        David_W
                        last edited by

                        @maverick_slo:

                        OK, moved to forum.
                        adv_dhcp6_config_file_override is being set in working scenario because I use my own config.
                        In non working scenario the adv_dhcp6_config_file_override IS NOT SET and thus not working .CONF is used.

                        The information posted in comment #15 of the bug reveals the reason for the non-working configuration. There should be a:
                        <adv_dhcp6_id_assoc_statement_prefix_enable>Selected</adv_dhcp6_id_assoc_statement_prefix_enable>
                        in the interface entry.

                        Without that (which should be set by checking 'Prefix Delegation' in the "Advanced DHCP6 client configuration" section), DHCP6_Config_File_Advanced() will fail to generate the previously noted missing part of the configuration.

                        The <adv_dhcp6_config_file_override_path>…</adv_dhcp6_config_file_override_path> is redundant, but is ignored in the absence of <adv_dhcp6_config_file_override>yes</adv_dhcp6_config_file_override>.

                        1 Reply Last reply Reply Quote 0
                        • M
                          maverick_slo
                          last edited by

                          Soooo its bug right?

                          1 Reply Last reply Reply Quote 0
                          • M
                            maverick_slo
                            last edited by

                            In addition to all the problems every time I reboot machine my custom config /var/etc/working.conf is deleted.
                            Grrr :)

                            1 Reply Last reply Reply Quote 0
                            • D
                              David_W
                              last edited by

                              @maverick_slo:

                              Soooo its bug right?

                              If checking 'Prefix Delegation' in the "Advanced DHCP6 client configuration" section doesn't result in a working configuration, then it seems there is a bug. If checking that box is not enough, try clearing the custom configuration path first.

                              Monitoring the <interface>…</interface> entry in the configuration file (or using the technique in the last line of comment 13 in the bug) will allow you to monitor what is going on.

                              If you had merely failed to check 'Prefix Delegation', you had missed an essential part of the configuration.

                              1 Reply Last reply Reply Quote 0
                              • M
                                maverick_slo
                                last edited by

                                nope everything is checked

                                1 Reply Last reply Reply Quote 0
                                • M
                                  maverick_slo
                                  last edited by

                                  Guys this one is easy to replicate.

                                  I just installed latest 2.3 then checked config as in screenshot and it produces this file: /var/etc/dhcp6c_lan.conf

                                  interface pppoe0 {
                                  	request domain-name-servers;
                                  	request domain-name;
                                  	script "/var/etc/dhcp6c_lan_script.sh"; # we'd like some nameservers please
                                  };
                                  

                                  So there is something very wrong with how interfaces.php or interfaces.inc generates this config file.

                                  snip5.PNG
                                  snip5.PNG_thumb

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Steve_B Netgate
                                    last edited by

                                    In my configuration I see:

                                    <adv_dhcp6_id_assoc_statement_prefix_enable>yes</adv_dhcp6_id_assoc_statement_prefix_enable>

                                    while David suggests it should be:

                                    <adv_dhcp6_id_assoc_statement_prefix_enable>Selected</adv_dhcp6_id_assoc_statement_prefix_enable>

                                    I can certainly change that.

                                    Als ik kan

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      maverick_slo
                                      last edited by

                                      Ummm ok what about .conf file?
                                      Is it irrelevant what is there if in xml is correct?

                                      1 Reply Last reply Reply Quote 0
                                      • H
                                        hda
                                        last edited by

                                        Then it looks like an error due to the GUI change?
                                        Tomorrow I will make a CF with 2.3 and test it, I use a same config as you but with a /48 now on 2.2.6 no problem.

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Steve_B Netgate
                                          last edited by

                                          I just pushed a change to make certain of the checkboxes have a value of "Selected" rather than "yes". In 2.2.x this was being done in Javascript and was missed when the file was converted.

                                          Let's see if that helps.

                                          Als ik kan

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            maverick_slo
                                            last edited by

                                            Will test tomorrow. Thanks!

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