настройка nat vmware workstation

19 августа 2020 1718 admin

настройка nat vmware workstation


Надоело вспоминать настройки вари.
Особенно, если операционная система не имеет в базе dhcp-клиента.
Не верите? Да, есть такие идиоты-разрабы..

Надо записать ;)

Итак, дан VMWare Workstation 12

Надо настроить сеть внутри виртуальной машины. Сеть будет в виде NAT, который есть VMnet8 в Virtual Network Editor.

Итак, настройки следующие:

Подсеть: 192.168.136.0
шлюз: 192.168.136.2
dhcp-пул по умолчанию: 192.168.136.128 - 192.168.136.254

Настройка NAT-сети в VMWare Workstation 12, на примере NetBSD в качестве гостя (сетевуха будет wm0):

Назначим IP:
# ifconfig wm0 inet 192.168.136.100 netmask 255.255.255.0
Либо, можно через маску:
ifconfig wm0 inet 192.168.136.100/24

Назначаем шлюз:
# route add default 192.168.136.2

Назначаем DNS:
# echo "nameserver 8.8.8.8" >> /etc/resolv.conf

  • 0

Другие новости по теме:

Другие новости по теме:

    Добавление комментария

    Имя:
    Пароль:
    Email:
    Код:
    captcha
    Введите код:

    Последнии комментарии
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Corrine (20.12.2025)
    This article is in fact a pleasant one it helps ne...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Frederick (19.12.2025)
    Hey there! I've been following your blog for a whi...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Felica (19.12.2025)
    We stumbled over here from a different web address...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Lashawnda (19.12.2025)
    It is not my first time to pay a quick visit this ...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Nilda (17.12.2025)
    Nice blog here! Also your website loads up very fa...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Kali (17.12.2025)
    I think the admin of this website is truly working...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Shantae (17.12.2025)
    Great article, exactly what I wanted to find.

    my we...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Bret (17.12.2025)
    Hello! This post could not be written any better!
    R...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Martina (17.12.2025)
    It's awesome to go to see this site and reading th...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Wilford (16.12.2025)
    This is a really good tip especially to those new ...
     Популярные
       
    Календарь
    « Декабрь »
    Пн Вт Ср Чт Пт Сб Вс
    1 2 3 4 5 6 7
    8 9 10 11 12 13 14
    15 16 17 18 19 20 21
    22 23 24 25 26 27 28
    29 30 31
    Облако тегов
    Яндекс.Метрика