OPNsense Forum

English Forums => General Discussion => Topic started by: bexc on April 10, 2018, 04:39:10 am

Title: [SOLVED] Setting up IPv6 WAN/LAN on 18.1.6 with static addresses
Post by: bexc on April 10, 2018, 04:39:10 am
I've been trying to set up IPv6 on my LAN for a while, with no success. I've tried with both interface tracking with DHCPv6 on the WAN, and with static addresses - ideally I want to just set it up with static IPv6 addresses, handing out allocations via router advertisements and/or DHCPv6.

I'm on Comcast, and have been given what they claim is a /56 allocation, but I've read elsewhere that I should treat is as a /60 or /64. I have four ports in use - WAN, PUB1, PUB2 and LAN. The WAN, PUB1 and PUB2 are bridged, giving public IP addresses to the PUB1 and PUB2 machines behind the firewall and allowing them to be reached from the internet. The LAN is currently using NAT for IPv4, and my problem is that while the machines on PUB1 and PUB2 have no problems with IPv6 connectivity, I can't reach the internet over IPv6 from the LAN.

Unfortunately I only have 5 IPv4 addresses, so I can't entirely turn off NAT v4 on the LAN. When I set up OPNsense to use interface tracking on the LAN with DHCPv6 on the WAN, the LAN interface didn't get an IPv6 address.

Does anyone have any tips or help how I might get it working?
Title: Re: Setting up IPv6 WAN/LAN on 18.1.6 with static addresses
Post by: bexc on April 16, 2018, 04:35:15 am
I got this working after I realized the Comcast modem is configured just for a /64.