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

利用netsh进行IP地址设置

2013年01月15日 ⁄ 综合 ⁄ 共 215字 ⁄ 字号 评论关闭

家里
netsh interface ip set address name="本地连接" source=static addr=192.168.1.2 mask=255.255.255.0 gateway=192.168.1.1 gwmetric=auto
办公室
netsh interface ip set address name="本地连接 2" source=dhcp
netsh interface ip set dns name="本地连接 2" source=dhcp

抱歉!评论已关闭.