Good evening,
I've two virtual machines on each of which is installed Linux Mint.
The VMs are realized through VirtualBox, installed on Windows Vista.
I've put the two virtual machines in a network in this way: I added a second host-only network interface to the first machine (which works as a router) and I set one host-only network interface for the other machine.
The IP of the NAT interface of the first machine is 10.0.2.15.
The problem is that the IP addresses assigned to the other interfaces are not the same after every boot of both the machines: in fact sometimes the second interface of the first machine has IP 192.168.56.102 and the interface of the second machine has IP 192.168.56.103, sometimes viceversa.
Please help me
Thank You
Best Regards
Giacomo Odoardi
Networking between two Virtual Machines with Virtualbox
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Networking between two Virtual Machines with Virtualbox
Is there a reason why you cannot use Bridged networking for this? If not that would be the easiest way to make it all come together for you. Also if you want these VM's to have the same IP address each time you need to setup static addresses instead of dynamic ones inside the guests.
-
rambo
- Posts: 5
- Joined: 12. Jun 2009, 16:59
- Primary OS: MS Windows Vista
- VBox Version: OSE other
- Guest OSses: Linux Mint 6
Re: Networking between two Virtual Machines with Virtualbox
And how do I setup static address for a network interface?
Thank You
Best Regards
Giacomo Odoardi
Thank You
Best Regards
Giacomo Odoardi
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Networking between two Virtual Machines with Virtualbox
From the network manager inside linux mint. Change it from DHCP to manual and then set the address, subnet, gateway, and dns.
-
rambo
- Posts: 5
- Joined: 12. Jun 2009, 16:59
- Primary OS: MS Windows Vista
- VBox Version: OSE other
- Guest OSses: Linux Mint 6
Re: Networking between two Virtual Machines with Virtualbox
Yes I found it excuse me but how do I set the gateways for each interface on each machine?
Please help me
Thank You
Best Regards
Giacomo Odoardi
Please help me
Thank You
Best Regards
Giacomo Odoardi
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Networking between two Virtual Machines with Virtualbox
Swing on over to the Linux mint forums my friend. http://forums.linuxmint.com/?PHPSESSID= ... 4c88b1cd57 You need to learn how to do these things so you can pass your test. Otherwise other people will have done the work for you and you will not have learned what you were supposed to. Also this is based off Ubuntu from what I read and should be close enough to get the tutorials from them https://help.ubuntu.com/