Page 1 of 1

What's the Terminal command to get the VM's private IP?

Posted: 21. Jan 2010, 07:13
by jazgold
I want to find the private IP that my VM is assigned when I set its network settings to NAT.

How can I find what this private IP is? Do I use ifconfig through Terminal?

Re: What's the Terminal command to get the VM's private IP?

Posted: 21. Jan 2010, 15:51
by Perryg
If it is Linux based the ifconfig -a
will show it. Windows needs ipconfig /all
(In the guests terminal/command window)
But if you are using NAT the ip address will be 10.0.2.0

Re: What's the Terminal command to get the VM's private IP?

Posted: 22. Jan 2010, 07:39
by jazgold
thanks perryg:)