Hello,
I am french but I will try to explain what is wrong with my VM's as clearly as possible.
I installed a VM (Ubuntu) on my computer (Vista) and I want them to communicate (in order to installe an Asterisk Server on the VM).
The problem is the VM IP adress is 10.0.2.15 (gw 10.0.2.2), then it can not communicate with my computer (192.168.1.11). I would like to know how to configure my VM in order my PC and my VM to communicate.
Please send me a link or explain me how I have to do.
Thank you
Communication beetween host and VM
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
What you need is Host Interface Networking. This is explained dozens of times on the forums, and is also in the manual.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
The MAZZTer
- Volunteer
- Posts: 129
- Joined: 16. Sep 2008, 23:22
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu, Chromium OS, Windows
- Location: Internet
- Contact:
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
That last guy has a name you know.The MAZZTer wrote:You cannot run servers on VMs when using NAT networking as host PCs cannot access the VM using networking in this mode.
Use a VirtualBox Host Interface instead, as the last guy said.
And it is possible to run a server with NAT, you just have to forward some ports. E.g. a webserver can be run just fine with NAT. You just have to forward a port higher than 1024 (8080 for example).
Though for some services, like asterisk, which is VoIP, it is needed to use HIF because of certain network needs.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.