check
-
How to check on WinXP if the connection to Internet has public IP address (is not behind NAT)?
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! ]
-
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! ]
-
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
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
-
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
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.
-
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.
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