IP address?

Jhbgirl

Expert Member
Joined
Feb 7, 2004
Messages
1,161
Reaction score
0
I connect through a router now so I was just wondering how I would find out the ip address of the modem. When I go ipconfig all I get is my network ip.
 
Do a tracert (trace route) to some or other site. then check the hop directly after your network ip address.

tracert www.sentech.co.za

you can thing ping the router (should be second address)

hope this helps.

[8D]
 
Wait, I thought that worked then i realized I've been pinging sentech's ip address all along...grr. Okies, so the 1st address is the router at 192.168.1.1. So I can't get the modem ip address? Like before when I was connected directly with the usb cable?
 
<i>IF</i> the router has its own IP address then it should be the first address actually since its the first "hop" so then yes, it is probably similar to your local private address. The public addresses will start just after that. I dont think you will be able to get your sentech IP address that way though. Not 100% sure. You do get apps that can give you your public IP address and private IP addresses so that you can set up NAT. Not sure if I have one lying around.
 
I see in the router setting there is a WAN IP, could that be it?
 
Maybe this will help. Try this site http://checkip.dyndns.org/
 
Yup, that must be it. It gives me the same ip as the wan ip on the router. Thanks guys.
 
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by greedyflyza</i>
<br /><i>IF</i> the router has its own IP address then it should be the first address actually since its the first "hop" so then yes, it is probably similar to your local private address. The public addresses will start just after that.
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">
The router should actually have two IP addresses: one for your private net (192.168.something or 10.something), and one for the Internet (the MyWireless IP). Traceroute would probably show the router's IP on the private side first, followed by your Sentech IP address (I think). The router *must* be doing NAT already then, otherwise the Internet would not work from the computers on the private subnet.
 
Traceroute shows the responsing IP of the router, so on a NAT network it'll show the private IP, and then next the IP of the router after the wireless link.

But you can use record route functionality of the ping command to get the IP.
ping -r count dest (where count is the number of hops to record) for WindowsXP (not sure about older versions)
and ping -R dest for *nix

The first entry in the RR will be your IP

But yeah, the WAN IP on the router will be your public IP [:)]

--
 
Top
Sign up to the MyBroadband newsletter
X