IPv6 Internet connection issue

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | cat /boot/dietpi/.version
    G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=5
    G_DIETPI_VERSION_RC=1
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
    G_LIVE_PATCH_STATUS[0]=‘not applicable’
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
    bookworm 0
  • Kernel version | uname --all
    Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
  • Architecture | dpkg --print-architecture
    arm64
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
    RPi Zero 2 W (aarch64) (and RPi5)
  • Power supply used | (EG: 5V 1A RAVpower)
    5.1V 2.5A
  • SD card used | (EG: SanDisk ultra)
    SanDisk ultra

Additional Information (if applicable)

  • Software title | (EG: Nextcloud)
    /
  • Was the software title installed freshly or updated/migrated?
    /
  • Can this issue be replicated on a fresh installation of DietPi?
    clean install nothing installed after

Steps to reproduce

  1. Install DietPi

  2. Connect it to an IPv6 Network

  3. check if gloabl address is there (inet6 2a02:908:XXXX:XXXX:e65f:XXXX:XXXX:a426/64 scope global dynamic mngtmpaddr valid_lft 27902sec preferred_lft 27902sec)

  4. ping ipv6.google.com (or another ipv6 address outside the network, local works)

Expected behaviour

  • Pings IPv6 Address

Actual behaviour

  • Error with connect: Network is unreachable

Extra details

  • ping on local ipv6 addresses work
  • pings on an DNS Server IP instead of hostnames does not work either
  • default rpi image does work with IPv6 in the same network without issues (same pi and same sd card)
  • Same behavior can be noted on the Raspberry pi 5
  • Router uses OpenWrt 23.05.3