查询网卡的序列号
netsh i i show in
绑定网关MAC地址
netsh interface ipv4 set neighbors 11 "192.168.1.1" "00-3c-50-00-58-47" store=persistent
取消绑定网关MAC地址
netsh interface ipv4 set neighbors 12 "192.168.1.1" "00-3c-50-00-58-47" store=persistent
store=persistent 貌似为持久性的意思
批处理:
@echo off
netsh interface ipv4 set neighbors 11 "192.168.1.1" "00-3c-50-00-58-47" store=persistent
文章评论