Native IPv6 over DHCPv6 and RA not working in combination with PPPoE IPv4
-
@avink
You are a lifesaver, this is indeed whats happening, i copied your settings and everything works ok now !
However, still 2 "bugs" for me:
- dhcp6c is not started for me, i have to run it manually to get it running.
- i cant seem to save the option "Request only a IPv6 prefix" it defaults to false and the config/backup changes say "/interfaces.php made unknown change"
Can anyone point me to the culprid for point 1 ?
-
I have to agree. the dhcp6c daemon is not starting indeed. Have to start it manually.
I already mentioned in my previous mail that the "Request only a IPv6 prefix" option is not working.
Hope these issues will be fixed soon.
-Andre
-
Did you create issue's for it in redmine perhaps ?
If not i will create legit issue's, less chance they are overlooked.
As for the DHCP6 option i think there should be an added option, something like PPPoE for IPv6, the current DHCP6 option was obviously meant to be running on the network card instead the PPPoE interface. probably solving just that also solves a lot of the other problems (gateway thats wrong for example).
-
Yes,
I created a redmine issue.
-
Request only a IPv6 prefix - checkbox saving fixed in pull request https://github.com/pfsense/pfsense/pull/716
1 dumb little bug fixed, a few more to sort out I suspect…
Someone try this little fix and report what good or havoc results now that the setting can be enabled. -
I see the pull request has been merged.
Will check the next release.But I doubt this fixes all issues. After the previous change the upstream interface will be selected instead of the pppoe interface.
I think this has to be changed too, or there has to be a selection box to select the upstream interface or the pppoe interface. -
Just tested the 2.1-RC0 (amd64) built on Sun Jul 21 09:56:52 EDT 2013 snapshot.
Neither the checkbox for PD only nor the pppoe interface selection is working.When I check the checkbox and save, it will return unchecked.
Also the selection is not reflected in the config nor in the dhcp6c_wan.conf.For now I rolled back the changes to /etc/inc/interfaces.inc to select the pppoe interface.
After saving the config I edit the dhcp6c_wan.conf file by hand and restart the daemon.Then I get the IPv6 PD again.
-
Just tested the 2.1-RC0 (amd64) built on Sun Jul 21 09:56:52 EDT 2013 snapshot.
Neither the checkbox for PD only nor the pppoe interface selection is working.When I check the checkbox and save, it will return unchecked.
This much should be working in that snapshot.After the checkbox is successfully checked, I can't say if the downstream code will work well or not, but the checkbox state should be saved in the config.
Did you put some other test version of interfaces.php onto the system? or?
Edit: Actually the commit https://github.com/pfsense/pfsense/commit/3dd6ed1ac110b3741c74a8845f30cc33379941a5 only got into the build at around 21:46 (12 hours later):Sun Jul 21 21:46:28 EDT 2013 -|- >>> Starting builder run #9... Sun Jul 21 21:46:29 EDT 2013 -|- >>> Not building pfPorts at all during this snapshot builder looped run... Sun Jul 21 21:46:29 EDT 2013 -|- >>> Last known commit Phil Davis - 3dd6ed1ac110b3741c74a8845f30cc33379941a5
So you need the next snapshot, or gitsync, or make the edit by hand…
-
Tried the latest snapshot (built on Mon Jul 22 03:26:48 EDT 2013).
Still the 'request PD only' option does not work. The checkbox is not set after saving.
Also the setting is not reflected in the dhcp6c_wan.confTo get IPv6 running I have to roll-back the fix https://github.com/pfsense/pfsense/commit/5128e0feb0f81c8cfa05a24370e250fcbe81a09e.
Then save the config so the correct inteface is used.
Then I have to edit the dhcp6c_wan.conf and start the dhcp6c daemon. -
I was nearly going to tell you you are mad, then I tried it on the new snapshot, didn't work!!! After a bit of hair pulling I discovered that I had used the version from Github Main when testing (I had test configs that I had saved that had the setting set, so it did work). Compared Main to the 2.1 branch. The version committed to 2.1 branch had an different error - the code applying the setting was in the wrong IPv6 type case statement. So that never worked in 2.1, but it worked in Main.
This (should) fix it:
https://github.com/pfsense/pfsense/pull/723
I tested with the version I submitted to the 2.1 branch this time :) -
I don't care to be called mad ;) I applied the patch by hand and yes now the checkbox is working.
Let's wait for the next snapshot. I'm fairly convinced that the parent interface is chosen instead of the pppoe interface.we'll know in a few hours.
-
There is an option to click for cases like the XS4All ISP.
Click that and you will have correct connectivity restored as previously.The option is with the description "Request a IPv6 prefix/information through the IPv4 connectivity link"
-
I'll check the next build.
Results by tomorrow morning. -
@ermal:
The option is with the description "Request a IPv6 prefix/information through the IPv4 connectivity link"
Probably I need the same option for my M-Net FTTB connection. I'm running 2.1-RC0 (amd64)
built on Mon Jul 22 15:44:15 EDT 2013 FreeBSD 8.3-RELEASE-p8 but I can't find that option. Is this not yet in or do I use a wrong release?bye
Darky -
Ermal committed the new option 7 hours ago (as I type) and a build started about 3/4 hours ago. It looks like it is finishing just now. It should have a timestamp around 23 July 2013 10:00. Try that.
-
Thanks for your quick explanation I'll try the new snapshot, as soon as it gets pushed to the update server :-)
-
@ermal:
The option is with the description "Request a IPv6 prefix/information through the IPv4 connectivity link"
Just signed up to say that this worked for me.
IPv6 (native) from my ISP was working on 2.1 beta and broke when I went to the RC, came back straight away with whatever this setting does :)
-
Unfortunately the amd64 build didn't get updated, it still has a last modified date of July 22nd
Therefore I manually checked out the interface.inc and interface.php files and replaced them on the box. The interface.php had a whitspace_error but this was easily fixed. The option did then appear on my box and I checked it. I still didn't receive an ipv6 prefix. Maybe I did forget sth. to patch, so I will way until the snapshot-build gets officially updated.
bye
Darky -
Just tested the latest snapshot. (built on Wed Jul 24 15:12:27 EDT 2013 ).
I can confirm that both options work as expected.X Request a IPv6 prefix/information through the IPv4 connectivity link
X Only request a IPv6 prefix, do not request a IPv6 addressboth options checked. IPv6 is working again without changing the config/interfaces.inc manually.
The only thing that is left is that after a reboot the dhcp6c daemon is not started automatically.
I think there is another thread about it.I will do some testing but in the meanwhile I'll make a shellscript that checks if the daemon is running. If not it will (re)start it.
-
@avink,
the issue you have is not related to this.
Can you please open another thread with more details.