Skip to content

Instantly share code, notes, and snippets.

@bivald
Created January 27, 2014 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bivald/8648986 to your computer and use it in GitHub Desktop.
Save bivald/8648986 to your computer and use it in GitHub Desktop.
Prioritize ipv4 over ipv6
echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf
@bivald
Copy link
Author

bivald commented Jan 27, 2014

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment