Bug#465797: libc6: RFC 3484 ipv6 address selection order does not work as expected
Package: libc6
Version: 2.7-6
Severity: normal
Since one of the last updates I noticed my system stoppend using ipv6.
I seam to have tracked that problem down to the new RFC3484 and
/etc/gai.conf functionality...
Actual situation, local machine:
eth2 Link encap:Ethernet HWaddr 00:13:ce:36:7f:f5
inet addr:157.161.57.67 Bcast:157.161.57.79 Mask:255.255.255.240
inet6 addr: fec0::213:ceff:fe36:7ff5/64 Scope:Site
inet6 addr: 2002:5448:894d:0:213:ceff:fe36:7ff5/64 Scope:Global
inet6 addr: fe80::213:ceff:fe36:7ff5/64 Scope:Link
Trying to connect to any IPv6 host not on the local network:
~$ telnet gintonic.woody.ch
Trying 157.161.57.2...
Trying 2001:4060:dead:beef:213:d3ff:fea8:8ef8...
Why is IPv4 being prefered? As I understand if both is possivle, IPv6 should be prefered.
Same test from a 'etch' machine in same subnet:
ii libc6 2.3.6.ds1-13etch4 GNU C Library: Shared libraries
# telnet gintonic.woody.ch
Trying 2001:4060:dead:beef:213:d3ff:fea8:8ef8...
Trying 157.161.57.2...
That's the order I expect.
-Benoit-
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (700, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.18.1 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages libc6 depends on:
ii libgcc1 1:4.3-20080202-1 GCC support library
libc6 recommends no packages.
-- debconf information:
glibc/restart-failed:
glibc/restart-services:
Reply to: