Created
January 27, 2014 13:58
-
-
Save bivald/8648986 to your computer and use it in GitHub Desktop.
Prioritize ipv4 over ipv6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After a Debian update (7.1?) my DomU has suddenly started prioritize ipv6 over ipv4 which is fine enough. However, the DomU actually don't have valid ipv6 addresses basically null-routing all traffic. This prioritizes ipv6 until you get ipv6 running...