How should I configure properly my LAN to use IPv6 for communication on LAN and WAN?
Finally I have found the answer. Let's see what I have:
- pfSense is being used as a router/firewall on my LAN.
- I got Global Unicast IPv6 address from my ISP on my WAN interface. (GUIPv6 is routable on Internet.)
- pfSense need to be configured properly to get Global Unicast IPv6 address from the ISP on the LAN interface.
- Interfaces --> WAN --> DHCP6 Client Configuration --> DHCPv6 Prefix Delegation size="60" --> Save
- Interfaces --> LAN --> General Configuration --> IPv6 Configuration Type="Track Interface"
- Interfaces --> LAN --> Track IPv6 Interface --> IPv6 Interface="WAN"
- Interfaces --> LAN --> Track IPv6 Interface --> IPv6 Prefix ID="0" --> Save
- Services --> DHCPv6 Server & RA --> Router Advertisements --> Router mode="Managed" --> Save
- Services --> DHCPv6 Server & RA --> DHCPv6 Server --> "Enable DHCPv6 server on interface LAN"
- Range from="::1000"
- Range to="::2000" -- > Save
Abovementioned steps set up pfSense to be able to dynamically assigns GUIPv6 addresses on LAN.