惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 司徒正美
T
The Blog of Author Tim Ferriss
F
Fortinet All Blogs
Martin Fowler
Martin Fowler
罗磊的独立博客
The GitHub Blog
The GitHub Blog
L
LangChain Blog
A
About on SuperTechFans
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
D
DataBreaches.Net
宝玉的分享
宝玉的分享
U
Unit 42
阮一峰的网络日志
阮一峰的网络日志
Last Week in AI
Last Week in AI
N
Netflix TechBlog - Medium
The Cloudflare Blog
Microsoft Azure Blog
Microsoft Azure Blog
H
Help Net Security
美团技术团队
大猫的无限游戏
大猫的无限游戏
雷峰网
雷峰网
爱范儿
爱范儿
酷 壳 – CoolShell
酷 壳 – CoolShell
MongoDB | Blog
MongoDB | Blog

博客园 - 骚包猪

未在本地计算机上注册“microsoft.ACE.oledb.12.0”提供程序的解决办法 一份详尽的IPC$入侵资料 vlookup通俗解释 show interface counter 红旗linux下查看文件夹大小 Cisco 删除IOS后恢复、重灌ios x61在vista系统中玩wow魔兽世界 显示器驱动程序已停止响应 黑屏 终极解决方案 如何利用foobar2000将ape转aac格式.... ASP.NET执行SQL超时的解决方案 DropdownList绑定 - 骚包猪 - 博客园 .Net下调用SqlServer2k存储过程 关于datagrid鼠标悬停行数突出显示 - 骚包猪 - 博客园 c# ToString() 格式化字符串 - 骚包猪 ASCII 码表 一个检测文件 的small function c#时间格式化字符串详解 关于编码 建立一个基本SQl2000表 如何将txt文档插入sql2000数据库
windows 更改IP地址 批处理文件 cmd命令 - 骚包猪
骚包猪 · 2008-06-06 · via 博客园 - 骚包猪

简单的一句命令,建立一个文本文档,编辑:
netsh interface ip set address name="本地连接" source=static addr=137.50.95.92 mask=255.255.255.0 none
改后缀名为.bat
保存退出
执行就可以了

有几个不同的:
DHCP模式:

netsh  interface ip set address name="本地连接" source=DHCP
网关模式:
netsh  interface ip set address name="本地连接" source=static addr=137.50.95.92 mask=255.255.255.0 gateway=137.50.95.72 1

命令用法:
set address [name=]<string>  [[source=]dhcp | [source=] static [addr=]IP address [mask=]IP subnet mask] [[gateway=]<IP address>|none [gwmetric=]integer]