I'm using both IPv6 and IPv4 in a LAN network containing Slackware 13.0 boxes. How can I set IPv4 as preferred protocol on the workstations in this network? I want to use IPv6 either explicitly or when there are only AAAA records available. For example, if I try to open http://ipv6.org/ from Firefox, I will always connect via IPv6. The situation is the same with other applications. I tried creating /etc/gai.conf and adding the following to it:
precedence ::ffff:0:0/96 100
This should control the behavior of getaddrinfo(3) at least in Debian, but it didn't help on Slackware.
Any ideas will be appreciated. Thanks in advance!
/etc/gai.conf
! I was searching forr it for about half a year! :)