Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed Asterisk on VirtualBox by following the steps from here. Everything went ok until I got to navigate to an IP to configure Asterisk using FreePBX: (Shouldn't be something like 192.168.x.y?? ). However, when I navigated to that url from outside of VirtualBox, that url pointed to nothing. Also I am logged in as root@localhost. Should I be logged in as root@server? I have also validated the installation as described here and everything went well.

I am a complete beginner at Asterisk.

share|improve this question
up vote 3 down vote accepted

1) VirtualBox isn't really suitable for anything production-grade. Use VMware or KVM instead.

2) Your problem is probably because your Virtual Machine is using the NAT network adapter type, and you should set it to Bridged, and reboot your virtual machine. Then the VM will get an IP address on the rest of the network, in your case, 192.168.x.x.

You could also forward the ports required for Asterisk to work, through Virtualbox so that you can use the 10.x.y.z address, but this will only be available from your workstation, and isn't ideal.

Use bridged mode. Always.

share|improve this answer
Thank you for the quick and accurate answer. May I also ask what is the difference between 192.168.x.x and 10.x.y.z ? What makes 192.168.x.x address so special and what is designed for? (Complete novice in networking as well) – Tamas Ionut Dec 10 '12 at 9:46
There are 3 blocks of network space allocated in RFC1918 for private use. They're (16,777,216 addresses), (1,048,576 addresses), and (65,536 addresses). They'll never be routed onto the public internet. – Tom O'Connor Dec 10 '12 at 10:00
More information in a human-readable format on RFC1918 can be found here – Tom O'Connor Dec 10 '12 at 10:01
Lovely! Thanks ! :) – Tamas Ionut Dec 10 '12 at 11:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.