Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Help configuing IPv6 with DHCPv6 from ISP
« previous
next »
Print
Pages: [
1
]
Author
Topic: Help configuing IPv6 with DHCPv6 from ISP (Read 2061 times)
ChrisC
Newbie
Posts: 12
Karma: 1
Help configuing IPv6 with DHCPv6 from ISP
«
on:
July 20, 2023, 05:32:05 pm »
Hi everyone,
I have been trying for a while to configure opnsense for IPv6 with my new ISP, but I'm not getting very far.
When I was with an ISP that give me static addresses for both IPv4 and v6, i got it working without a problem.
However, my new ISP has given me a static IPv4 range (which I have to NAT.. ugh) and for IPv6 they say:
The details for your connection are:
IPv6 Prefix: xxx:xxx:xxx:527C::/64
IPv6 Delegated: xxx:xxx:527C::/48
You should just need to set the router to use DHCPv6 and enable router advertisements on the LAN side.
Maybe I should also mention that I have a PPPoE interface which logs me in and this is where the IPV4 WAN address is assigned.
What settings do I need to configure for DHCPv6?
I've tried doing a PCAP on the WAN interface for IPv6 traffic and I'm seeing nothing, so I guess opnsense is not even trying to request addresses
Where do I enable RAs for the internal interface? The only think I can see is DHCPv6 relays, but I can't select an interface because none of my interfaces have IPv6 addresses yet.
Logged
Maurice
Hero Member
Posts: 1213
Karma: 158
Re: Help configuing IPv6 with DHCPv6 from ISP
«
Reply #1 on:
July 20, 2023, 09:24:20 pm »
Should be a pretty standard configuration. Set the WAN interface to DHCPv6. In the DHCPv6 client config, set the prefix delegation size to /48 and enable "Use IPv4 connectivity" (since you're using PPPoE and most ISPs handle IPv6 inside the PPP link). They seem to use SLAAC for numbering the WAN interface, so you can also set "Request only an IPv6 prefix".
Since your prefix is static, you can configure your LANs with static IPv6 (using /64s of your choice out of your delegated /48). The DHCPv6 server and RA settings should be no different from your previous static setup.
Cheers
Maurice
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
ChrisC
Newbie
Posts: 12
Karma: 1
Re: Help configuing IPv6 with DHCPv6 from ISP
«
Reply #2 on:
July 21, 2023, 09:05:08 am »
Hi Maurice,
Thank you for the reply and explanation.
"Use IPv4 connectivity" did the trick, that got me my WAN allocation and then I could start splitting up the range for my other interfaces!
Logged
ChrisC
Newbie
Posts: 12
Karma: 1
Re: Help configuing IPv6 with DHCPv6 from ISP
«
Reply #3 on:
July 21, 2023, 06:46:44 pm »
So now, I'm giving static IPv6 addresses to devices on my DMZ, and that is working fine, but I'm having trouble getting DHCP6 (or equivalent) working for clients on the internal LAN side.
I have a /56 I want to use from the /48 my ISP has given me, and I have configured DHCP6 in opnSense on the internal interface.
My client (Ubuntu, set to "Automatic" for IPv6) is sending out requests (from an fe80 address to ff02::1:2), but there's nothing coming back.
What am I doing wrong?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Help configuing IPv6 with DHCPv6 from ISP