[SOLVED] VirtualBox and Network

Discussions related to using VirtualBox on Mac OS X hosts.
gerwin
Posts: 16
Joined: 13. Nov 2011, 16:28
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: linux

Re: VirtualBox and Network

Post by gerwin »

Hi Perryg!

Please forgive me! I did an error.

I have 'no' GUI on my Guest OS!

Gerhard
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VirtualBox and Network

Post by Perryg »

Google is your friend.
Here is just one of many
http://xmodulo.com/2012/05/how-to-confi ... es-in.html
gerwin
Posts: 16
Joined: 13. Nov 2011, 16:28
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: linux

Re: VirtualBox and Network

Post by gerwin »

Hi Perryg!

I did it for 'eth0'.

ifconfig -a shows:

https://sdthumbs.ui-static.net/thumb/_/ ... height=600

(I put the picture on a public server for its size)

Gerhard
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VirtualBox and Network

Post by Perryg »

Did you do a network restart?

From the hosts terminal/command window type VBoxManage showvminfo <VM Name> --details and post here. Replace <VM Name> with the actual name of the VM. Use " " if the name has a space in it.
gerwin
Posts: 16
Joined: 13. Nov 2011, 16:28
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: linux

Re: VirtualBox and Network

Post by gerwin »

Hi Perryg!

The Host-Only Adapter (eth1) works now!

I think, I'm on the right way?!
centos3.tiff
centos3.tiff (68.37 KiB) Viewed 1437 times
https://sdthumbs.ui-static.net/thumb/_/ ... height=600

For my Adapter 1 I choose Bridged Adapter.
It should be in my Guest OS 'eth0' ?

Which name should I take for that adapter?

en2: Thunderbolt Ethernet or en0 Wi-Fi (AirPort)

My Mac is wired connected to the Internet

Another question:

As I connect always from my Mac Shell to my Guest OSes, does it make sence to set a static IP to my Host-Only connections?

Is it possible to configure my network in this way:?

Adapter 1 : NAT
Adapter 2 : Bridged Adapter
Adapter 3 : Host-Only

Thanks for your great help!!!!!!!

Gerhard
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VirtualBox and Network

Post by Perryg »

With host-only the address will always be the same unless you use host-only on another guest, so if it is working I would leave it alone.
As for Bridged and NAT you don't need both. NAT will work for the guest to get to the Internet. If yo use Bridged then you don't need NAT.
gerwin
Posts: 16
Joined: 13. Nov 2011, 16:28
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: linux

Re: VirtualBox and Network

Post by gerwin »

Hi Perryg!

Perfect!

That was one of the best online tutorials I ever got!!!

Many, many thanks!

As I live in Mexico on the countryside its nearly impossible to get anywhere help minus from a discussion forum!

Saludos y muchas gracias!

Gerhard

PS: Where can I mark this question as answered?
gerwin
Posts: 16
Joined: 13. Nov 2011, 16:28
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: linux

Re: VirtualBox and Network

Post by gerwin »

Hi Perryg!

Perfect!

That was one of the best online tutorials I ever got!!!

Many, many thanks!

As I live in Mexico on the countryside its nearly impossible to get anywhere help minus from a discussion forum!

Saludos y muchas gracias!

Gerhard

PS: Where can I mark this question as answered?[/quote]
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VirtualBox and Network

Post by socratis »

Great! Edit and change the original post's title to "[SOLVED] VirtualBox and Network".
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply