LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-17-2012, 04:34 AM   #1
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
How to solve repeated DHCPDISCOVER requests?


Message sets like this are appearing in the dhcpd log every 10 seconds:
Code:
May 17 14:52:46 LS1 dhcpd: Adap-lease: Total: 20, Free: 8, Ends: 110, Adaptive: 600, Fill: 25, Threshold: 75
May 17 14:52:46 LS1 dhcpd: DHCPDISCOVER from 00:1b:11:1f:98:d6 (PS-1F98D6) via eth0
May 17 14:52:46 LS1 dhcpd: DHCPOFFER on 192.168.3.31 to 00:1b:11:1f:98:d6 (PS-1F98D6) via eth0
AFAIK that shows the device with MAC address 00:1b:11:1f:98:d6 is repeatedly requesting and IP address and being offered one but does not accept it. It does not show in arp -a output.

The network support person is unable to help. Is there any way to identify the device?
 
Old 05-17-2012, 08:19 AM   #2
nikmit
Member
 
Registered: May 2011
Location: Nottingham, UK
Distribution: Debian
Posts: 178

Rep: Reputation: 34
Look at the mac address tables on your switches. They map MAC addresses to port numbers. Once you know which port that PC is plugged in, you should be able to locate it.
 
Old 05-17-2012, 08:37 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Thanks nikmit

Unfortunately I don't have access to the switches but I will suggest it to the network support person.

Anticipating no fast response from him, is anything else possible?
 
Old 05-17-2012, 09:02 AM   #4
nikmit
Member
 
Registered: May 2011
Location: Nottingham, UK
Distribution: Debian
Posts: 178

Rep: Reputation: 34
Well as much as that client is obviously not getting an IP, you could drop these requests. This will save you the logs. If you feel adventurous and/or your environment allows it, you can drop more aggressively (is that machine out of date, or compromised?) and wait for someone to come with a support request to you for it
 
1 members found this post helpful.
Old 05-17-2012, 09:17 AM   #5
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by nikmit View Post
If you feel adventurous and/or your environment allows it, you can drop more aggressively (is that machine out of date, or compromised?) and wait for someone to come with a support request to you for it
That suggestion, which will almost inevitably be seen as unhelpful by someone irrespective of whether the PC was currently able to work, was on my list, too.

One thing that may be possible, depending on the total number of ports that you would have to scan, would be to have a look at the 'blinkenlights'. Anything that has a particularly regular pattern, say a flash or a double flash every ten seconds is automatically suspect. Particularly, out of normal hours.

Quote:
Anticipating no fast response from him...
...that seems like a reasonable presupposition, then if you are wrong it is a pleasant surprise...

Remember, it isn't necessarily a particularly complex fault - it could be something as moronic as one of the wire pairs in the ethernet being bad, so the data can only go in one direction, or something.
 
1 members found this post helpful.
Old 05-18-2012, 12:15 AM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Thanks nikmit and salasi -- for the advice and the humour

I will give the network support person a while to identify the device and, if nothing comes of that, have a look for flashing NIC LEDs out of hours. If that doesn't identify the device, I will configure it out of the DHCP config.
 
Old 05-21-2012, 05:09 AM   #7
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
I don't understand the details but after speaking with the network support person ...
  1. The rogue device is a printer server.
  2. The network uses D-link switches.
  3. The network is configured with VLANs.
  4. The rogue device is attempting to do a "MAC rendezvous". I have found references to this term online but no explanation; the overwhelming majority of netsearch hits are about Apple computers and a software that used to be called Rendezvous. A more targeted netsearch did not find an explanation either.
  5. The "MAC rendezvous" broadcasts are incorrectly being passed by the switches to the VLAN with our Debian DHCP server and incorrectly being interpreted as DHCPDISCOVER requests.
  6. Because of the VLAN configuration the DHCPOFFER packets are not reaching the printer server (which would presumably ignore them anyway because it never sent a DHCPDISCOVER ... ?).
  7. There is some hope of a resolution by upgrading the firmware in the D-link switches (and maybe the printer server).
  8. Meanwhile a workaround is to configure our Debian server's NICs for VLAN 30.
Sounds messy. I will try the suggested workaround.

Last edited by catkin; 05-21-2012 at 05:10 AM. Reason: typodynamics
 
Old 05-21-2012, 05:23 AM   #8
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
It really seems like this should be 'somebody else's problem...', but

Quote:
Originally Posted by catkin View Post
  1. The rogue device is attempting to do a "MAC rendezvous". I have found references to this term online but no explanation; the overwhelming majority of netsearch hits are about Apple computers and a software that used to be called Rendezvous. A more targeted netsearch did not find an explanation either.
  2. The "MAC rendezvous" broadcasts are incorrectly being passed by the switches to the VLAN with our Debian DHCP server and incorrectly being interpreted as DHCPDISCOVER requests.
Rendezvous/Avahi/mDNS (etc) are broadly similar protocols; I think that the list of capabilities may be slightly different between the different versions and different vintages, but they all work along similar lines. This is all quite similar to DHCPDISCOVER (in intent), so I guess a level of confusion may be understandable.

I have to ask, failing some one responsible for network support taking an interest (which is what ought to happen), to what extent is it a real problem, and to what extent is it just an irritating little thing that you could ignore (while still pointing out that it somebody else's problem)?
 
1 members found this post helpful.
Old 05-21-2012, 05:34 AM   #9
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by salasi View Post
I have to ask, failing some one responsible for network support taking an interest (which is what ought to happen), to what extent is it a real problem, and to what extent is it just an irritating little thing that you could ignore (while still pointing out that it somebody else's problem)?
Thanks salasi

The only real problem is filling the dhcpd log, obscuring perhaps relevant messages. AFAIK from nikmit's advice earlier in this thread, that problem could be solved by configuring dhcpd to drop requests from the problem device's MAC address.

Against that solution is a general desire to keep things simple, to keep configurations clean and minimal with "no surprises" for ease of future maintenance.

In the light of those considerations and being pragmatic, solution by dhcpd configuration is more attractive than configuring a VLAN on the server's NIC ...
 
Old 05-29-2012, 01:46 AM   #10
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
The problem "went away" several days ago and the network support person has not responded to my "did you change anything" mail.

Marking this thread SOLVED.
 
  


Reply



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
how to solve solve broken shell problem prasanth.george Red Hat 1 01-21-2011 09:48 AM
FC 10: Samba. Shared folder getting repeated login requests for just one user 1ill Linux - Newbie 4 08-07-2009 09:13 AM
DHCPDISCOVER is FRUSTRATING!!! willwright Linux - Newbie 5 03-17-2008 12:16 PM
Dhcpdiscover go_joe Linux - Networking 4 06-13-2006 01:08 PM
Limiting DHCPDISCOVER on boot 1madstork Debian 7 03-01-2005 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:12 PM.

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