User Tools

Site Tools


netsh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
netsh [2020/11/03 15:52]
val создано
netsh [2025/08/08 06:21] (current)
val
Line 1: Line 1:
 ====== netsh ====== ====== netsh ======
  
-  * [[https://​www.howtogeek.com/​103190/​change-your-ip-address-from-the-command-prompt/​|How to Change Your Computer’s IP Address From the Command Prompt+  * [[https://​www.howtogeek.com/​103190/​change-your-ip-address-from-the-command-prompt/​|How to Change Your Computer’s IP Address From the Command Prompt]] 
 + 
 +===== Настройка IP =====
  
 <​code>​ <​code>​
 cmd> netsh interface ipv4 show config cmd> netsh interface ipv4 show config
  
-admincmd>​ netsh interface ipv4 set address name="​VirtualBox Host-Only Network"​ static 192.168.X.255.255.255.0+admincmd>​ netsh interface ipv4 set address name="​VirtualBox Host-Only Network"​ static 192.168.X.29 255.255.255.0 
 +</​code>​ 
 +===== Настройка DNS клиента ===== 
 +<​code>​ 
 +admincmd>​ netsh interface ipv4 set dns name="​VirtualBox Host-Only Network"​ static 192.168.X.10 
 +</​code>​ 
 + 
 +===== Очистка ARP кэша ===== 
 + 
 +<​code>​ 
 +admincmd>​ netsh interface ip delete arpcache 
 +</​code>​ 
 + 
 +===== ipv6 ===== 
 + 
 +<​code>​ 
 +ping -6 fe80::​7a20:​4ff:​fe33:​dc6d 
 + 
 +netsh interface ipv6 show neighbors | find "​dc6d"​
 </​code>​ </​code>​
netsh.1604407957.txt.gz · Last modified: 2020/11/03 15:52 by val