[arch-general] getaddrinfo

clemens fischer ino-news at spotteswoode.dnsalias.org
Fri Dec 9 15:00:21 EST 2011


Myra Nelson wrote:

> I have a static ip address set up in rc.conf and my internet
> connections work, ftp clients work, ip addrlabel produces
>
> prefix ::1/128 label 0
> prefix ::ffff:0.0.0.0/96 label 4
> prefix ::/96 label 3
> prefix 2001::/32 label 7
> prefix 2002::/16 label 2
> prefix fec0::/10 label 5
> prefix fc00::/7 label 6
> prefix ::/0 label 1

That's odd.  I get:

  0 6 # ip addrlabel
  prefix ::1/128 label 0
  prefix ::/96 label 3
  prefix ::ffff:0.0.0.0/96 label 4
  prefix 2001::/32 label 6
  prefix 2001:10::/28 label 7
  prefix 2002::/16 label 2
  prefix fc00::/7 label 5
  prefix ::/0 label 1

You can see that the IP ranges have differing labels (classes).  What
_uncommented_ lines are in your etc/gai.conf?

  egrep -v '^#|^[[:space:]]*$' /etc/gai.conf

The output of this command is empty on my machine.


clemens



More information about the arch-general mailing list