I am currently using Hurricane Electric's IPv6-Tunnel for IPv6-connectivity from my office computer (IT staff approved!).
Now I realized that HE.net has a peering dispute with Cogent. So all IPv6-traffic supposedly going to Cogent's network is not getting routed (though addresses are resolved). This creates a rather inconvenient problem for my machine having to wait for the timeout of that route to fall back to IPv4 (where routing is fine and successful).
So I need a way to disable IPv6-routes to Cogent's network. I've found on this site "the Linux-way"™:
#!/bin/sh
for prefix in 2001:0550::/32 2001:067c:12e8::/48 2001:0978::/32 2607:9700::/32 2607:f298:000a::/48 2607:f5d8::/32 2610:00f8:2f00::/48 2610:00f8:2fed::/48 2620:009a:8000::/48 2620:00fb::/48 2620:00fb::/56
do
ip -6 route add unreachable $prefix 2>/dev/null
done
exit 0
But how do I do this on Windows 10 Prof?