P
P
Pavel Kizernis2015-10-20 12:47:37
linux
Pavel Kizernis, 2015-10-20 12:47:37

How to run 2 virtual machines (Linux) with different IPs (VirtualBox)?

Created in VirtualBox (from under Windows7) 2 virtual machines, both on Linux.
When I run them, I see the same IP. How can I give them a different IP address?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2015-10-20
@pashakiz

you set up the network as a bridge, then they will receive IP from the DHCP server,
on DHCP you can set permanent IPs by virtualok MAC addresses

O
Oleg Tsilyurik, 2015-10-20
@Olej

See: network settings for different VMs (VirtualBox)
Network adapters can be of any type .
But already in the VM (Linux) themselves, in the network interface settings (for example, using NetManager), specify what to use DHCP.
Or you can configure each network interface manually (once) ... if you understand well what you are doing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question