Chinaunix首页 | 论坛 | 博客
  • 博客访问: 233423
  • 博文数量: 13
  • 博客积分: 2010
  • 博客等级: 大尉
  • 技术积分: 431
  • 用 户 组: 普通用户
  • 注册时间: 2006-07-24 00:27
文章分类

全部博文(13)

文章存档

2010年(1)

2009年(9)

2008年(3)

我的朋友

分类: WINDOWS

2008-12-04 20:41:25

文件: ip.rar
大小: 0KB
下载: 下载
 

@echo 设置静态ip
@echo off
netsh interface ip set address name="本地连接" source=static addr=192.168.1.64 mask=255.255.255.0

gateway=192.168.1.1 gwmetric=1
netsh interface ip set dns name="本地连接" source=static addr=61.232.202.158
netsh interface ip add dns name="本地连接" addr=222.41.52.3
ipconfig /all
pause
close

 
 

@echo 设置静态ip
@echo off
netsh interface ip set address name="本地连接" source=static addr=192.168.1.64 mask=255.255.255.0

gateway=192.168.1.1 gwmetric=1
netsh interface ip set dns name="本地连接" source=static addr=61.232.202.158
netsh interface ip add dns name="本地连接" addr=222.41.52.3
ipconfig /all
pause
close

阅读(2011) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~