Posted on 2007-09-11 17:25
wonderer 阅读(2057)
评论(1) 编辑 收藏 所属分类:
Others
电脑搬回了宿舍,破解了校园网,多人公用一条宽带。要一个主机拨号。ip总不免要设来设去,总是要手工改,很麻烦,于是上网查了查,写了个改ip的bat文件。内容如下:
1: netsh interface ip set address name="本地连接" source=static addr=192.168.0.39
mask=255.255.255.0 gateway=192.168.0.1 gwmetric=1
2: netsh interface ip set dns name = "本地连接" source = static addr = 202.116.128.1
3: netsh interface ip add dns name = "本地连接" addr = 202.116.128.2