[nzlug] wan ip address

Sid Bachtiar sid.bachtiar at gmail.com
Thu Jul 27 20:34:23 NZST 2006


> You don't mention what sort of router you're using - is it working as
> a "proper" full modem, or as a half bridge? (Meaning that the IP
> address will actually be sitting on the machine itself)

Hi I'm using an ADSL modem that is also a router (Dicksmith one). In
WinXP under DOS, I can type 'ipconfig' and it will tell me my local ip
and my wan ip. I've been looking for similar command that'll give me
the information.

I need this to do dynamic DNS. At the moment I'm using an external
service to tell ddclient of my WAN address.

>
> Any easy way is simply to look at the output of a web page like
> http://www.whatsmyip.org/ or similar (google for others) - a word of
> warning, however, if you're behind a proxy (transparent or otherwise)
> you may not see you're real IP, but that of the proxy server.

I think its better if I can obtain the information from command line
rather than from an external website. But perhaps that's how DOS
ipconfig does it? hmmm




More information about the NZLUG mailing list