Change ip from sample