Как найти ip адрес виртуальной машины

I am running VMware Workstation on a Linux box.

When I power on a centOS (Linux) virtual machine I cannot get mouse or keyboard control of the machine. I suspect that it has something to do with the error message:

You do not have VMware Tools installed in this guest. Chose «Install VMware Tools» from the VM menu.

If I click on that menu option, it inserts a virtual cd with drivers etc. This does not help me since I don’t have keyboard or mouse control over the machine.

I was thinking that if I could figure out the IP address or hostname I could use any number of protocols to get into the machine (SSH comes to mind).

How can I get the IP address or hostname of this machine?

Note: I did not create this machine. A coworker created it who is no longer with the company. Would save me a lot of time if I could get into the machine. I have login credentials so that won’t be a problem.

Dave M's user avatar

Dave M

13.1k24 gold badges36 silver badges47 bronze badges

asked Jun 7, 2012 at 19:06

sixtyfootersdude's user avatar

sixtyfootersdudesixtyfootersdude

7,97916 gold badges52 silver badges71 bronze badges

2

First Go in the Virtual Machine Settings.

Found the MAC address

Then in the Network Section, click the Advanced button and read the MAC address

Then in the console execute: arp -a

C:>arp -a
Interface: 10.98.79.23 --- 0xb
  Internet Address      Physical Address      Type
  10.98.79.10           b8-ac-6f-cb-a1-80     dynamic
  10.98.79.12           78-2b-cb-aa-51-bf     dynamic

Interface: 192.168.20.1 --- 0x1c
  Internet Address      Physical Address      Type
  192.168.20.128        00-0c-29-56-bd-36     dynamic
  192.168.20.255        ff-ff-ff-ff-ff-ff     static

Find the MAC address in the displayed list (That you found in advance setting of network adapter above) and the IP will be on the side of this particular MAC Address.

In this case the IP is: 192.168.20.128

MoonLight's user avatar

answered Jan 9, 2013 at 19:34

F Boucheros's user avatar

5

Please check, if not those input devices are connected to the guest OS as USB devices? Once disconnecting them, they should become accessible to the host OS — and therefore operational.

on Linux the command is:

ip addr

or the rather obsolete:

ifconfig

the equivalent command on Windows is:

ipconfig /all

while the output looks about like that:

eno16777984: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 192.168.2.101 netmask 255.255.255.0  broadcast 192.168.2.255
    ...

answered Jun 16, 2015 at 4:48

Martin Zeitler's user avatar

6

On Windows 7,

  1. Copied the MAC address to the clipboard
  2. Open C:ProgramDataVMwarevmnetdhcp.leases in Notepad
  3. Search for the MAC address string.

answered Sep 10, 2019 at 21:18

Michael Scott's user avatar

There is a built-in VNC service in Workstation. I’ve not used it, but the config (below) would seem to suggest that you could enable it, and use your host’s IP with a particular port with any of a number of VNC clients to gain control of your virtual machine.

VMWare Workstation VNC Config Setup

answered Jun 8, 2012 at 0:48

JoshP's user avatar

JoshPJoshP

2,2723 gold badges22 silver badges28 bronze badges

I have the same problem, I type command on linux

ip addr

but it shows something like 127.0.0.1 which not what I was looking for.

I notice that when I install Linux (CentOS) in VMware I did not set network configuration.

So,I solve this problem by installing a new Linux VM again. During the installation there is a section to configure network like in the picture.

picture

When the installation is done I type «ip adddr» and I can see the IP.

answered Nov 20, 2019 at 16:58

poomcyber's user avatar

Don’t know about Linux, but in Windows you could …

  1. Add another network interface to the VM, which will be using VMware DHCP to assign a known IP to your VM. You should set up VMware DHCP to a very short address range and it will be easy to pick the IP (also would be problematic to check, because default Windows firewall settings don’t allow incoming echo requests… But you’re not Windows)

  2. Try to pick the subnet where your VM is, put another PC to the subnet (another VM or your physical PC) – and use Computer Browser service («Network» or «My Network places») to find the VM.

You should also look for network scanning software.

By the way, what’s the VM network mode? Host-only private network (with or without NAT) or bridged?

slhck's user avatar

slhck

221k70 gold badges599 silver badges590 bronze badges

answered Jun 7, 2012 at 21:56

Ubeogesh's user avatar

UbeogeshUbeogesh

6306 silver badges13 bronze badges

Maybe it is too late for answer, but I had same problem. Simply install VMware vSphere Client and after logon you can right click on VM and open in console where mouse and keyboard works. CTRL + ALT to exit your mouse from console.

answered Jul 7, 2017 at 7:08

CiviDeja's user avatar

To find any unknown host on your network (whether it’s a VM or not) you can use Angry IP scanner. Another option for Linux is arp-scan (it’s not usually installed by default, but has very few dependencies). The command arp-scan -l will give you a table of IP addresses and associated MAC addresses. All of your VM’s will have similar MAC addresses, so you can narrow it down that way if you have a large network.

answered Feb 1, 2018 at 17:45

Charles Burge's user avatar

Charles BurgeCharles Burge

2,0801 gold badge8 silver badges14 bronze badges

From a Linux box, do an arp-scan on your VMware interface and look for the MAC:

arp-scan --interface=vmnet8 -l
192.168.169.146 00:0c:29:40:5e:db   VMware, Inc.
192.168.169.254 00:50:56:f1:76:14   VMware, Inc.

Run5k's user avatar

Run5k

15.7k24 gold badges49 silver badges63 bronze badges

answered Jun 3, 2020 at 18:53

ousbenz's user avatar

The simplest way no use of virtual machine settings just follows the steps provided in the link.

https://kb.wisc.edu/helpdesk/page.php?id=6526

Open installed Mac OS go to Menu click on Apple icon -> System Preferences -> Network -> Ethernet and see your IP address

enter image description here

answered Feb 22, 2018 at 9:55

Mahavirsinh Padhiyar's user avatar

🍺 vmrun list
    Total running VMs: 1
    .docker/machine/machines/myvm.vmx

🍺  vmrun getGuestIPAddress ~/.docker/machine/machines/myvm.vmx
    172.16.213.128

credit to: https://superuser.com/a/948260 (^ this is copied from an answer to a different question)

Community's user avatar

answered Oct 20, 2022 at 21:32

Goodword's user avatar

0

I am running VMware Workstation on a Linux box.

When I power on a centOS (Linux) virtual machine I cannot get mouse or keyboard control of the machine. I suspect that it has something to do with the error message:

You do not have VMware Tools installed in this guest. Chose «Install VMware Tools» from the VM menu.

If I click on that menu option, it inserts a virtual cd with drivers etc. This does not help me since I don’t have keyboard or mouse control over the machine.

I was thinking that if I could figure out the IP address or hostname I could use any number of protocols to get into the machine (SSH comes to mind).

How can I get the IP address or hostname of this machine?

Note: I did not create this machine. A coworker created it who is no longer with the company. Would save me a lot of time if I could get into the machine. I have login credentials so that won’t be a problem.

Dave M's user avatar

Dave M

13.1k24 gold badges36 silver badges47 bronze badges

asked Jun 7, 2012 at 19:06

sixtyfootersdude's user avatar

sixtyfootersdudesixtyfootersdude

7,97916 gold badges52 silver badges71 bronze badges

2

First Go in the Virtual Machine Settings.

Found the MAC address

Then in the Network Section, click the Advanced button and read the MAC address

Then in the console execute: arp -a

C:>arp -a
Interface: 10.98.79.23 --- 0xb
  Internet Address      Physical Address      Type
  10.98.79.10           b8-ac-6f-cb-a1-80     dynamic
  10.98.79.12           78-2b-cb-aa-51-bf     dynamic

Interface: 192.168.20.1 --- 0x1c
  Internet Address      Physical Address      Type
  192.168.20.128        00-0c-29-56-bd-36     dynamic
  192.168.20.255        ff-ff-ff-ff-ff-ff     static

Find the MAC address in the displayed list (That you found in advance setting of network adapter above) and the IP will be on the side of this particular MAC Address.

In this case the IP is: 192.168.20.128

MoonLight's user avatar

answered Jan 9, 2013 at 19:34

F Boucheros's user avatar

5

Please check, if not those input devices are connected to the guest OS as USB devices? Once disconnecting them, they should become accessible to the host OS — and therefore operational.

on Linux the command is:

ip addr

or the rather obsolete:

ifconfig

the equivalent command on Windows is:

ipconfig /all

while the output looks about like that:

eno16777984: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 192.168.2.101 netmask 255.255.255.0  broadcast 192.168.2.255
    ...

answered Jun 16, 2015 at 4:48

Martin Zeitler's user avatar

6

On Windows 7,

  1. Copied the MAC address to the clipboard
  2. Open C:ProgramDataVMwarevmnetdhcp.leases in Notepad
  3. Search for the MAC address string.

answered Sep 10, 2019 at 21:18

Michael Scott's user avatar

There is a built-in VNC service in Workstation. I’ve not used it, but the config (below) would seem to suggest that you could enable it, and use your host’s IP with a particular port with any of a number of VNC clients to gain control of your virtual machine.

VMWare Workstation VNC Config Setup

answered Jun 8, 2012 at 0:48

JoshP's user avatar

JoshPJoshP

2,2723 gold badges22 silver badges28 bronze badges

I have the same problem, I type command on linux

ip addr

but it shows something like 127.0.0.1 which not what I was looking for.

I notice that when I install Linux (CentOS) in VMware I did not set network configuration.

So,I solve this problem by installing a new Linux VM again. During the installation there is a section to configure network like in the picture.

picture

When the installation is done I type «ip adddr» and I can see the IP.

answered Nov 20, 2019 at 16:58

poomcyber's user avatar

Don’t know about Linux, but in Windows you could …

  1. Add another network interface to the VM, which will be using VMware DHCP to assign a known IP to your VM. You should set up VMware DHCP to a very short address range and it will be easy to pick the IP (also would be problematic to check, because default Windows firewall settings don’t allow incoming echo requests… But you’re not Windows)

  2. Try to pick the subnet where your VM is, put another PC to the subnet (another VM or your physical PC) – and use Computer Browser service («Network» or «My Network places») to find the VM.

You should also look for network scanning software.

By the way, what’s the VM network mode? Host-only private network (with or without NAT) or bridged?

slhck's user avatar

slhck

221k70 gold badges599 silver badges590 bronze badges

answered Jun 7, 2012 at 21:56

Ubeogesh's user avatar

UbeogeshUbeogesh

6306 silver badges13 bronze badges

Maybe it is too late for answer, but I had same problem. Simply install VMware vSphere Client and after logon you can right click on VM and open in console where mouse and keyboard works. CTRL + ALT to exit your mouse from console.

answered Jul 7, 2017 at 7:08

CiviDeja's user avatar

To find any unknown host on your network (whether it’s a VM or not) you can use Angry IP scanner. Another option for Linux is arp-scan (it’s not usually installed by default, but has very few dependencies). The command arp-scan -l will give you a table of IP addresses and associated MAC addresses. All of your VM’s will have similar MAC addresses, so you can narrow it down that way if you have a large network.

answered Feb 1, 2018 at 17:45

Charles Burge's user avatar

Charles BurgeCharles Burge

2,0801 gold badge8 silver badges14 bronze badges

From a Linux box, do an arp-scan on your VMware interface and look for the MAC:

arp-scan --interface=vmnet8 -l
192.168.169.146 00:0c:29:40:5e:db   VMware, Inc.
192.168.169.254 00:50:56:f1:76:14   VMware, Inc.

Run5k's user avatar

Run5k

15.7k24 gold badges49 silver badges63 bronze badges

answered Jun 3, 2020 at 18:53

ousbenz's user avatar

The simplest way no use of virtual machine settings just follows the steps provided in the link.

https://kb.wisc.edu/helpdesk/page.php?id=6526

Open installed Mac OS go to Menu click on Apple icon -> System Preferences -> Network -> Ethernet and see your IP address

enter image description here

answered Feb 22, 2018 at 9:55

Mahavirsinh Padhiyar's user avatar

🍺 vmrun list
    Total running VMs: 1
    .docker/machine/machines/myvm.vmx

🍺  vmrun getGuestIPAddress ~/.docker/machine/machines/myvm.vmx
    172.16.213.128

credit to: https://superuser.com/a/948260 (^ this is copied from an answer to a different question)

Community's user avatar

answered Oct 20, 2022 at 21:32

Goodword's user avatar

0

Я запускаю VMware Workstation на коробке Linux.

когда я включаю виртуальную машину centOS (Linux), я не могу получить управление мышью или клавиатурой машины. Я подозреваю, что это имеет какое-то отношение к сообщению об ошибке:

У вас не установлен пакет VMware Tools в гостевой. Выберите «Установить VMware Tools» из меню VM.

Если я нажимаю на пункт меню, он вставляет виртуальный диск с драйверами и т. д. Это мне не поможет поскольку у меня нет клавиатуры или мыши над машиной.

Я думал, что если бы я мог выяснить IP-адрес или имя хоста, я мог бы использовать любое количество протоколов, чтобы попасть в машину (SSH приходит на ум).

Как я могу получить IP-адрес или имя узла этой машины?

примечание: Я не создавал эту машину. Коллега создал его, кто больше не с компанией. Это сэкономит мне много времени, если я смогу попасть в машину. У меня есть учетные данные для входа, так что проблем не будет.

источник

If I have a VM (using VirtualBox, for instance) running inside my main OS; how can I identify the virtual interface and IP address (of the VM) from within the original (host) OS?

I thought I could just use ifconfig, ip a, or similar; but no information related to the connected VM is displayed. Although it shows the main (host) OS has been assigned 192.168.1.104 via wlan0.

However, if I run one of those commands from inside the VM, I can confirm that it’s currently active @ 10.0.2.15 via eth0.

asked Mar 12, 2017 at 12:25

voices's user avatar

2

Virtualbox includes a tool called VBoxManage. This tool can access information about the guest OS.

In this example (Windows 10, in a PowerShell window), I want to find the IP of my VM called DS201:

PS C:Program FilesOracleVirtualBox> .VBoxManage.exe guestproperty get DS201 "/VirtualBox/GuestInfo/Net/0/V4/IP"
Value: 10.0.2.15

(It works the same in Linux and Mac OS X as it does in Windows)

Documentation about the capabilities of VBoxManage can be found at https://www.virtualbox.org/manual/ch08.html.

answered Mar 12, 2017 at 16:30

Tim Kennedy's user avatar

Tim KennedyTim Kennedy

19.2k4 gold badges38 silver badges57 bronze badges

FOR NAT MODE (per comments) from the manual subsection on NAT mode virtual networking

To your comment that the ‘host must … record … the IP chain’ it’s VirtualBox, not the host as such, that does this:

The network frames sent out by the guest operating system are received by VirtualBox’s NAT engine, which extracts the TCP/IP data and resends it using the host operating system. To an application on the host, or to another computer on the same network as the host, it looks like the data was sent by the VirtualBox application on the host, using an IP address belonging to the host. VirtualBox listens for replies to the packages sent, and repacks and resends them to the guest machine on its private network.

To your original Q, it is only VirtualBox that knows about the guest’s simulated address:

The virtual machine receives its network address and configuration on the private network from a DHCP server integrated into VirtualBox. The IP address thus assigned to the virtual machine is usually on a completely different network than the host. As more than one card of a virtual machine can be set up to use NAT, the first card is connected to the private network 10.0.2.0, the second card to the network 10.0.3.0 and so on. If you need to change the guest-assigned IP range for some reason, please refer to Section 9.11, “Fine-tuning the VirtualBox NAT engine”.

answered Mar 12, 2017 at 16:13

dave_thompson_085's user avatar

@Tim Kennedy’s answer is the way to go, but for a bridged linux guest (Fedora), I had to install the guest additions to be able to see the properties from the host, so it is a bit of a chicken and egg problem.

  1. On the host, set the VBoxGuestAdditions.iso as one of the guest’s CDs.
  2. Boot the guest.
  3. Log in the VM (you need the IP if it’s headless).
  4. Install kernel-devel if it is not there.
  5. Mount the CD (/dev/sr?)
  6. From the CD, run VBoxLinuxAdditions.run as root. The VM will reboot.

From now on, running:

VBoxManage guestproperty get YourVmName /VirtualBox/GuestInfo/Net/0/V4/IP

on the host gives:

Value: X.Y.Z.T

Remember to install the guest additions after you update the guest’s kernel and before you reboot it. This can be done with:

$ sudo /sbin/rcvboxadd quicksetup <new kernel version (e.g. 5.13.9-200.fc34.x86_64)>

answered Aug 12, 2021 at 23:09

Quel Qun's user avatar

If Windows is your guest system, then with VirtualBox Guest Additions installed

  1. Click the Start button, type cmd.exe and hit Return to launch the Windows command line.

  2. Then paste and run:

    "c:Program FilesOracleVirtualBox Guest AdditionsVBoxControl.exe" guestproperty get "/VirtualBox/GuestInfo/Net/0/V4/IP"

answered Dec 15, 2017 at 8:16

Lars Blumberg's user avatar

2

Уважаемые гости и пользователи форума!

Чтобы видеть ссылки на форуме — надо зарегистрироваться и иметь 1 пост на форуме. Для этого есть КУРИЛКА и там тема Здрасти.

Модераторы: rewuxiin, kulia

Правила форума
Условием использования нашего форума, является соблюдение настоящих Правил форума.

Ваш вопрос может быть удален без объяснения причин, если на него есть ответы по приведённым ссылкам, а вы рискуете получить предупреждение.

10 сообщений
• Страница 1 из 1

Guest

Сообщение

Как определить IP ВМ (VirtualBox)

Использую 4 версию VirtualBox на Win 7 виртуалит Ubuntu Server 11.04, но не могу понять, как к ней приконектиться по PuTTy?
OpenSSH стоит, фаервол на Win 7 отключал.
Как определить IP адрес сервера?

mini-server

Контактная информация:

Откуда: г. Москва

Сообщения: 1293
Зарегистрирован: 12 июл 2010, 16:11

Сообщение

Re: Как определить IP ВМ (VirtualBox)

25 май 2011, 12:28

Для начала, только что установленная Ubuntu server 11.04 получает IP автоматически. А нам надо статический IP, поэтому в каждом из уроков

Для просмотра ссылок Вы должны быть авторизованы на форуме.

, Вы можете наблюдать такие главы как настройка сети.
VirtualBox — Универсальная машина, для которой вы можете выбрать сразу несколько сетевых адаптеров в одной машине. Но для настройки вполне достаточно и одного адаптера. К сожалению на данный момент я имею VirtualBox 3.2.12 (Windows), но больших отличий по сравнению с 4 версии нет. Поэтому я покажу принцип работы на примере версии 3.2.12.
В настройках каждой виртуальной машины есть свои отдельный параметры, которые мы легко можем изменять, например выбираем необходимую нам машину (например Ubuntu server 11.04, но не запускаем ее), в правой части находим пункт Сеть, в открывшемся окне нас сразу же перебросит на эту вкладку, где мы указываем вид адаптера:
NAT — универсальная система соединения, использует свои настройки маршрутизации, поэтому не надо ждать что указаный в настройках самой системы сервера будет подключать под NAT.
Сетевой мост — для меня это самый простой и наглядный способ соединения сразу нескольких виртуальных машин к одному шлюза. Например шлюз 192.168.1.1, домашний компьютер имеет адрес 192.168.1.2, а серверу можно присвоить 192.168.1.3 (сетевой шлюз — это все равно что стоит хаб на котором может быть подключено сколько угодное число виртуальных машин) При использовании такого вида подключения имеется при правильной настройке сервер получает интернет, а так же доступ по сети, при этом используется реальная сетевая карта вашего компьютер.
Внутренняя сеть — дает доступ только для компьютера на котором стоит виртуальная машина.
Виртуальный адаптер — интересная функция, больше подойдет для экспериментов чем для реальных условий эксплуатации.
В твоем случае необходимо настроить Сетевой мост и указать адаптер Вашего компьютера, для доступа сервера в интернет, этот адаптер обязательно должен быть подключен к интернету, как основной источник интернета рабочей машины.

Sotnikov писал(а):Как определить IP адрес сервера?

Заходишь в консоли под своим логином и паролем и тут же высвечивается IP адрес сервера. (Внимание эта фишка появилась только с 11.04 версии Ubuntu server). C правильно настроенной сетью и установленным SSH сервером в системе PuTTy подключиться именно по этому адресу. Только не забудь указать в PuTTy кодировка UTF8 (необходимо для правильного отображения русских символов).

Забыл вчера кота покормить. Утром просыпаюсь, чем-то гремит на кухне… наверное готовит…

Guest

Сообщение

Re: Как определить IP ВМ (VirtualBox)

25 май 2011, 12:48

Я тоже выбрал «Сетевой мост» и выбрал адаптер, который соединяется с роутером (D-Link DIR-615), а роутер с интернетом и держит домашнюю сеть. Как теперь быть с IP адресами?
При выборе моста, как написано выше, возникает проблема при пинге:

Код: Выделить всё

...
root@server:~$ ping -c5 google.com
ping: unknown host google.com
...

Код: Выделить всё

...
root@server:~$ ping 192.168.0.100
connect: Network is unreachable
...

Хотя при NAT, пинг проходил =(
Так как я даю доступ к своей сетевой по Wi-Fi, то я думаю надо, как то подключиться к сети Wi-Fi. У меня на роуторе WPA2 шифрование, надо пароль вводить?)) Если да, то как? Без графического интерфейса не умею))

mini-server

Контактная информация:

Откуда: г. Москва

Сообщения: 1293
Зарегистрирован: 12 июл 2010, 16:11

Сообщение

Re: Как определить IP ВМ (VirtualBox)

25 май 2011, 12:58

Код: Выделить всё

...
root@server:~$ ping -c5 google.com
ping: unknown host google.com
...

Настройте DNS в Ubuntu server

Код: Выделить всё

...
root@server:~$ ping 192.168.0.100
connect: Network is unreachable
...

Не хватает данных что бы понять Вас, сообщите IP адрес Вашего роутера, сервера, и компьютера

Sotnikov писал(а):Хотя при NAT, пинг проходил =(

При NAT пинг пройдет, вот только доступ с локальной машины не будет, так как подсеть у NAT VirtualBox отличная от стандартной Windows

Sotnikov писал(а):У меня на роуторе WPA2 шифрование, надо пароль вводить?

Нет конечно же этот пароль только для открытия доступа к Wi-FI роутера, эту сеть уже открывает Windows, а вы входите в уже открытую.

Забыл вчера кота покормить. Утром просыпаюсь, чем-то гремит на кухне… наверное готовит…

Guest

Сообщение

Re: Как определить IP ВМ (VirtualBox)

25 май 2011, 13:30

Адрес роутера: 192.168.0.1
Компьютер: 192.168.0.100
Сервер: 192.168.0.50

Вообще через VB сервер будет отображаться в морде роутера, как подключенный?

mini-server

Контактная информация:

Откуда: г. Москва

Сообщения: 1293
Зарегистрирован: 12 июл 2010, 16:11

Сообщение

Re: Как определить IP ВМ (VirtualBox)

25 май 2011, 13:55

Адрес роутера: 192.168.0.1
Компьютер: 192.168.0.100
Сервер: 192.168.0.50

Sotnikov писал(а):Вообще через VB сервер будет отображаться в морде роутера, как подключенный?

Все зависит от роутера, если эта функция поддерживается.
Настройка сети:
nano /etc/network/interfaces

Код: Выделить всё

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 192.168.0.50
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1

После настройки проверьте сеть:
ping 192.168.0.1
Если отзывается значит виртуальная машина на Ubuntu server подключена напрямую к роутеру. А значит и есть интернет.
ping 192.168.0.100
Если отзывается значит виртуальная машина на Ubuntu server подключена напрямую к компьютеру. А значит и есть сеть и доступ по SSH возможен.
DNS настраивается так: (если необходимо в том случае, если сервер отзывается по IP, но не отвечает на доменные имена)
nano /etc/resolv.conf

Код: Выделить всё

nameserver 192.168.0.1
nameserver 8.8.8.8
domain Contoso.com (если необходимо)
search Contoso.com (если необходимо)

Забыл вчера кота покормить. Утром просыпаюсь, чем-то гремит на кухне… наверное готовит…

Guest

Сообщение

Re: Как определить IP ВМ (VirtualBox)

25 май 2011, 14:56

mini-server писал(а):Sotnikov писал(а):Вообще через VB сервер будет отображаться в морде роутера, как подключенный?
Все зависит от роутера, если эта функция поддерживается.

Ну в нем я могу смотреть какие устройства подключены.

Сделал все, как ты написал (делал даже рестарт системы), не канает пинг, на запросы ping 192.168.0.1 и ping 192.168.0.100, ответ:

А файл /etc/resolv.conf выглядит так, не стал править:
domain router
search router
nameserver 192.168.0.1

Guest

Сообщение

Re: Как определить IP ВМ (VirtualBox)

25 май 2011, 19:28

Спасибо огромное за помощь))
Помогла переустановка с правильными параметрами, введенные вручную)

mini-server

Контактная информация:

Откуда: г. Москва

Сообщения: 1293
Зарегистрирован: 12 июл 2010, 16:11

Сообщение

Re: Как определить IP ВМ (VirtualBox)

25 май 2011, 19:46

Вводить в ручную не обязательно ;D В Вашем случае DNS сервер и шлюз 192.168.0.1 (аналогично 192.168.1.1, 192.168.2.1, …), если бы Вы использовали отличный адрес 192.168.0.87, тогда в этих случаях лучше указать настройки в ручную. А так же перед установкой на виртуальную машину, надо настроить сеть на самом компьютере и правильно указать вид подключения. *OK*

Забыл вчера кота покормить. Утром просыпаюсь, чем-то гремит на кухне… наверное готовит…

Guest

Сообщение

Re: Как определить IP ВМ (VirtualBox)

25 май 2011, 22:04

Ну, для того что бы ставить на VirtualBox (VB) нужно в свойствах системы, во вкладке «Сеть», выбрать в первом выпадающем списке режим «Сетевой мост». Далее появиться выпадающий список с вашими сетевухами, в котором надо выбрать именно ту, через которую и подключен к интернету основной компьютер.

10 сообщений
• Страница 1 из 1

Вернуться в «Общие вопросы виртуальных серверов»

Понравилась статья? Поделить с друзьями:
  • Number of segments is too large for given angle and radius как исправить sketchup
  • Как в яндексе найти поиск людей
  • Как составить доклад про животных
  • Маска подсети что это такое как найти
  • Как найти организацию в статистике по окпо