1
General Discussion / Debian 12 DHCPv6 issues
« on: September 07, 2024, 05:37:39 pm »
I do not know if this is the correct forum for this, please let me know if it's not.
Hello, I have a slightly complicated setup, basically my ISP only gives me an IPv4. I then have a VPN client setup to a VPS that gives me "fddd:2c4:2c4:2c4::1/64" this all works fine.
I have the LAN static IPv6 set to 2001:db8::1/64 and the DHCP range to "2001:db8::2 - 2001:db8::ffff:ffff:ffff:ffff". Now Windows devices work fine, they seem to grab the IPv6 from the DHCP server, as I can see it in the DHCPv6 server leases - and I can access local devices like cisco access points, other windows devices and also WAN.
The problem is with Linux devices, now I've had Linux devices setup with "iface enp4s0 inet6 auto" - this has worked fine, but I was not able to see the devices in DHCPv6 leases as I think it was using stateless config.
When I set it to "iface enp4s0 inet6 dhcp" I only get one /128 IPv6 and I am not able to ping either anything on the local network or anything on WAN side.
I am completely out of ideas now, yes, I could use stateless, but I would like to see the devices in DHCPv6 leases if it's possible.
Sorry for the very confusing explanation, I've been trying to get this to work for about 7 hours now.
Thank you for any help!
Hello, I have a slightly complicated setup, basically my ISP only gives me an IPv4. I then have a VPN client setup to a VPS that gives me "fddd:2c4:2c4:2c4::1/64" this all works fine.
I have the LAN static IPv6 set to 2001:db8::1/64 and the DHCP range to "2001:db8::2 - 2001:db8::ffff:ffff:ffff:ffff". Now Windows devices work fine, they seem to grab the IPv6 from the DHCP server, as I can see it in the DHCPv6 server leases - and I can access local devices like cisco access points, other windows devices and also WAN.
The problem is with Linux devices, now I've had Linux devices setup with "iface enp4s0 inet6 auto" - this has worked fine, but I was not able to see the devices in DHCPv6 leases as I think it was using stateless config.
When I set it to "iface enp4s0 inet6 dhcp" I only get one /128 IPv6 and I am not able to ping either anything on the local network or anything on WAN side.
I am completely out of ideas now, yes, I could use stateless, but I would like to see the devices in DHCPv6 leases if it's possible.
Sorry for the very confusing explanation, I've been trying to get this to work for about 7 hours now.
Thank you for any help!