When adding votes using the function
Mage_Rating_Model_Resource_Rating_Option::addVote the ip will be set from
Mage::helper('core/http')->getRemoteAddr() on creation of entity but not on update.
So from what I see here you have two options.
- Create your own function for adding votes and ignore the automatic setting of ip,
- Call the add twice once to insert and then once more to update,
- Import the items directly in sql,
I would suggest that maybe the first option would be good for you, since this appears to be an import more than a creation of new reviews, though if this is the case it might also be worth investigating creating your own import script and simply dealing directly with all the appropriate models or and even scarier option would be to import directly to mysql.....but do not do this unless you have backups and knowledge of what you are doing.