如何通过命令提示符将LAN ip地址设置为自动?

时间:2016-09-15 18:48:50

标签: cmd ip

我正在尝试制作一个小程序,以便快速建立本地“网络”。为此,我在cmd.exe中将LAN ip地址从自动设置为静态:

C:> netsh interface ip set address name=”Ethernet” static 10.0.0.1 255.0.0.0

我的问题是:如何扭转这一局面?

我已经尝试过这样的事情:

C:> netsh interface ip set address name="Ethernet" automatic/auto and stuff like that.

有什么想法吗?

0 个答案:

没有答案
相关问题