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