IPv6 wrong prefix length

  • Hello,


    I have configured IPv6 like this:


    But this leads to

    Code
    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 192.168.177.3 netmask 255.255.255.0 broadcast 192.168.177.255
    inet6 2003:cb:9722:xxxx:xxxx:xxxx:feaa:27bb prefixlen 128 scopeid 0x0<global>
    inet6 fe80::xxx:xxx:feaa:27bb prefixlen 64 scopeid 0x20<link>
    ether 00:22:4d:aa:27:bb txqueuelen 1000 (Ethernet)
    RX packets 51101574 bytes 4896156245 (4.5 GiB)
    RX errors 0 dropped 330892 overruns 0 frame 0
    TX packets 52828687 bytes 68346030934 (63.6 GiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    device interrupt 20 memory 0xf7d00000-f7d20000

    You can see, that the prefixlen is wrong.

    This leads to 'network not reachable':

    Code
    ping6 ipv6.google.com
    connect: Network unreachable

    I also do not find this configuration in /etc:

    Code
    root@homeserver:/etc# grep -r "2003:cb:9722"
    hosts:22003:cb:9722:xxxx:xxxx:xxxx:feaa:27bb homeserver.fritz.box homeserver
    issue:eth0: 2003:cb:9722:aaaa:bbbb:cccc:feaa:27bb
    netplan/20-openmediavault-eth0.yaml: - 22003:cb:9722:xxxx:xxxx:xxxx:feaa:27bb/64
    openmediavault/config.xml: <address6>22003:cb:9722:xxxx:xxxx:xxxx:feaa:27bb</address6>


    What could be the reason for these issues?


    Regards,

    Hendrik

  • According to netplan/20-openmediavault-eth0.yaml: - 22003:cb:9722:xxxx:xxxx:xxxx:feaa:27bb/64 OMV build the correct netplan.io configuration files. Based on that systemd-networkd is configured by netplan.io. Maybe there is a problem or systemd-networkd has an issue. You may have a look into the systemd-networkd files at /run/systemd/network/ that are generated by netplan.io.

  • Hello,


    thanks for your reply.


    So also that looks correct.

    So, that would be a bug, I should raise at https://www.debian.org/Bugs/ ?


    Does it make sense, that the wrong prefix length is the cause for the "network unreachable" during my ping test?


    Regards,

    Hendrik

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!