Hello,
I had ipv6 working on this machine in the past, but not anymore, for some reason:
Code
root@homeserver:~# ifconfig eth0
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 fd00::222:4dff:feaa:27bb prefixlen 64 scopeid 0x0<global>
inet6 fe80::222:4dff:feaa:27bb prefixlen 64 scopeid 0x20<link>
ether 00:22:4d:aa:27:bb txqueuelen 1000 (Ethernet)
RX packets 465 bytes 85238 (83.2 KiB)
RX errors 0 dropped 14 overruns 0 frame 0
TX packets 571 bytes 243982 (238.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xf7f00000-f7f20000
root@homeserver:~# ping6 www.google.com
connect: Network unreachable
Alles anzeigen
I can fix this by:
So, I assume the reason is the dhcp (v6)
Code
dhclient -6 -r eth0
root@homeserver:~# dhclient -6 eth0 -v
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on Socket/eth0
Sending on Socket/eth0
PRC: Soliciting for leases (INIT).
XMT: Forming Solicit, 0 ms elapsed.
XMT: X-- IA_NA 4d:aa:27:bb
XMT: | X-- Request renew in +3600
XMT: | X-- Request rebind in +5400
XMT: Solicit on eth0, interval 1020ms.
XMT: Forming Solicit, 1020 ms elapsed.
XMT: X-- IA_NA 4d:aa:27:bb
XMT: | X-- Request renew in +3600
XMT: | X-- Request rebind in +5400
XMT: Solicit on eth0, interval 1940ms.
XMT: Forming Solicit, 2960 ms elapsed.
XMT: X-- IA_NA 4d:aa:27:bb
XMT: | X-- Request renew in +3600
XMT: | X-- Request rebind in +5400
XMT: Solicit on eth0, interval 3700ms.
XMT: Forming Solicit, 6660 ms elapsed.
Alles anzeigen
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.
Code
cat /etc/network/interfaces
# Include additional interface stanzas.
source-directory interfaces.d
# The loopback network interface
auto lo
iface lo inet loopback
iface lo inet6 loopback
# eth0 network interface
auto eth0
#allow-hotplug eth0
iface eth0 inet static
address 192.168.177.3
gateway 192.168.177.1
netmask 255.255.255.0
dns-nameservers 192.168.177.1
dns-search fritz.box
iface eth0 inet6 auto
pre-up echo 1 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra
pre-up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/disable_ipv6
Alles anzeigen
Where is my mistake?
Router is a fritz-Box
Regards,
Hendrik