User Tools

Site Tools


netsh

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
netsh [2022/09/20 16:02]
val [Настройка IP]
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 ===== ===== Настройка IP =====
Line 9: Line 9:
  
 admincmd>​ netsh interface ipv4 set address name="​VirtualBox Host-Only Network"​ static 192.168.X.29 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 admincmd>​ netsh interface ipv4 set dns name="​VirtualBox Host-Only Network"​ static 192.168.X.10
 </​code>​ </​code>​
Line 17: Line 19:
 <​code>​ <​code>​
 admincmd>​ netsh interface ip delete arpcache 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.1663678953.txt.gz · Last modified: 2022/09/20 16:02 by val