F5F Stay Refreshed Power Users Networks Raspberry Pi 1 B+ IPv6 troubleshooting

Raspberry Pi 1 B+ IPv6 troubleshooting

Raspberry Pi 1 B+ IPv6 troubleshooting

Pages (2): 1 2 Next
S
Siren1968
Junior Member
47
01-29-2025, 05:09 AM
#1
Hello, I faced an issue with my Raspberry Pi not receiving an IPv6 address. After searching online for a few weeks, I realized I wasn't getting the answers I needed. Could anyone more experienced with Linux help identify why I'm missing an IPv6 IP? I just installed it recently to avoid any command mistakes that might cause problems. I plan to use this Raspberry Pi for my Pi-hole setup.
S
Siren1968
01-29-2025, 05:09 AM #1

Hello, I faced an issue with my Raspberry Pi not receiving an IPv6 address. After searching online for a few weeks, I realized I wasn't getting the answers I needed. Could anyone more experienced with Linux help identify why I'm missing an IPv6 IP? I just installed it recently to avoid any command mistakes that might cause problems. I plan to use this Raspberry Pi for my Pi-hole setup.

M
MWJH15
Member
69
01-29-2025, 01:40 PM
#2
Certainly! Your setup likely involves a Raspberry Pi positioned behind your ISP router, with the router’s DHCP server assigning IPv6 addresses to devices on your local network. This configuration ensures that all connected devices receive unique IPv6 addresses.
M
MWJH15
01-29-2025, 01:40 PM #2

Certainly! Your setup likely involves a Raspberry Pi positioned behind your ISP router, with the router’s DHCP server assigning IPv6 addresses to devices on your local network. This configuration ensures that all connected devices receive unique IPv6 addresses.

X
XxGrenidierXx
Posting Freak
813
01-29-2025, 03:36 PM
#3
Yes Pi sits behind my crappy dlink router(waiting for my ubiquiti router delivery) and every other device gets an IPv6 address except Pi . Pi only gets the internal IPv6 address,which is useless.Also Pi has been set as a static IP address inside the router settings in case of a power down i won't have to modify the settings for the DNS server and so on.
X
XxGrenidierXx
01-29-2025, 03:36 PM #3

Yes Pi sits behind my crappy dlink router(waiting for my ubiquiti router delivery) and every other device gets an IPv6 address except Pi . Pi only gets the internal IPv6 address,which is useless.Also Pi has been set as a static IP address inside the router settings in case of a power down i won't have to modify the settings for the DNS server and so on.

M
ManTheMonkey
Member
222
02-05-2025, 11:32 AM
#4
The Pi-hole functions as your internal DNS server, which means it requires an external IPv6 address. Assigning a static IP ensures consistency and reliability. Your DHCP server should assign the Pi's address as the DNS server, so updating its address only needs one change—your DHCP server settings.
M
ManTheMonkey
02-05-2025, 11:32 AM #4

The Pi-hole functions as your internal DNS server, which means it requires an external IPv6 address. Assigning a static IP ensures consistency and reliability. Your DHCP server should assign the Pi's address as the DNS server, so updating its address only needs one change—your DHCP server settings.

V
Vincie_
Member
209
02-11-2025, 02:17 PM
#5
On the Pi you need to edit /etc/network/interfaces and for your interface you need edit the file to add the following below or above the current IPv4 configuration. Replace ens160 with whatever your interface name is. Example: # The primary network interface # This is an autoconfigured IPv6 interface auto ens160 iface ens160 inet6 auto iface ens160 inet static address 172.31.7.68 netmask 255.255.255.0 network 172.31.7.0 broadcast 172.31.7.255 gateway 172.31.7.5 dns-nameservers 172.31.7.55
V
Vincie_
02-11-2025, 02:17 PM #5

On the Pi you need to edit /etc/network/interfaces and for your interface you need edit the file to add the following below or above the current IPv4 configuration. Replace ens160 with whatever your interface name is. Example: # The primary network interface # This is an autoconfigured IPv6 interface auto ens160 iface ens160 inet6 auto iface ens160 inet static address 172.31.7.68 netmask 255.255.255.0 network 172.31.7.0 broadcast 172.31.7.255 gateway 172.31.7.5 dns-nameservers 172.31.7.55

A
Arazon
Member
177
02-27-2025, 03:12 AM
#6
You're correct regarding most of the points except for the Pi's handling of IPv6 addresses. If Pi doesn't receive an external IPv6 address, all IPv6 traffic isn't routed through Pi-hole, and within the web interface you can select any DNS server you prefer—such as Google or Cloudflare. You can verify IPv4 servers via DNS checks, but IPv6 servers remain inaccessible because they lack an IPv6 address. I added auto eth0 to interface eth0 with inet6 auto in /etc/network/interfaces and rebooted, but no change occurred. Then I updated /etc/dhcpcd.conf before removing it from /etc/network/intrafaces, but again no effect. Finally, I applied the necessary commands and still didn't see any changes as noted in /etc/modules.
A
Arazon
02-27-2025, 03:12 AM #6

You're correct regarding most of the points except for the Pi's handling of IPv6 addresses. If Pi doesn't receive an external IPv6 address, all IPv6 traffic isn't routed through Pi-hole, and within the web interface you can select any DNS server you prefer—such as Google or Cloudflare. You can verify IPv4 servers via DNS checks, but IPv6 servers remain inaccessible because they lack an IPv6 address. I added auto eth0 to interface eth0 with inet6 auto in /etc/network/interfaces and rebooted, but no change occurred. Then I updated /etc/dhcpcd.conf before removing it from /etc/network/intrafaces, but again no effect. Finally, I applied the necessary commands and still didn't see any changes as noted in /etc/modules.

M
mr_siko_games
Member
185
02-27-2025, 03:44 AM
#7
Pi-hole functions as a DNS server, not a router. It translates domain names into IP addresses. It directs traffic to established ad servers by mapping them to "nxdomain," which blocks ads from loading. It operates as a caching DNS service, requiring its own DNS infrastructure to handle queries it doesn’t recognize. As long as your devices can reach it on port 53 for DNS requests, it performs its role. Ensure Pi-hole is reachable from any external DNS provider. On your system, confirm the IPv6 module is loaded by checking `lsmod | grep ipv6`. If missing, enable it with `sudo modprobe ipv6` and verify via `/etc/sysctl.conf`. Adjust the configuration if needed to allow IPv6.
M
mr_siko_games
02-27-2025, 03:44 AM #7

Pi-hole functions as a DNS server, not a router. It translates domain names into IP addresses. It directs traffic to established ad servers by mapping them to "nxdomain," which blocks ads from loading. It operates as a caching DNS service, requiring its own DNS infrastructure to handle queries it doesn’t recognize. As long as your devices can reach it on port 53 for DNS requests, it performs its role. Ensure Pi-hole is reachable from any external DNS provider. On your system, confirm the IPv6 module is loaded by checking `lsmod | grep ipv6`. If missing, enable it with `sudo modprobe ipv6` and verify via `/etc/sysctl.conf`. Adjust the configuration if needed to allow IPv6.

U
uilen
Junior Member
16
03-06-2025, 02:37 AM
#8
I understand all the details, I own an older laptop used for car diagnostics and I installed Lubuntu on it. It functions well with IPv6 and Pi-Hole acting as a DHCP server just for testing. In the router settings I also included both IPv4 and IPv6 with Pi DNS. I’m looking for that laptop because I need the Raspberry Pi. I have solid network knowledge, but my challenge is getting Pi to handle IPv6 properly. I lack deep coding skills to troubleshoot Linux issues, though I can adapt if I get internet access. With this networking work on the Raspberry Pi, I haven’t managed to resolve it despite trying many commands found online. Even after deleting the IPv6 entry and rebooting, the command still returned: "net.ipv6.conf.all.disable_ipv6 = 1". I already have "ipv6" in /etc/modules, but I’m unsure how to fix it.
U
uilen
03-06-2025, 02:37 AM #8

I understand all the details, I own an older laptop used for car diagnostics and I installed Lubuntu on it. It functions well with IPv6 and Pi-Hole acting as a DHCP server just for testing. In the router settings I also included both IPv4 and IPv6 with Pi DNS. I’m looking for that laptop because I need the Raspberry Pi. I have solid network knowledge, but my challenge is getting Pi to handle IPv6 properly. I lack deep coding skills to troubleshoot Linux issues, though I can adapt if I get internet access. With this networking work on the Raspberry Pi, I haven’t managed to resolve it despite trying many commands found online. Even after deleting the IPv6 entry and rebooting, the command still returned: "net.ipv6.conf.all.disable_ipv6 = 1". I already have "ipv6" in /etc/modules, but I’m unsure how to fix it.

I
Itsmea
Junior Member
5
03-06-2025, 05:53 AM
#9
@OP I could be wrong considering this is a Pi and I don't know what version of Lubuntu is being used but wasn't /etc/network/interfaces replaced by netplan a while ago? I don't believe the interfaces file does anything anymore until you modify some other file to make it valid again. You would need to edit /etc/netplan/*.yaml .
I
Itsmea
03-06-2025, 05:53 AM #9

@OP I could be wrong considering this is a Pi and I don't know what version of Lubuntu is being used but wasn't /etc/network/interfaces replaced by netplan a while ago? I don't believe the interfaces file does anything anymore until you modify some other file to make it valid again. You would need to edit /etc/netplan/*.yaml .

A
ash_n_brad
Posting Freak
778
03-07-2025, 11:12 PM
#10
It seems you've noticed an internal IPv6 address in your system. It looks like IPv6 is active, possibly indicating your Windows 7 setup is correct. Could this be due to your ISP's restrictions? I'm curious about the block size they provide (like /56).
A
ash_n_brad
03-07-2025, 11:12 PM #10

It seems you've noticed an internal IPv6 address in your system. It looks like IPv6 is active, possibly indicating your Windows 7 setup is correct. Could this be due to your ISP's restrictions? I'm curious about the block size they provide (like /56).

Pages (2): 1 2 Next