Unable to get DHCPv6 to work
-
@pst SLAAC yielded no luck, unfortunately.
I did another clean install of pfsense and couldn't get the options to appear in the DHCP6 packets. As part of my research, I decided to test OPNSense. You can see in my packet below that it sent one (spoofing the MAC of the vodafone router) but it didn't seem to send it directly to the Nokia media convertor / modem. I think I'm right in assuming it broadcast it? Don't forget these devices are on their own VLAN to allow packet sniffing. Is that relevant here?
I am not asking for help with OPNSense because I much prefer supporting pfsense, but I wonder if this knowledge might help us? i.e. what is OPNSense using as a DHCP6 Client, and why is it sending the packet differently.
-
@zingbats I had similar issues when trying to get my BT IPv6 working, these are the settings I changed to get it to work in the end.
I think I had to reset the connection once the changes had been made.In the WAN settings set to DHCP6 and in client config
In the LAN settings page set track interface and under Track IPv6 Interface
And then in the Firewall LAN rules make sure you have IPv6 added to the any rule.
-
This post is deleted! -
@mikemod @pst Thanks for your help! Weirdly, turns out this worked on OPNSense but not on pfSense. On pfSense, despite configuring Router Advertisements (unmanaged), I cannot load some ipv6 websites when I can on OPNSense.
I can ping ipv6.google.com but a tracert / https request to https://ipv6-test.com just times out.DNS is functioning fine.
If I don't get any further responses, I'll start a new thread.
-
@zingbats said in Unable to get DHCPv6 to work:
My Router Advertisements is set to disabled
I set it to "Router Advertisements (unmanaged)" and it broke my IPv6 connection
Setting it back to disabled and saving didn't help, I had to reboot the router, with it set to disabled, to get IPv6 restored. -
I solved things the other way around.
As my router, pfSense, gets a prefix, and I prefer that my pfSEnse handles all network related issues, I've set it to :and since that moment, my LAN is fully IPv6 operational.
My (may stupid) thought is : if you disable it, or unmange it, who will handle the Ipv6 details ?
Me ? No way.
Go SLAAC mode ? No thanks. -
@mikemod interesting. When I have RA disabled I can't get any IPv6 addresses on the lan clients.
-
@zingbats Yes all seems a bit strange around that setting.
If I change mine to Managed and then back to disabled I also lose all IPv6 IPs from the clients.
In the status/services it shows "radvd Router Advertisement Daemon" with a red cross.I had to actually do a config restore to get back to where I was, with it disabled by default.
-
@mikemod said in Unable to get DHCPv6 to work:
If I change mine to Managed and then back to disabled I also lose all IPv6 IPs from the clients.
In the status/services it shows "radvd Router Advertisement Daemon" with a red cross.Isn't that obvious : you disable the service so it isn't running == a red cross ?(!)
pfSense, out of the box, doesn't use/have IPv6 activated, as every ISP on planet earth uses it's own method to use it. Some (probably : most) are still pretty broken if they do so.
When you managed to activate IPv6 on your WAN (you've obtained an IPv6 on WAN)
AND
pfSense also obtained from upstream (your ISP, or your local ISP router) at least one or more prefix,
AND you use this prefix with the 'tracking' method on one of your LAN's like :
a bit lower on the same LAN settings page ; you select WAN as the interface to track, and the prefix ID ( I've only one, so 0 out of 0) :
THEN
Activate the DHCPv6 server on LAN and set it up a bit like a DHCPv4 server on that LAN :
Example :and of course you use RADVD as managed :
because (pure BS ahead ) : do you want to manage IPv6 yourself or do you want pfSense to do it for you ? ^^
(ok, now I'll get struck by the IPv6 purists and other SLAAC fans)From then on :
..... again : every ISP handles IPv6 somewhat differently. If you wonder why, then be welcome to the club. Ask your ISP ^^ tel us what they said, as their replies go often way beyond humor.
Some thinking, documentation and "selecting the right ISP" is, as always, important (was previously known as "learning")
IPv6 isn't plug and play, and this is understandably, as it took decades for IPv4 to become what it is today (so we can ditch it for-good "tomorrow". -
@Gertjan So if it's disabled by default then why does it work if I don't change that setting and it shows a green tick in the services.
All clients pass the IPv6 tests and if I ping google.co.uk it uses the google IPv6 address.