You can use this module to add an IP address or an IP range to your node. Also you can configure the form to reject private IPs.
IP ranges can be restricted with CIDR prefixes.
Installation
Unpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules.
Requirements:
· Drupal 5.x
Top 4 Download periodically updates information of CCK IP Address 5.x-1.x-dev script from the developer, but some information may be slightly out-of-date.
Our script download links are directly from our mirrors or publisher's website. CCK IP Address 5.x-1.x-dev torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!