This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
netsh [2020/11/03 15:52] val создано |
netsh [2022/09/20 16:03] (current) val [netsh] |
||
---|---|---|---|
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.5 255.255.255.0 | + | 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 dns name="VirtualBox Host-Only Network" static 192.168.X.10 | ||
+ | </code> | ||
+ | |||
+ | ===== Очистка ARP кэша ===== | ||
+ | |||
+ | <code> | ||
+ | admincmd> netsh interface ip delete arpcache | ||
</code> | </code> |