Prefer ipv4 over ipv6


  1. Posts : 310
    Microsoft Windows 10 Home 64-bit 19045 Multiprocessor Free
       #1

    Prefer ipv4 over ipv6


    hi,

    I want to set ipv4 to be preferred over ipv6, the other day i've used the tips from this Ping returns IPv6 Address, ping IPv4 in Command Prompt - TheITBros on my 2 windows10 computers and everything worked out great!

    Now, i just did a win10 update and i noticed that that no longer works even by doing the very same "command" and it kinda gets ignored. Did they just remove the functionality?

    This is what i get from netsh interface ipv6 show prefixpolicies (i don't get the longer list anymore but just these):

    Prefer ipv4 over ipv6-image.png

    So it seems to be preferring ipv4, yet when i ping my site (available on both ipv4 and ipv6), i get output with ipv6, same as google.com - the other day it was working nicely to ipv4 and i only used these 2 commands they suggested:

    netsh interface ipv6 set prefix ::/96 60 3

    netsh interface ipv6 set prefix ::ffff:0:0/96 55 4

    what's going on? I don't want to disable it completely (i know i can disable it from the router or from the network card properties, i just want to de-prioritise it)

    [Version 10.0.19044.1387]

    thank you,
    Gabrio

    - - - Updated - - -

    might have answered myself, i've added

    netsh interface ipv6 add prefixpolicy ::/0 40 1

    and it did the trick... i wonder if it will stick now :)
      My Computer


  2. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #2

    Hello @gabgab,

    I have noticed that you have NOT had ANY replies, so I thought that I would try and help.

    Are you talking about something like this? . . .

    > How to Enable or Disable IPv6 in Windows 7, Windows 8, and Windows 10

    This might also be of interest => How to Change IPv4 and IPv6 DNS Server Address in Windows

    I hope this helps.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 07:38.
Find Us




Windows 10 Forums