Salut, pour une fois, je cale.
serveur debian stretch a jour: 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux
premier indice via journalctrl:
kernel: IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
ifconfig
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.220 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::1e1b:dff:fe0b:2e3a prefixlen 64 scopeid 0x20<link>
inet6 2a01:xxx:203:xxxx::3 prefixlen 64 scopeid 0x0<global>
ether 1c:1b:0d:0b:2e:3a txqueuelen 1000 (Ethernet)
RX packets 5624 bytes 1808673 (1.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6591 bytes 1756773 (1.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Boucle locale)
RX packets 1490 bytes 219186 (214.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1490 bytes 219186 (214.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
route -6 -n
Table de routage IPv6 du noyau
Destination Next Hop Flag Met Ref Use If
2a01:xxx:203:xxxx::1/128 :: U 1024 1 1 enp2s0
2a01:xxx:203:xxxx::/64 :: U 256 0 0 enp2s0
fe80::/64 :: U 256 0 0 enp2s0
::/0 2a01:e0a:203:b7e0::1 UG 1024 0 0 enp2s0
::/0 :: !n -1 1 1845 lo
::1/128 :: Un 0 5 206 lo
2a01:xxx:203:xxxx::3/128 :: Un 0 1 0 lo
fe80::1e1b:dff:fe0b:2e3a/128 :: Un 0 1 0 lo
ff00::/8 :: U 256 3 14 enp2s0
::/0 :: !n -1 1 1845 lo
more /proc/net/if_inet6
fe800000000000001e1b0dfffe0b2e3a 02 40 20 80 enp2s0
00000000000000000000000000000001 01 80 10 80 lo
2a01xxxa0203xxxx0000000000000003 02 40 00 80 enp2s0
La config /etc/network/interface
# rien sous interface.d
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug enp2s0
iface enp2s0 inet static
address 192.168.1.220
netmask 255.255.255.0
broadcast 192.168.1.255
network 192.168.1.0
post-up iptables-restore < /etc/iptables.up.rules
gateway 192.168.1.254
#IPV6 static configuration
iface enp2s0 inet6 static
pre-up modprobe ipv6
address 2a01:xxx:203:xxxx::3
netmask 64
iface enp2s0 inet6 manual
pre-up /sbin/modprobe -q ipv6 ; /bin/true
gateway 2a01:xxx:203:xxxx::1
# EOF
resolve ok.
Ce serveur est branché sur une freebox delta.
Accessible depuis le net via un nom de domaine.
capable de ping vers des ipv4
par contre:
ping ipv6.google.com
PING ipv6.google.com(wk-in-x71.1e100.net (2a00:1450:400c:c04::71)) 56 data bytes
^C
--- ipv6.google.com ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1014ms
ping 2a01:xxx:203:xxxx::3
PING 2a01:e0a:203:b7e0::3(2a01:e0a:203:b7e0::3) 56 data bytes
64 bytes from ::3: icmp_seq=1 ttl=64 time=0.060 ms
64 bytes from ::3: icmp_seq=2 ttl=64 time=0.065 ms
64 bytes from ::3: icmp_seq=3 ttl=64 time=0.066 ms
^C
--- ::3 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2051ms
rtt min/avg/max/mdev = 0.060/0.063/0.066/0.009 ms
ping 2a01:xxx:203:xxxx::1
PING ::1(2a01:e0a:203:b7e0::1) 56 data bytes
From ::3 icmp_seq=1 Destination unreachable: Address unreachable
From ::3 icmp_seq=2 Destination unreachable: Address unreachable
From ::3 icmp_seq=3 Destination unreachable: Address unreachable
From ::3 icmp_seq=4 Destination unreachable: Address unreachable
^C
--- ::1 ping statistics ---
5 packets transmitted, 0 received, +4 errors, 100% packet loss, time 4067ms
J'avoue que je ne vois pas ... et en plus, ce dois être super simple !
- If it works, dont update it.
- You don't know how, just do it, you will learn.
- Test, re-stest, test again, and maybe it will work.
- https://nextcloud.rkn.ovh/index.php/s/3yp93A7oNMPexcp