Changes between Initial Version and Version 1 of Prioritize IPv4 over IPv6


Ignore:
Timestamp:
10/26/22 10:10:22 (2 years ago)
Author:
Paul Kulda
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Prioritize IPv4 over IPv6

    v1 v1  
     1= Prioritize IPv4 over IPv6 =
     2
     3{{{
     4Prefer IPv4 over IPv6 on Windows
     5
     6The solution doesn’t require a reboot, it takes effect immediately. You need to open an elevated Command Prompt, and run 2 commands:
     7
     8netsh interface ipv6 set prefix ::/96 60 3
     9
     10netsh interface ipv6 set prefix ::ffff:0:0/96 55 4
     11
     12These commands increased the priority of the IPv4 prefix policy and decreased the priority for IPv6. By default, this change is made persistent across reboots.
     13
     14For example, run these two commands on a clean Windows Server 2016 host, and run a ping request again:
     15
     16Pinging srv01.contoso.com [192.168.10.21] with 32 bytes of data
     17
     18Reply from 192.168.10.21: bytes=32 time<1ms TTL=128
     19
     20Reply from 192.168.10.21: bytes=32 time<1ms TTL=128
     21
     22}}}