Help getting IPv6 working

Started by NullableType, February 02, 2021, 07:46:35 PM

Previous topic - Next topic
I'm using the net graph + wap_supplicant method here...

https://github.com/MonkWho/pfatt/tree/supplicant_OPNsense_testing

...to have OPNsense replace my ATT gateway. IPv4 is working fine, but I'm not getting an IPv6 assigned to my WAN. I know this method fully works with pfSense (I've had it up and running myself), but I'm struggling to understand where the same settings are to set this up correctly in OPNsense.

I've used what gstuartj speaks of here...
https://forum.opnsense.org/index.php?topic=12361.0
...to figure out what my DUID-EN should be. If I'm understanding correctly I run the gen-duid.sh script from pfatt to get the ID of my ATT gateway and slap that on the end of: "00:02:00:00:0D:EA:" So my final DUID-EN looks like: "00:02:00:00:0D:EA:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" And I've set that under Interfaces > Settings > DHCP Unique Identifier

Interfaces > WAN I have set:

IPv6 Configuration Type: DHCPv6

but I'm not sure what settings to place under "DHCPv6 client configuration" in order to match the pfSense instructions:

WAN Setup

  • Enable DHCPv6 Prefix Delegation size as 60
  • Enable Send IPv6 prefix hint
  • Enable Do not wait for a RA
and then I'm not quite sure if I'm setting up the DHCPv6 ranges correctly. Their instructions say:

DHCPv6 Server & RA

  • Configure a range of ::0001 to ::ffff:ffff:ffff:fffe
  • Configure a Prefix Delegation Range to 64
Do I enter ::0001 to ::ffff:ffff:ffff:fffe in the "Range" field, leave the "Prefix Delegation Range" fields blank and then set the "Prefix Delegation Size" to 64?

I'm a complete dunce that clicked on "Advance" under Interfaces > WAN > DHCPv6 client configuration thinking it's just shows more option, instead of its action of show you different options. 🤦🏻‍♂️ I set "prefix delegation size", and "send IPv6 prefix hint" there and I'm working great!

No worries there, happy to hear it works as intended now. :)


Cheers,
Franco