exports public and private ip assignments to txt