Hi all,
I have a fitlet2 running pfsense 2.5.2. It is successfully connected to the internet using the attached settings (thanks 2degrees and everyone kind enough to explain things on geekzone!).
IPV6 is working since I last set things up, and all my clients obtain an address without any issues.
If it's relevant:
- I am in Wellington and connected to the Chorus fibre network here
- I do not have a static IP address (but will gladly pay for one if it help solve my issues)
- I have attached my WAN interface settings, my LAN interface settings, and the default DHCPv6 settings
Question: Can someone explain how to create a DHCPv6 static mapping for a client on my LAN?
Why?
I have a RPI4 running pihole on my LAN, and want to point to it as a DNS server for all my clients.
This was straightforward for IPV4. I created a static mapping for the RPI4 and listed that as a DNS server in the DHCP server settings. But now that I have clients with IPV6 addresses, they don't seem to be using the pihole as their DNS server. I have assumed whatever is giving them an IPV6 address isn't yet pointing to the RPI4 as a DNS server.
Note my pihole did work when I only had IPV4. But I would like to keep IPV6 (i.e. prefer not to disable it). It's something new, and I am keen to learn how to make it work.
What happens when I try create a DHCPv6 static mapping?
I have tried to add a DHCPv6 static mapping for the RPI4. I can find it in my list DHCPv6 leases, and give it a static IP of ::2 (which is outside of the specified range, in my case, ::1000 to ::2000) in my DHCPv6 settings.
But the RPI4 just keeps its IP of 2406:e003:e01:9000::1f7c.
I have tried to force the RPI4 to get its static IPV6 address and request a new one with the following commands, but none of them helped:
- dhclient -6 -r eth0; dhclient -6 eth0
- /etc/init.d/networking restart
- ifdown eth0; ifup eth0
Just a few things I don't understand that could be the problem
If I understand things correctly (unlikely...):
- 2degrees has a DHCPv6 server that gives me a prefix delegation
- I'm thinking of the prefix delegation as the first part of an IPV6 address (2406:e003:e01:9000::), with my various clients *somehow* getting assigned various addresses within that
- But I don't think I understand how those client addresses are assigned
Does the DHCPv6 server on my system even assign IPV6 addresses to my clients, or is this done by the 2degrees' DHCPv6 server? If it's the latter, does that mean I have no ability to specify who gets what addresses within the prefix delegation?
I think it's pretty clear I don't know what I'm doing, but I'm keen to learn! Thanks in advance, any help is appreciated.
Attachments
WAN interface settings: https://cdn.geekzone.co.nz/imagessubs/1b6d85c2e5b57bf8d7a6d9dd08e26ff9.jpg and https://cdn.geekzone.co.nz/imagessubs/d068a99f260a08ee1b20d6c17c27a472.jpg
LAN interface settings: https://cdn.geekzone.co.nz/imagessubs/6f17f422e5284d14df4ff752370def82.jpg
DHCPv6 settings (blank defaults): https://cdn.geekzone.co.nz/imagessubs/74424519acef4255b8b7c5eaed635f2d.jpg
DHCPv6 leases: https://cdn.geekzone.co.nz/imagessubs/50e29bdd0922c103fd29d673ba753e29.jpg
DHCPv6 static mapping attempt: https://cdn.geekzone.co.nz/imagessubs/b8151db90531491a785f332f493f142b.jpg