wzyxidian

静态与动态IP设置

静态IP设置

netsh interface ipv4 set address name="本地连接" source=static addr=192.168.0.212 (这个地方是你要设置的静态IP地址)mask=255.255.255.0 gateway=192.168.0.1(这个地方是你要设置的网关)

netsh interface ipv4 set dns name="本地连接" source=static addr=8.8.8.8
netsh interface ipv4 add dns name="本地连接" addr=8.8.4.4

pause

 

动态IP设置

​netsh interface ipv4 set address name="本地连接" source=dhcp
netsh interface ipv4 set dns name="本地连接" source=dhcp
pause

分类:

技术点:

相关文章:

  • 2021-12-15
  • 2021-04-18
  • 2021-04-03
  • 2022-01-08
  • 2021-12-09
  • 2021-06-07
  • 2021-11-03
猜你喜欢
  • 2021-12-14
  • 2021-12-08
  • 2021-12-04
  • 2022-01-08
  • 2021-12-14
  • 2021-07-07
相关资源
相似解决方案