How to detect DHCP server in a LAN under a Ubuntu linux client
Hello friends
As I remember, there is tool called dhcpd-test in Suse Linux, it can detect the DHCP server in LAN, but I don't know what it is under Ubuntu. Can anyone tell me there are some tools can be used for detecting DHCP server in LAN under Ubuntu? |
one way is to use sniffer tool such as tcpdump or wireshark, then send a DHCP request.
|
use a network tool such as nmap
for example : # nmap 192.168.1.0/16 -p 53 (port 53 is dns) |
Do you want to find out the IP address of the DHCP server that granted your computer a lease or do you want to scan the network for DHCP servers?
|
Quote:
Hi catkin, That is what I want to know , do you know some similar tool like dhcpd-test under Ubuntu? so I can detect how many dhcp server working in the LAN. |
There's a solution at http://www.unix.com/ip-networking/17...-discover.html
|
All times are GMT -5. The time now is 10:19 AM. |