IPv6 相關設定指令

IPv6相關設定指令,For Windows:

關閉 AutoConfig,其中「乙太網路」須改成使用中的真正網路介面卡名稱:
C:\> netsh interface ipv6 set interface “乙太網路” routerdiscovery=disabled store=persistent

開啟 EUI-64:
C:\> netsh interface ipv6 set global randomizeidentifiers=disabled store=persistent

關閉臨時 IPv6 位址:
C:\> netsh interface ipv6 set privacy state=disabled store=persistent

查詢網路芳鄰 MAC 位址:
C:\> netsh interface ipv6 show neighbors

關閉其他 IPv6 相關功能:
C:\> netsh interface ipv6 set teredo disabled
C:\> netsh interface ipv6 isatap set state disabled
C:\> netsh interface ipv6 6to4 set state disabled