现在的位置: 首页 > 综合 > 正文

自己收藏用:win7这个命令来设置arp地址

2012年07月31日 ⁄ 综合 ⁄ 共 281字 ⁄ 字号 评论关闭

运行cmd 回车
1)输入:netsh interface ipv4 show interface 回车
查看你电脑所有网卡的idx
2)输入:netsh interface ipv4 set neighbors idx  "192.168.1.1" "0a-0a-0a-0a-0a-0a"
idx(需要设置的那个数值 一般是11 或12)
引号内参数分别是网址 和 Mac地址

:redo
rem netsh interface ipv4 show interfaces
netsh interface ipv4 set neighbors 361  "192.168.1.1" "xx-xx-xx-xx-xx-xx"
goto redo

抱歉!评论已关闭.