This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
netsh [2022/03/10 08:42] val [Настройка IP] |
netsh [2024/12/05 10:49] (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 8: | Line 8: | ||
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.21 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> | </code> | ||