I'm pulling what's left of my hair out. IPv6 is enabled for both in dietpi-config. Both /etc/network/interfaces files look like this:
Code: Select all
# Location: /etc/network/interfaces
# Please modify network settings via: dietpi-config
# Or create your own drop-ins in: /etc/network/interfaces.d/
# Drop-in configs
source interfaces.d/*
# Loopback
auto lo
iface lo inet loopback
# Ethernet
allow-hotplug eth0
iface eth0 inet dhcp
address 192.168.1.106
netmask 255.255.255.0
gateway 192.168.1.1
#dns-nameservers 127.0.0.1
# WiFi
#allow-hotplug wlan0
iface wlan0 inet dhcp
address 0.0.0.0
netmask 0.0.0.0
gateway 0.0.0.0
#dns-nameservers 0.0.0.0
wireless-power off
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
I've tried adding "iface eth0 inet6 dhcp" to RPI#1, but that doesn't do anything -- and RPI#2 doesn't seem to need that line to get an IPv6 address.
RPI#1 does get a local IPv6 address (starting with fe80).
From RPI#2 I can ping RPI#1's local IPv6:
Code: Select all
RPI2# ping6 fe80::ba27:ebff:feb4:ffd4
PING fe80::ba27:ebff:feb4:ffd4(fe80::ba27:ebff:feb4:ffd4) 56 data bytes
64 bytes from fe80::ba27:ebff:feb4:ffd4%eth0: icmp_seq=1 ttl=64 time=0.711 ms
64 bytes from fe80::ba27:ebff:feb4:ffd4%eth0: icmp_seq=2 ttl=64 time=0.492 ms
64 bytes from fe80::ba27:ebff:feb4:ffd4%eth0: icmp_seq=3 ttl=64 time=0.655 ms
^C
--- fe80::ba27:ebff:feb4:ffd4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 71ms
rtt min/avg/max/mdev = 0.492/0.619/0.711/0.095 ms
Code: Select all
RPI1# ping6 2601:601:c97f:d407:ba27:ebff:fe4a:a62c
connect: Network is unreachable
Code: Select all
RPI1# ping6 fe80::ba27:ebff:fe4a:a62c
PING fe80::ba27:ebff:fe4a:a62c(fe80::ba27:ebff:fe4a:a62c) 56 data bytes
Any ideas?