printout ip and selfindex