Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. check

check

Scheduled Pinned Locked Moved System Admin
tutorialquestion
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    Yoyosh 0
    wrote on last edited by
    #1

    How to check on WinXP if the connection to Internet has public IP address (is not behind NAT)?

    T 1 Reply Last reply
    0
    • Y Yoyosh 0

      How to check on WinXP if the connection to Internet has public IP address (is not behind NAT)?

      T Offline
      T Offline
      toxcct
      wrote on last edited by
      #2

      what does this have to do with XP ? BTW, can't you write a script (at least), or your own exe to check this ?


      TOXCCT >>> GEII power

      [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

      Y 1 Reply Last reply
      0
      • T toxcct

        what does this have to do with XP ? BTW, can't you write a script (at least), or your own exe to check this ?


        TOXCCT >>> GEII power

        [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

        Y Offline
        Y Offline
        Yoyosh 0
        wrote on last edited by
        #3

        Men this is a one command, why u need a special script for it?? I wrote about WinXP, coz I`m using it and I would be thankfull for that WinXP-command

        D 1 Reply Last reply
        0
        • Y Yoyosh 0

          Men this is a one command, why u need a special script for it?? I wrote about WinXP, coz I`m using it and I would be thankfull for that WinXP-command

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          Get the IP address of the machine and see if it is in one of the IP ranges reserved for private use. These are 10.0.0.0 - 10.255.255.255, 172.16.0.0 - 172.31.255.255, 192.168.0.0 - 192.168.255.255. IF the address falls into these ranges, then it's a private IP, not routable on the 'Net. But, even if the address does NOT fall into these ranges, this does NOT mean that the address does not sit behind a NAT or other firewall. There is no reliable way to tell if the address you get is publicly accessible from the outside 'Net.

          Dave Kreskowiak Microsoft MVP - Visual Basic

          K 1 Reply Last reply
          0
          • D Dave Kreskowiak

            Get the IP address of the machine and see if it is in one of the IP ranges reserved for private use. These are 10.0.0.0 - 10.255.255.255, 172.16.0.0 - 172.31.255.255, 192.168.0.0 - 192.168.255.255. IF the address falls into these ranges, then it's a private IP, not routable on the 'Net. But, even if the address does NOT fall into these ranges, this does NOT mean that the address does not sit behind a NAT or other firewall. There is no reliable way to tell if the address you get is publicly accessible from the outside 'Net.

            Dave Kreskowiak Microsoft MVP - Visual Basic

            K Offline
            K Offline
            kestrel_chan
            wrote on last edited by
            #5

            In fact, you can't really know the ip is really from a public ip or connect behind NAT since you should not know any private IP behind NAT. However, I found that MSN PLUS can detect show both the public and private IP of the user. I don't know why it can do it as well. I can just guess MSN PLUS may know the algoithm of traslation IP in router so that it can show the private IP.

            D 1 Reply Last reply
            0
            • K kestrel_chan

              In fact, you can't really know the ip is really from a public ip or connect behind NAT since you should not know any private IP behind NAT. However, I found that MSN PLUS can detect show both the public and private IP of the user. I don't know why it can do it as well. I can just guess MSN PLUS may know the algoithm of traslation IP in router so that it can show the private IP.

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              MSN Plus can show it because that information is in the headers of the HTTP request and IP packets used to send them. The information he's looking for is built up during the transfer of the packets down the network. It is NOT all put into the packets before they leave the client machine, only some of it is. The network itself puts the rest of the information in.

              Dave Kreskowiak Microsoft MVP - Visual Basic

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups