* Edit /etc/network/interfaces
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface, with dhcp # auto eth0 # iface eth0 inet dhcp # ipv4 auto eth0 iface eth0 inet static address 192.168.1.23/24 gateway 192.168.1.1 # ipv6 iface eth0 inet6 static address ..ipv6-address.. netmask 64 gateway fe80::1
Es gab ein Problem mit der DNS Auflösung bei IPv6. Unter Ubuntu kann man diesen Workaround/Hook anwenden:
/root/resolv.conf
# google namserver nameserver 8.8.8.8 nameserver 8.8.4.4 nameserver 2001:4860:4860::8888 nameserver 2001:4860:4860::8844
/etc/network/if-up.d/dnsipv6
+ ``chmod +x dnsipv6``#!/bin/bash cp /root/resolv.conf /etc/resolv.conf
ping6 google.com
$ ping6 google.com PING google.com(fra15s28-in-x0e.1e100.net) 56 data bytes 64 bytes from fra15s28-in-x0e.1e100.net: icmp_seq=1 ttl=58 time=4.54 ms 64 bytes from fra15s28-in-x0e.1e100.net: icmp_seq=2 ttl=58 time=4.65 ms --- google.com ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 4.545/4.602/4.659/0.057 ms
Folgend noch eine weitere Hilfestellung bei Google Public DNS:
* https://developers.google.com/speed/public-dns/docs/using#linux
Sonstiges
* https://wiki.ubuntu.com/IPv6 * https://de.wikipedia.org/wiki/IPv6