一、运行 netsh i i show in 或输入netsh interface ipv4 show interface
出现结果:
Idx Met MTU 状态 名称
1 50 4294967295 connected Loopback Pseudo-Interface 1
10 10 1500 connected 本地连接
16 10 1400 disconnected 本地连接* 9
二、在以上显示内容中找到你用来上网连接deIdx那个号码,在下面命令中使用 (我上网de网卡shi“本地链接”所以Idx为 10)。然后在命令提示符窗口输入:
netsh -c “i i” add neighbors 10 “192.168.16.1” “00-22-aa-cc-a0-af” 回车
说明下,'00-22-aa-cc-a0-af’为网关mac
三、如过想解除绑定,只需要在CMD命令行程序里输入netsh i i reset 回车就可以,不过需要重启才能生效。