In the case of a local network that supports both IPv4 and IPv6, accessing IPv6 websites can be very slow, especially foreign ones. We can try to increase the prioritization of IPv4. In this way, when the other website supports both IPv4 and IPv6, IPv4 will be used for access by default, thus solving the problem of slow IPv6 network.
The Windows system sets IPV4 priority access:
1.In Start – Run – Enter cmd – and run as administrator, then enter the following command to see the priority:
netsh interface ipv6 show prefixpolicies
This command will display a list of access priorities for network prefixes. The higher the number, the higher the priority, which means that it will be accessed more preferentially. We can see that IPv6 (::/0) has a higher priority than IPv4 (::ffff:0:0/96), which is why IPv6 is prioritized by default.
50 0 ::1/128
40 1 ::/0 #ipv6
35 4 ::ffff:0:0/96 #ipv4
30 2 2002::/16
5 5 2001::/32
3 13 fc00::/7
1 11 fec0::/10
1 12 3ffe::/16
1 3 ::/96
2.Continue typing the command to increase the IPV4 priority:
netsh interface ipv6 set prefixpolicy ::ffff:0:0/96 100 4
WHEN SET UP IN THIS WAY, IPV4 will be preferred over IPV6 for access.
Note: Non-command line operation method: How to set IPv4 priority in Win11 under IPv6 &IPV4 dual IP
Firefox browser to set IPv4 priority access:
Enter “about:config” in the address bar. There are several options to choose from setting
- network.dns.disableIPv6 to true to disable IPV6 resolution addresses.
- network.dns.preferIPv6, set true to ipv6 limited access
- network.dns.ipv4OnlyDomains, only use the domain address of ipv4 access, and enter the domain name directly
No comments yet