I have a router with an unknown IP address with no functioning DHCP server.

I have to connect to the router using a static (non-DHCP) IP (I have tried several including The link LED suggests that I do have a wired ethernet link.

I want to find out the IP (v4) and subnet that the router responds to.

I have tried using a netmask of and pinging the broadcast address but no response has been received from the router.

nmap scanning would probably take a very long time as I don't have any idea what subnet the router is on - it could be 10.x.x.x or 172.x.x.x or 192.168.x.x

Are there any other ways to discover hosts' IP addresses when very little is known about the network topology and the subnet could be anything?

  • Is the router installed? or is this a router which you need to configure? What is the make and model of this router? Feb 19, 2021 at 5:25
  • It's a ubiquiti edgerouter X sfp which I bricked whilst updating openwrt. I'm getting a link light when I plug in Ethernet, suggesting it's not completely dead and I was hoping I could get some response from the box, if I could ascertain the correct network address. But no DHCP or response to any broadcast packets and the arp table remains empty. Reset doesn't seem to do much. Going to try to get working serial today
    – moo
    Feb 19, 2021 at 8:14
  • And you've tried setting your client machine to have a static IP on 192.168.1.X? and tried hitting Feb 19, 2021 at 18:54
  • Yes-no response on unfortunately. I think the flash may have failed during the upgrade as serial is not producing any output. Might be time to give up :( thanks for your help, upvoted
    – moo
    Feb 19, 2021 at 19:31

2 Answers 2


Connect a machine to the network / router. Run wireshark or tcpdump to capture packets. Look at captured packets to see what addresses and subnets are used.

Try going in on serial: reset instructions. Docs say it'll come up on

enter image description here


This is more of a netsec question but I think dumping the ARP table (arp-a) could work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.