Analyze IP

  • Thread starter Thread starter Stanley
  • Start date Start date
S

Stanley

Hi all! Can someone tell me how to know whether an IP address is in
local network or out side? Thanks!
 
Stanley,

That is very depending how the IP address is used (given).

You can have a static IP addresses belonging to the world domain
You can have a static IP addresses inside your domain
You can have a leased IP addresses inside your domain
You can have a leased IP address given by your Interenet Provider
You can use an official range inside the private area (starting with 168, 10
or 150)
You can have made a wall between your IntraNet and InterNet and use all kind
of IP addresses.
Probably there is even more.

If the IP address starts with 10 than you are almost sure that it is an
intern IP address.

Another fact is that you can have more IP addresses on one computer. One of
those is used than mixed or special to reach an other domain. However you
never know how inteligent the administrator has created with the router a
way for routing IP addresses.

If you want to know the domain of a computer, than you can of course use the
environment class for that.

http://msdn.microsoft.com/library/d...systemenvironmentclassuserdomainnametopic.asp

I hope that this gives an idea

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top