Discovering the default gateway without DHCP

Posted by JavaRocky on Stack Overflow See other posts from Stack Overflow or by JavaRocky
Published on 2010-05-21T06:04:56Z Indexed on 2010/05/21 6:20 UTC
Read the original article Hit count: 232

Filed under:
|
|

A crazy question, but is there anyway to discover the default gateway without DHCP?

This would be for a device on a network which does not use DHCP which does not have an IP address as yet. I was thinking if I could discover the default gateway, then i could try to guess an unused ip address then broadcast on the network to see if it's being used.

I may be asking for trouble i understand. E.g. if there is already a computer which has a static IP and is shutdown.

© Stack Overflow or respective owner

Related posts about dhcp

Related posts about gateway