在 windows os 裡

若你的電腦有多個 interface

要指定 ping -6 出去的 interface

首先要知道指定 interface 的 Idx

 

這裡我用 LAN1 這個 interface ( 介面 ) 出去

在「命令提示字元」裡執行 netsh interface ipv6 show interface

可以看到 LAN1 這個 interface 的 Idx = 3

 

ipv6 show interface idx.bmp

 

在 IPv6 address 後面加上 %3 即可用 LAN1 這個 interface 出去 

 

ping ff02_2 by interface idx.bmp

 

Tips : ff02::2 是 all routers address

 

待續

看完文章請按 讚 or 推 , 感謝啦 ~ 

相關文章