Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
advertise both ULA and GUA over ipv6 dhcpv6?
« previous
next »
Print
Pages: [
1
]
Author
Topic: advertise both ULA and GUA over ipv6 dhcpv6? (Read 2900 times)
js-opnsense
Newbie
Posts: 1
Karma: 0
advertise both ULA and GUA over ipv6 dhcpv6?
«
on:
October 19, 2021, 01:51:42 am »
Hi all,
Can anyone share a working config for a home IPv6 setup in which LAN clients get addresses from both a GUA prefix and a ULA prefix? I'd like to get SLAAC, and DHCPv6 ("Assisted" mode) working across _two_ subnets on my LAN.
The end goal I want is for the clients on my home network to get v6 addresses from two subnets:
(1) - the IPv6 prefix delegated from my Telus ISP to my WAN interface. <GUA>/56
(2) - the local ULA prefix I chose (starting with fc/7:: ). <ULA>/48.
It seems I can either configure my LAN interface v6 config to:
a. "Static IPv6", in which case my clients get only addresses from (2).
b. set the v6 LAN interface config to "Tracked" on the WAN, in which case my clients only get addresses from the GUA ISP-delegated prefix (1).
How do you get dhcpv6d and radvd to serve the two subnets simultaneously?
(In case it matters, I only have two physical interfaces on the router, WAN and LAN. I assume it might be possible to create some sort of virtual interface?)
Thanks
References:
https://docs.opnsense.org/manual/how-tos/ipv6_dsl.html
This article only got me halfway.
Running:
OPNsense 21.7.3_3-amd64
FreeBSD 12.1-RELEASE-p20-HBSD
OpenSSL 1.1.1l 24 Aug 2021
«
Last Edit: October 19, 2021, 01:56:45 am by js-opnsense
»
Logged
Greelan
Hero Member
Posts: 1028
Karma: 72
advertise both ULA and GUA over ipv6 dhcpv6?
«
Reply #1 on:
October 19, 2021, 08:37:41 am »
I only use SLAAC myself. In that case it is a simple matter of having the LAN track WAN for GUAs, and to configure ULAs as Virtual IPs (setting a /64 address as IP Alias for LAN). Radvd does the rest - it is set to Unmanaged in my case
Make sure you have checked the “Allow manual adjustment of DHCPv6 and router advertisements” in the LAN interface config, to allow full flexibility on configuration
I am not certain though that DHCPv6 will accommodate ULAs. It seems only to recognise the GUA prefix when I look at my settings
Edit: there is also this thread:
https://forum.opnsense.org/index.php?topic=10035.0
«
Last Edit: October 19, 2021, 09:44:32 am by Greelan
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
advertise both ULA and GUA over ipv6 dhcpv6?