- 论坛徽章:
- 0
|
Windows2000是现在比较流行的操作系统,它的功能是很强大的,它甚至可以象Unix一样在命令行下做很多的工作。下面一种在命令行下更改ip地址的方法,现介绍给大家(括号里是一些注释):\r\n \r\nC:\\>ipconfig (首先用ipconfig这个命令看一下更改之前的ip地址)\r\n \r\nWindows 2000 IP Configuration\r\n \r\nEthernet adapter 本地连接:\r\n \r\nConnection-specific DNS Suffix . :\r\n \r\nIP Address. . . . . . . . . . . . : 10.1.1.94 (本地连接更改之前的ip)\r\n \r\nSubnet Mask . . . . . . . . . . . : 255.255.255.0\r\n \r\nDefault Gateway . . . . . . . . . : 10.1.1.254\r\n \r\nC:\\>netsh (进入设置模式)\r\n \r\nnetsh>interface \r\n \r\ninterface>ip \r\n \r\ninterface ip>set address \"本地连接\" static 10.1.1.111 255.255.255.0 10.1.1.254 \r\n \r\ninterface ip>exit\r\n \r\n\r\n上文中的set命令具体解释如下:\r\n \r\nset address - 设置指定的接口的 IP 地址和默认网关。\r\n \r\nset dns - 设置 DNS 服务器模式和地址。\r\n \r\nset wins - 设置 WINS 服务器模式和地址 \r\n网络常用命令:\r\n \r\nIPCONFIG\r\nC:\\>ipconfig (更改后再用ipconfig命令看一下,确认一下是否更改成功)\r\n \r\nWindows 2000 IP Configuration\r\n \r\nEthernet adapter 本地连接:\r\n \r\nConnection-specific DNS Suffix . \r\n \r\nIP Address. . . . . . . . . . . . : 10.1.1.111 \r\n \r\nSubnet Mask . . . . . . . . . . . : 255.255.255.0\r\n \r\nDefault Gateway . . . . . . . . . : 10.1.1.254 |
|