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?
What's the Terminal command to get the VM's private IP?
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: What's the Terminal command to get the VM's private IP?
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
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
-
jazgold
- Posts: 2
- Joined: 18. Jan 2010, 11:26
- Primary OS: Mac OS X Leopard
- VBox Version: OSE other
- Guest OSses: Windows XP
Re: What's the Terminal command to get the VM's private IP?
thanks perryg:)