Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-15-2004, 01:15 AM   #1
LQ Newbie
Registered: Oct 2003
Distribution: Mandrake and RH
Posts: 22

Rep: Reputation: 15
Exclamation Finding out DHCP Servers

Hi all there.

Does anybody know how can I obtain which servers are working as DHCP servers?? Do exist any command or application that I can use to do this??

I have a number of PCs that are connecting with DHCP but are obtaining IPs that my DHCP server did not provided to them, and I'd like to know if there is another server acting as DHCP server.

Thanks guys...
Old 04-15-2004, 01:24 AM   #2
Senior Member
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
When you ask for an IP you broadcast a DCH request to all connected to the same broadcast domain (same cable, same hub/swithch).
All DHCP servers send a response provided that your client is good for an IP, which normally is every DHCP answering.

Your computer will normally take the IP of the first incoming answers.
You can have a look in the log /var/log/messages or run the dhcp client in debug mode as a foreground process to see what addresses you get offered and from where.
Old 04-15-2004, 02:44 AM   #3
LQ Newbie
Registered: Oct 2003
Distribution: Mandrake and RH
Posts: 22

Original Poster
Rep: Reputation: 15
Yes, ok, this solve this case, but I really need to locate every DHCP Server in the network "by hand". I used nmap this way:

# nmap -sU -P0 -p 67 <network>/<mask>

that works fine, but I'd like to know if perhaps exists an utility to do this.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Two DHCP Servers mesh2005 Linux - Networking 3 10-16-2005 05:26 AM
DHCP problems - multiple DHCP servers sat86 Linux - Networking 4 10-02-2005 05:43 AM
2 DHCP servers on a network olefemmy Linux - Networking 2 11-19-2004 10:27 AM
2 dhcp servers, 1 network... 330Pilot Linux - Networking 5 10-12-2003 04:10 PM
Finding all ip addresses from your dhcp servers J-Stew Linux - Networking 1 08-27-2002 07:19 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration