Creating virtual network with VB: some questions.

This is for discussing general topics about how to use VirtualBox.
Post Reply
Dmitry Moscow
Posts: 5
Joined: 31. Aug 2013, 23:14

Creating virtual network with VB: some questions.

Post by Dmitry Moscow »

Greetings, gentlemen!

I am trying to setup a simple virtual network for self-education purposes. I need some clarifications with VirtualBox networking because I cannot be good in networking before I study it, and I cannot study before I make a setup :)

I've got Windows 7 host with VirtualBox 4 and 2 Debian 7.1 installed on it. I have set VirtualBox Host-Only Network for these 3 machines and it works. Please, clarify some things I stil cannot get.

1) There is another way of setting the network: Bridged Networking. As far as I understand it works ONLY when host resides inside some network. My host does not. Does it mean I cannot use this regime?
Another flavour of this question is: I have created virtual network as I explained before. Can I connect some new (3rd) virtual machine to that network via Bridged Netwoking?

2) There is a phrase in the manual:
"In other words, whereas with bridged networking an existing physical interface is used to attach virtual machines to, with host-only networking a new "loopback" interface is created on the host."
Does this mean that VB creates another interface with some address like 192.168.56.1 and all traffic that goes to this address is processed like traffic from outside the system, just like with 127.0.0.1?

3) Imagine I have Internet connection on my host. What do I need to make my guest computers reaching the internet in case I dont want to use NAT adapter? Can I do it somehow via the virtual network I have created? I know in windows's Virtual Host-Only Adapter there is an option of creating bridge, and some options related to sharing internet between the networks.
As far as I understand from network theory I need to setup some 'gateway' where the packets will go if the address is not inside the local segment. How can I do it?

?
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Creating virtual network with VB: some questions.

Post by ChipMcK »

Post Reply