1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Programatic issue

Discussion in 'Networking Issues' started by Galaxy_Stranger, Nov 17, 2006.

  1. Galaxy_Stranger

    Galaxy_Stranger LI Guru Member


    I'm writing an application that passes command-line strings to another executable in Windows. Is there a way to either programatically or at the command line to determine the outside IP Address that the router is receiving from the ISP?

    I was thinking there would be some sort of command you could send to the router to get this information.
  2. sufrano63

    sufrano63 Network Guru Member

    at the dos prompt type ipconfig /all. That would give you information about your network settings including your WAN IP address
  3. Galaxy_Stranger

    Galaxy_Stranger LI Guru Member

    Well, I thought of that and it wasn't quite giving me what I needed.

    Ok, I normally have a static IP on this comp, and it didn't give me any info on the WAN IP. So, I switched to DHCP and it still doesn't give me any WAN IP information. The closest thing I get is the Default Gateway, which is of course the router.

    What should I be looking for?
  4. trignet

    trignet LI Guru Member

  5. jackjimmy

    jackjimmy Networkin' Nut Member

    Ability to follow the details of all past development trends, even those dating back to the time before deployment of Programeter.

Share This Page