Link to home
Start Free TrialLog in
Avatar of staytuned
staytuned

asked on

how do i find out the ip address of my pc connected throught a router?

I have several pc sharing ADSL internet access through a router. I would like to find out how I can find out each pc's ip address. Thank you.
Avatar of Les Moore
Les Moore
Flag of United States of America image

They are probably in a private IP address space, but from a DOS prompt:

C:\>ipconfig

Windows IP Configuration

Ethernet adapter Wireless Network Connection 2:

        Connection-specific DNS Suffix  . : myisp.net
        IP Address. . . . . . . . . . . . : 192.168.1.101
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.1.1

C:\>

Avatar of smallbee
smallbee

u can also simply check the DHCP client list if u have DHCP enabled in the router (linksys)
Or winipcfg for the 9x clients.  or install something like solarwinds and run an ip sweep of your network.  a bit extreme but good for not getting up and walking to each machine!
in Command type: CMD or COMMAND (enter)
Then:
route print
or
ipconfig

(also check out the options (route/? and ipconfig/?)

Or in Command type: WINIPCFG (enter)

Or check the network environement (in Configuration-Networks and look for static IP's)


http://www.showmyip.com/
or http://www.whatismyip.com 
(doesnt work with a router)
Avatar of staytuned

ASKER

I have tried that before. But my friend can't find me with the ip I got. The ip I always get is 192.168.0.2. And my friend can dial me in Net Meeting with this ip address. Does anyone know why?
Well if your friend is dialing on the same network as you thats why. Meaning you are connected within the same switch or hub. Since that IP is from a private class range its impossible for him to connected via internet.

is the subnetmask on the network the same?
No, my friend is dialing through internet from other place.
192.168.0.2 is the local network ip not visible from the internet. Your friend can see it only from the inside.
To find a local ip, use winipcfg, or ipconfig, depending on windows version.
For public ip, use tracert, or one of the above links.
ASKER CERTIFIED SOLUTION
Avatar of mrmacman_g4
mrmacman_g4

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
read this on the detail of the ports setting in the router:

http://www.microsoft.com/windows/NetMeeting/Corp/reskit/Chapter4/default.asp
All your PCs are using the external IP address of either the router or the DSL modem to communicate with the Internet. They will use dynamically allocated ports to go out etc.

The default settings for these types of connections will mean that all the internal addresses are hidden. Traffic goes out and nothing comes back in. You will need to speak to your ISP about enabling port forwarding to an internal address.

Keep this in mind though - without a range of valid external addresses you will only be able to have one port or range of ports for each internal machine. I agree with Kyle above that you are best off going with a DDNS, otherwise you will have to keep finding out your IP as DHCP changes it. If not - get yourself some kind of keepalive tool (or just use ping!) so that your connection doesn't drop - make sure this won't cost you a fortune though...
Sounds like all you really want to know at this stage is your public IP which is not really a problem to find out. I imagine from the ip you gave you have a netdsl 800 and then all you need to do it open IE and type 192.168.1.1 in the address bar. I will show you the public IP in the box labeled NAT IP Address under PPP. If you give him the Public IP in that box and you have a problem communicating still you need to update the firmware.
Another easy way to find your public IP is www.whatismyip.com .
nice piece telxon....thanks...
Sorry, I have been busy and don't have time to come here for a while. Thanks very much for all you guys help. I appreciate that very much. I will try the methods you guys suggested. Thanks very much.