Questions tagged «slackware»

2
将IPv4设置为优于IPv6的首选协议
我在包含Slackware 13.0盒的LAN网络中同时使用IPv6和IPv4。如何在该网络的工作站上将IPv4设置为首选协议?我想明确使用IPv6或仅使用AAAA记录时使用。例如,如果我尝试从Firefox 打开http://ipv6.org/,我将始终通过IPv6连接。其他应用程序也是如此。我尝试创建/etc/gai.conf并将以下内容添加到其中: precedence ::ffff:0:0/96 100 这应该至少在Debian中控制getaddrinfo(3)的行为,但是在Slackware上没有帮助。 任何想法将不胜感激。提前致谢!
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.