admin 发表于 2020-11-22 15:01:08

IPV6协议windows安装使用及设置。ping IPV6传输失败 General failur...


<p>&nbsp; &nbsp; &nbsp; &nbsp; 在为电脑安装IPV6协议后,可以通过本机PING及SSH连接VPS,但IPV6协议的使用有很多坑,设置稍有不对就会有问题。我的两个电脑在安装IPV6协议,或通过手机热点连接网络使用IPV6的时候,都出现了SSH无法连接,PING IPV6地址时提示传输失败&nbsp; 及数据超时的错误。</p><p>&nbsp; &nbsp; &nbsp; <b>一、错误提示</b></p><p>&nbsp; &nbsp; &nbsp; SSH连接错误提示:</p><p>Host '2a02:0180:0006:0001:0000:0000:0000:0127' resolved to 2a02:180:6:1::127.</p><p>Connecting to 2a02:180:6:1::127:22...</p><p>Could not connect to '2a02:0180:0006:0001:0000:0000:0000:0127' (port 22): Connection failed.</p><p>Type `help' to learn how to use Xshell prompt.</p><p>&nbsp; &nbsp; &nbsp; ping 错误提示:</p><p>&nbsp; &nbsp;&nbsp;<span style="color: rgb(26, 26, 26); font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans SC&quot;, &quot;Noto Sans CJK SC&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif; font-size: 15px;">PING: 传输失败。General failure.</span></p><p><br></p><p>&nbsp; <b>&nbsp; 二、解决方法</b></p><p>&nbsp; &nbsp;在网上搜了好长时间,一是内容少,二是都解决不了问题。但得出结论是IPV6的设置及配置问题,而IPV6的设置和配置是很复杂的。</p><p>&nbsp; &nbsp;如果在使用IPV6中遇到问题请按以步骤操作,可以解决你的问题。</p><p>&nbsp; &nbsp;<b>(一)&nbsp;&nbsp;在 Windows 中为高级用户配置 IPv6 的指南</b><br></p><p>&nbsp; &nbsp;&nbsp;<a href="https://support.microsoft.com/zh-cn/help/929852/guidance-for-configuring-ipv6-in-windows-for-advanced-users">https://support.microsoft.com/zh-cn/help/929852/guidance-for-configuring-ipv6-in-windows-for-advanced-users</a></p><p>&nbsp; &nbsp;打开上面的微软网址,在下图部分&nbsp;<img _moz_resizing="false" src="https://www.1rmb.net/upload/tid/43/32e9fe289cd12db68f52ac2b6cc61b31.png"></p><p>&nbsp; &nbsp; &nbsp;分别点击下载运行第一行的1、2、3,和第二行的2、3、4.这都是微软官方的设置文件,确保安全。</p><p>&nbsp; &nbsp; &nbsp;运行完后,测试你的IPV6是否可以正常使用了,如PING&nbsp; &nbsp;SSH连接等。</p><p>&nbsp; &nbsp; &nbsp;如果还不正常,请继续下面第二步</p><p><span style="color: rgb(51, 51, 51); font-family: &quot;noto sans cjk sc&quot;, &quot;pingfang sc&quot;, &quot;microsoft yahei&quot;, &quot;hiragino sans gb&quot;, sans-serif;">&nbsp; &nbsp; &nbsp;尊重知识产权,转载请注明并复制本段,一元复始网络技术论坛原创</span><a href="https://www.1rmb.net/" target="_blank" title="一元复始技术论坛" style="font-family: &quot;noto sans cjk sc&quot;, &quot;pingfang sc&quot;, &quot;microsoft yahei&quot;, &quot;hiragino sans gb&quot;, sans-serif;">http://www.1rmb.net</a><span style="color: rgb(51, 51, 51); font-family: &quot;noto sans cjk sc&quot;, &quot;pingfang sc&quot;, &quot;microsoft yahei&quot;, &quot;hiragino sans gb&quot;, sans-serif;">.</span><br></p><p>&nbsp; &nbsp; <b>(二)运行IPV6一键设置脚本。</b>项目地址:<a href="https://github.com/XX-net/XX-Net/issues/10282">https://github.com/XX-net/XX-Net/issues/10282</a></p><p>&nbsp; &nbsp; &nbsp;脚本ipv6.bat,非常好用,设置后本机IPV6完全正常使用了。</p><p>&nbsp; &nbsp; &nbsp;ping&nbsp; &nbsp;和&nbsp; ssh都正常连接</p><p>&nbsp; &nbsp;<img _moz_resizing="false" src="https://www.1rmb.net/upload/tid/43/0bbb799672eb96100c25a6ff2af7e1f5.png"></p><p>&nbsp; &nbsp; &nbsp;<i><span style="color: rgb(51, 51, 51); font-family: &quot;noto sans cjk sc&quot;, &quot;pingfang sc&quot;, &quot;microsoft yahei&quot;, &quot;hiragino sans gb&quot;, sans-serif;">尊重知识产权,转载请注明并复制本段,一元复始技术论坛原创</span><a href="https://www.1rmb.net/" target="_blank" title="一元复始技术论坛" style="font-family: &quot;noto sans cjk sc&quot;, &quot;pingfang sc&quot;, &quot;microsoft yahei&quot;, &quot;hiragino sans gb&quot;, sans-serif;">http://www.1rmb.net</a><span style="color: rgb(51, 51, 51); font-family: &quot;noto sans cjk sc&quot;, &quot;pingfang sc&quot;, &quot;microsoft yahei&quot;, &quot;hiragino sans gb&quot;, sans-serif;">.</span></i></p><p>&nbsp; &nbsp; &nbsp;建议使用顺序:2禁用&nbsp; --》&nbsp; 1启用&nbsp; --》6自动设置&nbsp; &nbsp; 测试PING&nbsp; &nbsp;SSH是否已正常。</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;如果不正常&nbsp; &nbsp;再执行一次&nbsp; &nbsp;2禁用&nbsp; --》&nbsp; 1启用&nbsp; &nbsp; 再测试PING&nbsp; &nbsp;SSH是否已正常。</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;如果还不正常,重启电脑再重新执行一遍,肯定就正常了。</p><p>&nbsp; &nbsp; &nbsp; &nbsp;脚本下载在下方附件。</p><p>&nbsp; &nbsp; &nbsp; <b>&nbsp;三、如果脚本不能正常运行,请先安装XX-NET软件,并将脚本放在XX-NET的根目录下运行,因为这个脚本的运行需要python环境。</b></p><p>&nbsp; &nbsp; &nbsp;&nbsp;</p><p><br></p><p><br></p>
页: [1]
查看完整版本: IPV6协议windows安装使用及设置。ping IPV6传输失败 General failur...