Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you make IPV6 default in Chrome for MAC?

I've been to chrome://net-internals/#dns and enabled IPV6 but there does not seem to be an option to have the browser try the IPV6 address first, it's defaulting to IPV4.

Before enabling IPV6 the default address family was: Default adress family: ADDRESS_FAMILY_IPV4 (IPv6 disabled) After enabling IPV6 it shows as: Default adress family: ADDRESS_FAMILY_UNSPECIFIED

This looked promising for a sec until it grabbed the IPV4 address first. Any help would be appreciated or even confirmation that it isn't possible.

like image 684
flxa Avatar asked Jul 11 '11 06:07

flxa


People also ask

Should IPv6 be on or off Mac?

We recommend disabling IPv6 if you are using a manual connection type, such as manual IKEv2 or OpenVPN setup.

How do I know if my Mac is using IPv6?

View IPv6 Information from the Network Status screen: Click the Apple menu and select System Preferences. Click Network. Choose your connection type (Built-in Ethernet or AirPort) and click the Advanced button. Select the TCP⁄IP tab to display the IP address information.


2 Answers

IPv6 automatically gets a higher priority by default. RFC3484 describes the mechanism used for this. If you use 6to4 (2002::/16) then those IPv6 addresses will get a lower priority than IPv4. This is done because if your IPv6 connection depends on your IPv4 connection + the correct availability and working of several relays then you will probably have a better connection directly over IPv4. The same goes for Teredo (2001::/32).

If your system still connects over IPv4 even when you have native IPv6 connectivity then your IPv6 connectivity to that website is probably slow. There is a fail-safe built in in recent Chrome versions that tries IPv6 first, but when the connection hasn't been established within 300ms it tries to connect over IPv4 in parallel. This is done so that users with broken IPv6 connectivity are still able to reach dual stacked websites.

I hope this explains what you are seeing :)

Sander

like image 107
Sander Steffann Avatar answered Oct 18 '22 18:10

Sander Steffann


If you have IPv6 enabled and working properly, chrome, and all other modern browsers, will prefer it. However, if you just switched on IPv6, you'll need to restart chrome for this to take effect. This part took me about an hour of searching around to figure out, which is how I ended up here.

You can check which protocol is enable by default for your browser at http://ipv6-test.com/.

If it says your connection is IPv6 capable, but also says "When both protocols are available, your browser uses IPv4", just restart your browser. When you revisit the site it should say IPv6.

Note: I've seen other answers mention going to about:net-internals in the url bar, and the dns tab to enable IPv6, but this appears to be outdated info as there's no enable IPv6 button there in current versions of chrome (I'm using version 22.0.1229.94 right now).

like image 25
mmrobins Avatar answered Oct 18 '22 18:10

mmrobins