Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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: 10.0.2.15 (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

1 Answer 1

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
1  
There are 3 blocks of network space allocated in RFC1918 for private use. They're 10.0.0.0/8 (16,777,216 addresses), 172.16.0.0/12 (1,048,576 addresses), and 192.168.0.0/16 (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
    
Lovely! Thanks ! :) –  Tamas Ionut Dec 10 '12 at 11:19

Your Answer

 
discard

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.