Ipv6 Network not reachable

    • Ipv6 Network not reachable

      Hello,

      I had ipv6 working on this machine in the past, but not anymore, for some reason:

      Source Code

      1. root@homeserver:~# ifconfig eth0
      2. eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
      3. inet 192.168.177.3 netmask 255.255.255.0 broadcast 192.168.177.255
      4. inet6 fd00::222:4dff:feaa:27bb prefixlen 64 scopeid 0x0<global>
      5. inet6 fe80::222:4dff:feaa:27bb prefixlen 64 scopeid 0x20<link>
      6. ether 00:22:4d:aa:27:bb txqueuelen 1000 (Ethernet)
      7. RX packets 465 bytes 85238 (83.2 KiB)
      8. RX errors 0 dropped 14 overruns 0 frame 0
      9. TX packets 571 bytes 243982 (238.2 KiB)
      10. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
      11. device interrupt 20 memory 0xf7f00000-f7f20000
      12. root@homeserver:~# ping6 www.google.com
      13. connect: Network unreachable
      Display All

      I can fix this by:

      Source Code

      1. ip -6 addr add fd00::ecb6:9a43:32c3:1234 dev eth0

      So, I assume the reason is the dhcp (v6)

      Source Code

      1. dhclient -6 -r eth0
      2. root@homeserver:~# dhclient -6 eth0 -v
      3. Internet Systems Consortium DHCP Client 4.3.5
      4. Copyright 2004-2016 Internet Systems Consortium.
      5. All rights reserved.
      6. For info, please visit https://www.isc.org/software/dhcp/
      7. Listening on Socket/eth0
      8. Sending on Socket/eth0
      9. PRC: Soliciting for leases (INIT).
      10. XMT: Forming Solicit, 0 ms elapsed.
      11. XMT: X-- IA_NA 4d:aa:27:bb
      12. XMT: | X-- Request renew in +3600
      13. XMT: | X-- Request rebind in +5400
      14. XMT: Solicit on eth0, interval 1020ms.
      15. XMT: Forming Solicit, 1020 ms elapsed.
      16. XMT: X-- IA_NA 4d:aa:27:bb
      17. XMT: | X-- Request renew in +3600
      18. XMT: | X-- Request rebind in +5400
      19. XMT: Solicit on eth0, interval 1940ms.
      20. XMT: Forming Solicit, 2960 ms elapsed.
      21. XMT: X-- IA_NA 4d:aa:27:bb
      22. XMT: | X-- Request renew in +3600
      23. XMT: | X-- Request rebind in +5400
      24. XMT: Solicit on eth0, interval 3700ms.
      25. XMT: Forming Solicit, 6660 ms elapsed.
      Display All

      I do not know what this means though.

      The configuration on this machine is very similar to another machine that I administer (at a different place). The difference is that the other machine uses dhcp v4 as well and wifi instead of wired connection.

      Source Code

      1. cat /etc/network/interfaces
      2. # Include additional interface stanzas.
      3. source-directory interfaces.d
      4. # The loopback network interface
      5. auto lo
      6. iface lo inet loopback
      7. iface lo inet6 loopback
      8. # eth0 network interface
      9. auto eth0
      10. #allow-hotplug eth0
      11. iface eth0 inet static
      12. address 192.168.177.3
      13. gateway 192.168.177.1
      14. netmask 255.255.255.0
      15. dns-nameservers 192.168.177.1
      16. dns-search fritz.box
      17. iface eth0 inet6 auto
      18. pre-up echo 1 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra
      19. pre-up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/disable_ipv6
      Display All

      Where is my mistake?
      Router is a fritz-Box

      Regards,
      Hendrik
    • Users Online 1

      1 Guest