netsh
1.查看网口的Idx值
netsh i i show
2.绑定IP/MAC
netsh -c “i i” add ne Idx值 IP地址 mac
netsh -c “i i” add ne 为netsh -c “interface ipv4” add neighbors的缩写。
3.查看是否绑定成功
arp -a
4.删除绑定的IP/MAC
netsh -c “i i” delete neighbors 16
netsh
1.查看网口的Idx值
netsh i i show
2.绑定IP/MAC
netsh -c “i i” add ne Idx值 IP地址 mac
netsh -c “i i” add ne 为netsh -c “interface ipv4” add neighbors的缩写。
3.查看是否绑定成功
arp -a
4.删除绑定的IP/MAC
netsh -c “i i” delete neighbors 16
相关文章: