What command reports the

What command reports the "real" IP address?

NewsGroups | Search | Tools
 comp.dcom.modems.cable  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
What command reports the "real" IP address? Julie Holiday 01-31-2006
Posted by Julie Holiday on January 31, 2006, 12:22 am
If you were  Registered and logged in, you could reply and use other advanced thread options
What command reports our "real" IP address to the world?

I have a standard home wireless setup with a cable modem connected to a
wireless router and a single laptop computer wirelessly connected.

I googled for "query IP address" and I found this commmand.
c:\> ipconfig /?
c:\> ipconfig /release
c:\> ipconfig /renew
c:\> ipconfig /all

But that ipconfig command doesn't give my "real" IP address.
That ipconfig command only reports my "fake" address!
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.0.200
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.1

By googling, I found web sites that tell me my "real" IP address.

For example, http://www.webyield.net/domainquery.html
tells me my "real" ip address is 69.110.21.223

But how do I find my "real" IP address without having to go to a web site
to find out. Does the ipconfig command or the netstat command have a hidden
option to report the "real" ip address?

If not, what command reports the "real" IP address?


Posted by Rod Smith on January 31, 2006, 11:13 am

>
> What command reports our "real" IP address to the world?
>
> I have a standard home wireless setup with a cable modem connected to a
> wireless router and a single laptop computer wirelessly connected.
>
> I googled for "query IP address" and I found this commmand.
> c:\> ipconfig /?
> c:\> ipconfig /release
> c:\> ipconfig /renew
> c:\> ipconfig /all
>
> But that ipconfig command doesn't give my "real" IP address.
> That ipconfig command only reports my "fake" address!
> Dhcp Enabled. . . . . . . . . . . : Yes
> Autoconfiguration Enabled . . . . : Yes
> IP Address. . . . . . . . . . . . : 192.168.0.200

That *IS* your *COMPUTER'S* "real" IP address. Chances are, though, that
you're sitting behind a NAT gateway, either built into your cable modem or
running as a separate device. The NAT router has its own IP address, which
is visible to the world at large, and it rewrites packets to and from the
computer(s) on the network it serves to make it seem as if the packets
come from the NAT router itself. There's no way you can tell what the NAT
router's address is using exclusively local commands on the computer(s) it
serves. Instead, you must either access the NAT router itself (via a
Telnet session, Web interface, or whatever) or access an outside Web site
that reports back your IP address (as you said you've done).

--
Rod Smith, rodsmith@rodsbooks.com
http://www.rodsbooks.com
Author of books on Linux, FreeBSD, and networking

Posted by shogunu on January 31, 2006, 4:22 pm
Your real IP address 192.168.0.200 is par of the "private IP
addresses". You will never see this kind of address on the internet. On
your private network you can use any kind of Ip addresses. But to get
outside, on the internet, finaly you must have a public IP address.
This means that either your PC is cennected derectly to the internet,
which is very improbable, or you pass trough your ISP gateway, which is
directly connected to the internet.
For example my ISP gave me a public IP address. It was his option. So
it doesn't need to make NAT to allow me to exit on the internet.
But it would decide to gave me a private IP address, then NAT in
imperatively needed.


Br,
Dan


Posted by John Gray on January 31, 2006, 8:30 pm

> What command reports our "real" IP address to the world?
>
> I have a standard home wireless setup with a cable modem connected to
> a wireless router and a single laptop computer wirelessly connected.
>
> I googled for "query IP address" and I found this commmand.
> c:\> ipconfig /?
> c:\> ipconfig /release
> c:\> ipconfig /renew
> c:\> ipconfig /all
>
> But that ipconfig command doesn't give my "real" IP address.
> That ipconfig command only reports my "fake" address!
> Dhcp Enabled. . . . . . . . . . . : Yes
> Autoconfiguration Enabled . . . . : Yes
> IP Address. . . . . . . . . . . . : 192.168.0.200
> Subnet Mask . . . . . . . . . . . : 255.255.255.0
> Default Gateway . . . . . . . . . : 192.168.0.1
> DHCP Server . . . . . . . . . . . : 192.168.0.1
> DNS Servers . . . . . . . . . . . : 192.168.0.1
>
> By googling, I found web sites that tell me my "real" IP address.
>
> For example, http://www.webyield.net/domainquery.html
> tells me my "real" ip address is 69.110.21.223
>
> But how do I find my "real" IP address without having to go to a web
> site to find out. Does the ipconfig command or the netstat command
> have a hidden option to report the "real" ip address?
>
> If not, what command reports the "real" IP address?
>

As other responders have already stated, that is your real IP. There is
a nifty, 14KB program available at http://keir.net/ip2.html which will
show your Internet IP of your router and the lan IP of your computer.
The download is an 8KB zip file.

Simply unzip the IP2.exe to a folder and create a shortcut for it. The
results are shown in a small window that can be closed by clicking the
X. It queries a series of web sites(as mentioned at the link above)
until it gets a response for the Internet IP of your router.


Posted by Ed Wurster on February 11, 2006, 7:02 pm
Julie Holiday wrote:
> What command reports our "real" IP address to the world?

You can go to http://whatismyip.com/ and get the IP of your router. I think
that is the question you are really asking.

Ed



Similar ThreadsPosted
No IP address? Doh July 5, 2007, 4:47 pm
IP Address Location February 2, 2008, 2:38 pm
Two Cable Modems/One IP address? February 7, 2005, 8:45 am
cable modem mac address March 22, 2006, 10:41 pm
Linksys Router - No IP Address from Adelphia July 10, 2005, 5:50 am
cloning a mac address in a cable modem October 10, 2005, 8:25 am
How can I access my Router which is on private ip address from ISP October 29, 2005, 9:09 am
we have private IP address on WAN port, no connection through Router? October 6, 2005, 4:12 am
Public IP Address for Device behind Cable/DSL Modem May 28, 2007, 9:15 am
ID IP Address of Cable Modem Hooked to Linksys Router September 24, 2006, 10:54 am

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map