Connect two VirtualBOX's

This is for discussing general topics about how to use VirtualBox.
Post Reply
Asen.Clave
Posts: 3
Joined: 8. Aug 2010, 20:42
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Gentoo GNU/Linux | LFS GNU/Linux

Connect two VirtualBOX's

Post by Asen.Clave »

How to connect two VirtualBOX's like this:

Vitrual 0 (eth0) <-----cable------> (eth0) Virtual 1
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Connect two VirtualBOX's

Post by BillG »

A virtual cable?

Seriously, all you need to do is put them in the same network. Have you tried connecting them both to the internal network?

VirtualBox is the name of the application program. It is not the name of the virtual machines. Call them vms or guests.
Bill
Asen.Clave
Posts: 3
Joined: 8. Aug 2010, 20:42
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Gentoo GNU/Linux | LFS GNU/Linux

Re: Connect two VirtualBOX's

Post by Asen.Clave »

but.... at the same internal network

guest 0 (10.0.0.1) [eth0] <-------cable--------> [eth0] (10.0.0.2) guest 1

quest 2 (10.0.0.2) [eth0]

from guest 2 i can ping 0 and 1 :/ i don't like this
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Connect two VirtualBOX's

Post by BillG »

If you don't like that, put guest 2 in a different internal network!
Bill
Asen.Clave
Posts: 3
Joined: 8. Aug 2010, 20:42
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Gentoo GNU/Linux | LFS GNU/Linux

Re: Connect two VirtualBOX's

Post by Asen.Clave »

so, quest don't have that feature right now?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Connect two VirtualBOX's

Post by mpack »

You may find it useful to actually read the user manual, chapter 6. Take particular notice of named internal networks.
Post Reply