📜  netsh 添加新接口 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:02.652000             🧑  作者: Mango

代码示例1
netsh interface ip set address name="Local Area Connection" static 192.168.1.15 255.255.255.0 192.168.1.1

Local Area Connection - the name of your network interface.
192.168.1.15 - network address (ip address).
255.255.255.0 - network mask.
192.168.1.1 - default gateway.

also see this site for more useful commands