Site Tools


server:prioritise_ipv4_over_ipv6

To check

netsh interface ipv6 show prefixpolicies

You should see the following output:

      50      0  ::1/128
      40      1  ::/0
      35      4  ::ffff:0:0/96
      30      2  2002::/16
       5      5  2001::/32
       3     13  fc00::/7
       1     11  fec0::/10
       1     12  3ffe::/16
       1      3  ::/96

The first line with a precedence of 50 is the IPv6 loopback adapter. The second line with a precedence of 40 is the IPv6 default gateway. The third with a precedence of 35 is all IPv4 compatible addresses. To change the precedence, type the following:

netsh interface ipv6 set prefixpolicy ::ffff:0:0/96 46 4
server/prioritise_ipv4_over_ipv6.txt · Last modified: (external edit)