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.


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.

  • 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
  • 1
    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
  • 1
    More information in a human-readable format on RFC1918 can be found here en.wikipedia.org/wiki/Private_network – Tom O'Connor Dec 10 '12 at 10:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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