removes ip gag, gets ip from service network