This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
netsh [2022/09/20 16:02] 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 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> |