If router is undefined only show IPs