差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
java:supportipv6:tune_test_env [2020/01/24 15:28] tony |
java:supportipv6:tune_test_env [2023/06/25 09:48] (目前版本) |
||
---|---|---|---|
行 3: | 行 3: | ||
===== Introduction ===== | ===== Introduction ===== | ||
本篇文章記錄修改與測試IPv6功能時,常使用到的指令與設定。 | 本篇文章記錄修改與測試IPv6功能時,常使用到的指令與設定。 | ||
+ | ===== Wireshark ===== | ||
+ | <code bash> | ||
+ | Router Solicitation -> icmpv6.type==133 | ||
+ | Router Advertisement -> icmpv6.type==134 | ||
+ | </code> | ||
+ | 首先設定filter: | ||
+ | <code bash> | ||
+ | icmpv6.type==133 or icmpv6.type==134 | ||
+ | </code> | ||
+ | 接著下ipconfig /renew6去刷IPv6 ip,就可以看到以下結果:\\ | ||
+ | {{:java:supportipv6:wireshark_with_ra_and_rs.png|}} | ||
+ | |||
===== Windows ===== | ===== Windows ===== | ||
移除IPv4功能: | 移除IPv4功能: | ||
行 8: | 行 20: | ||
netsh interface ipv4 uninstall | netsh interface ipv4 uninstall | ||
</code> | </code> | ||
+ | 安裝IPv4功能: | ||
+ | <code bash> | ||
+ | netsh interface ipv4 install | ||
+ | </code> | ||
+ | 執行完都要重新啟動電腦。 | ||
===== Linux ===== | ===== Linux ===== | ||
* [[linux:network:test_ipv6|Test IPv6 functions on Linux]] | * [[linux:network:test_ipv6|Test IPv6 functions on Linux]] | ||
+ | ===== Reference ===== | ||
+ | * [[https://sharkfestus.wireshark.org/assets/presentations15/08.pdf|IPv6 in wireshark]] | ||
+ | |||
+ | ===== ===== | ||
+ | ---- | ||
+ | \\ | ||
+ | ~~DISQUS~~ |