We have an application that logs the user IP address. Management wants to see a report how many requests were from with in the orgnization and how many from outside. How can I determine wheather the given ip address is internal or external? Thanks in advance. Achit
-----------------------------------<br />"Life is game,Cricket is serious."<br />-----------------------------------
Ask your network admin what your organization's internal address range is. RFC 1918 specifies 3 blocks of addresses which are not assigned publically and are free for intranet use: 10.0.0.0 - 10.255.255.255 (10/8 prefix) 172.16.0.0 - 172.31.255.255 (172.16/12 prefix) 192.168.0.0 - 192.168.255.255 (192.168/16 prefix) A hit from within these ranges should be from an internal client.