router ip detection solution