OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: chelming on March 22, 2020, 08:51:18 PM

Title: Multiple DHCPv6 PD requests
Post by: chelming on March 22, 2020, 08:51:18 PM
OPNsense 20.1.3-amd64
FreeBSD 11.2-RELEASE-p17-HBSD
OpenSSL 1.1.1d 10 Sep 2019

I'm moving from Ubiquiti to OpnSense and have an ISP that only gives me a /64. My workaround in Ubiquiti-land was to do a separate prefix request for each VLAN.

Is there a way to do this in OpnSense? I've tried setting my interfaces to DHCPv6 but it appears that they're trying to DHCPv6 off my WAN interface instead of from my ISP.

In UBNT-land I did it with the following json:
"interfaces": {
                "ethernet": {
                        "eth0": {
                                "dhcpv6-pd": {
                                        "pd": {
                                                "0": {
                                                        "interface": {
                                                                "eth1": {
                                                                        "prefix-id": "0"
                                                                }
                                                        },
                                                        "prefix-length": "64"
                                                },
                                                "10": {
                                                        "interface": {
                                                                "eth1.10": {
                                                                        "prefix-id": "0"
                                                                }
                                                        },
                                                        "prefix-length": "64"
                                                },
                                                "20": {
                                                        "interface": {
                                                                "eth1.20": {
                                                                        "prefix-id": "0"
                                                                }
                                                        },
                                                        "prefix-length": "64"
                                                },
etc., etc.,