NavigationUser loginWho's onlineThere are currently 1 user and 27 guests online.
Online usersLinux NewsClick the above for your daily dose of Linux news. Food for ThoughtThe government of the United States is not, in any sense, founded on the Christian religion. Spam?See spam posts on this site? If so, please don't reply to the spam! Instead, just report the URL to the webmaster. |
How to get the list of DHCP server's IP address in local network?Hi, * I am using the Debian Flavor of Linux. Currently. The kernel version is 2.6.18-4-686. * Is there any debian command or configuration is available for finding the DHCP server's ip list?. |
How to get the list of DHCP
The list and other information is only available to the administrator of the DHCP server. Unless you care to attempt to crack the DHCP server or the daemon, there is no other way (well, maybe if the admin sets up a web page to show that info - but why would they). Of course you can use tools to broadcast messages and see what replies you get, but that will only work on the local subnet (or in some cases, bridged subnets) - since a DHCP server can run on numerous subnets, using broadcasts doesn't really give you a full list.
Reason for getting the different IP
Thank you for the reply.
* Somtimes, the windows machine is getting the ip address
in 169 series even though it is configured to get the Ip through DHCP.
* we are having only one DHCP server. Out Network range is configured in 192 series. But, windows machine is getting 169 series ip.
What may be the reason?
Reason for getting the different IP
If WinDos cannot negotiate with a DHCP server it will drop back to a 169 address. Possible problems are bad cable, bad NIC, and bad network topology.
Re: How to get the list of DHCP
The best way is just to sniff on (use Wireshark) the eth interface (the one that you want to get ip on),
if all ok from the DHCP Server side you will get your range in the DHCP offer packet,
if you do not get an offer from the server means that you have connectivity problem,
but since you get a 169.X.X.X ip that means that you do not get any offer,
so you fall back to default one.
Re: How to get the list of DHCP server's IP address in local net
hi.. netwag (gui) and netwox (command line with more) from debian repositories are the answers.