爱问知识人 爱问教育 医院库

有没dos命令来更改ip地址的

首页

有没dos命令来更改ip地址的

??
命令是什么?
另外改变网关的地址,命令又是什么?

提交回答
好评回答
  • 2005-07-27 08:33:19
    很简单,做以下的步骤
    C:\>netsh 
    netsh>interface 
    interface>ip 
    interface ip>set address "本地连接" static      
    interface ip>exit
    上文中的set命令具体解释如下:
    set address - 设置指定的接口的 IP 地址和默认网关。
    set dns - 设置 DNS 服务器模式和地址。
    set wins - 设置 WINS 服务器模式和地址。

    恋***

    2005-07-27 08:33:19

其他答案

    2005-07-22 08:12:23
  • 有什么意义吗?修改可到网上邻居页面下的属性的TCP.IP协议选项中修改IP地址,dos中修改比较麻烦的

    j***

    2005-07-22 08:12:23

  • 2005-07-22 02:32:48
  • 你必需去找专业人士来,才可能解决这个问题OK!

    泛***

    2005-07-22 02:32:48

  • 2005-07-22 01:43:28
  • 1路过
    2拿分
    3闪人

    h***

    2005-07-22 01:43:28

  • 2005-07-22 00:39:38
  •   首先请问你是什么系统?拿我的2000系统来说吧/。
    Windows2000是现在比较流行的操作系统,它的功能是很强大的,它甚至可以象Unix一样在命令行下做很多的工作。下面是本人在实践中偶然发现的一种在命令行下更改ip地址的方法,
    C:\>ipconfig (首先用ipconfig这个命令看一下更改之前的ip地址)
    Windows 2000 IP Configuration
    Ethernet adapter 本地连接:
    Connection-specific DNS Suffix 。
       : IP Address。 。 。 。 。 。 。 。 。 。 。 。 : (本地连接更改之前的ip) Subnet Mask 。 。 。 。 。 。 。 。 。 。 。 : Default Gateway 。 。 。 。 。
       。 。 。 。 : C:\>netsh (进入设置模式) netsh>interface interface>ip interface ip>set address "本地连接" static interface ip>exit 上文中的set命令具体解释如下: set address - 设置指定的接口的 IP 地址和默认网关。
       set dns - 设置 DNS 服务器模式和地址。 set wins - 设置 WINS 服务器模式和地址。 C:\>ipconfig (更改后再用ipconfig命令看一下,确认一下是否更改成功) Windows 2000 IP Configuration Ethernet adapter 本地连接: Connection-specific DNS Suffix 。
       : IP Address。 。 。 。 。 。 。 。 。 。 。 。 : Subnet Mask 。 。 。 。 。 。 。 。 。 。 。 : Default Gateway 。 。 。 。 。 。 。 。 。 : 。
      

    宝***

    2005-07-22 00:39:38

  • 2005-07-21 22:30:25
  • 改用unix吧。

    t***

    2005-07-21 22:30:25

  • 2005-07-21 22:01:15
  • 以上答案基本正确了

    w***

    2005-07-21 22:01:15

  • 2005-07-21 20:01:29
  • 不太清楚~DOS很烦的

    a***

    2005-07-21 20:01:29

  • 2005-07-21 20:01:26
  • 改ip地址做什么呢????

    西***

    2005-07-21 20:01:26

  • 2005-07-21 18:54:07
  •   CMD状况下:
    Microsoft Windows XP [版本 5。1。2600]
    (C) 版权所有 1985-2001 Microsoft Corp。
    C:\Documents and Settings\Owner>ipconfig(先查看一下IP地址)
    Windows IP Configuration
    Ethernet adapter 本地连接:
            Connection-specific DNS Suffix  。
       : IP Address。 。 。 。 。 。 。 。 。 。 。 。 : Subnet Mask 。 。 。 。 。 。 。 。 。 。 。 : IP Address。 。 。
       。 。 。 。 。 。 。 。 。 : fe80::210:dcff:fe6b:c8ae%4 Default Gateway 。 。 。 。 。 。 。 。 。 : Tunnel adapter Teredo Tunneling Pseudo-Interface: Connection-specific DNS Suffix 。
       : IP Address。 。 。 。 。 。 。 。 。 。 。 。 : fe80::5445:5245:444f%5 Default Gateway 。 。 。 。 。 。 。 。 。 : Tunnel adapter Automatic Tunneling Pseudo-Interface: Connection-specific DNS Suffix 。
       : IP Address。 。 。 。 。 。 。 。 。 。 。 。 : fe80::5efe: %2 Default Gateway 。 。 。 。 。 。 。 。 。 : C:\Documents and Settings\Owner> C:\Documents and Settings\Owner>netsh netsh>interface(Netsh子命令) netsh interface>ip(netsh interface的子命令) netsh interface ip>set(netsh interface ip的子命令) 下列指令有效: 命令从 netsh 上下文继承: set file - 复制控制台输出到文件。
       set machine - 设置用来操作的当前计算机。 set mode - 设置当前模式为联机或脱机。 此上下文中的命令: set address - 设置指定的接口的 IP 地址或默认网关。 set dns - 设置 DNS 服务器模式和地址。
       set wins - 设置 WINS 服务器模式和地址。
       netsh interface ip>show address(查看IP) 接口 "本地连接" 的配置 DHCP 启用 否 IP 地址 子网掩码 默认网关: GatewayMetric: 0 InterfaceMetric 0 netsh interface ip>。

    落***

    2005-07-21 18:54:07

  • 2005-07-21 18:38:54
  • C:\>ipconfig (首先用ipconfig这个命令看一下更改之前的ip地址)
    Windows 2000 IP Configuration
    Ethernet adapter 本地连接:
    Connection-specific DNS Suffix . :
    IP Address. . . . . . . . . . . . :   (本地连接更改之前的ip)
    Subnet Mask . . . . . . . . . . . :  
    Default Gateway . . . . . . . . . :  
    C:\>netsh (进入设置模式)
    netsh>interface 
    interface>ip 
    interface ip>set address "本地连接" static       
    interface ip>exit
    

    2005-07-21 18:38:54

  • 2005-07-21 18:09:02
  • CMD 
      netsh 
      netsh>int 
      interface>ip 
      interface ip>set add "本地链接" static IP地址 mask gateway 

    强***

    2005-07-21 18:09:02

  • 2005-07-20 16:01:14
  • 开始--运行--cmd---ipconfig---ipconfig release/----ipconfig renew/

    亚***

    2005-07-20 16:01:14

  • 2005-07-19 22:11:05
  • 在DOS行下设置静态IP 
    A.设置静态IP 
    CMD 
    netsh 
    netsh>int 
    interface>ip 
    interface ip>set add "本地链接" static IP地址 mask gateway 
    B.查看IP设置 
    interface ip>show address
    

    B***

    2005-07-19 22:11:05

  • 2005-07-19 18:47:47
  • IP本来就可以像上面的朋友说的那样“网上邻居\属性\TCP.IP协议\IP地址”
    就可以改了!
    你又何必非要搞什么没有必要的步骤呢?是不是想让人知道你的电脑玩的很化?dos用的很到家?我说朋友生活有必要如此的累吗?

    海***

    2005-07-19 18:47:47

  • 2005-07-19 15:45:24
  • 上邻居\属性\TCP.IP协议\IP地址

    萨***

    2005-07-19 15:45:24

  • 2005-07-19 14:55:16
  • 网上邻居\属性\TCP.IP协议\IP地址

    聆***

    2005-07-19 14:55:16

类似问题

换一换

相关推荐

正在加载...
最新资料 推荐信息 热门专题 热点推荐
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200

热点检索

  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
返回
顶部
帮助 意见
反馈

确定举报此问题

举报原因(必选):