Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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 connected to a wireless point and use "ifconfig" but I don't see any IP in eth0. Where's my IP address? Sorry if this is a silly question. :)

I want to use "ping" in Virtualbox Windows 7 guest. Which IP should I type in that machine?

terminal IP info

share|improve this question
wlan0 > – One Zero Jan 29 '12 at 8:33
when your are connected through wireless wlan0 will work , wlan mean wireless lan – One Zero Jan 29 '12 at 8:34
check the ip address of windows 7 machine , ipconfig or by network adapter status – One Zero Jan 29 '12 at 8:38
I want to ping Ubuntu from Windows 7 guest machine. Do I type "ping"? – Emerald214 Jan 29 '12 at 8:40
from windows 7 , open prompt and type " ping " its mean you are pinging ubuntu from windows 7 – One Zero Jan 29 '12 at 8:47
up vote 8 down vote accepted

The easiest way to get this is to just open up your connection information from the appindicator, like this:

connection information

That brings up your local IP address. Note that this isn't your IP address on the Internet, just your local address. You can always go to for an easy way to see it.

IP info

In your screenshot, eth0 is an Ethernet connection, and wlan0 is your wireless connection. To get your IP address in the Windows virtual machine, try typing ipconfig/all at a command prompt (Start/Accessories/Run/type 'CMD', and looking for your default gateway there:

windows cmd prompt

In this example, my guest sees the Ubuntu host as
windows pinging

It may be that the VM sees it as a wired connection, even on a laptop with the host using wifi.

share|improve this answer
Very detailed! BTW thanks for editing my question title. – Emerald214 Jan 29 '12 at 9:46

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.