print first mac+ip+port and check if it changes in the file