[Dnsmasq-discuss] Logging of DHCP activity

dnsmasq at lovelady.com dnsmasq at lovelady.com
Wed May 25 14:18:46 BST 2011


That would be amusing if it wasn't sad.  How does a network loop?

The reason the for the repeated dhcp requests was implied in my prior
message, but I will spell it out: I had two interfaces to which a single IP
address was allocated, and the Winbolws machine objected (rightfully).

But to the point: Are you saying that if I have a network configuration
error or a device on my network acts incorrectly, then it's OK for services
I have running on that system (dnsmasq, in this case) to ignore their
configuration parameters and act at will?  I hope not, but that is what it
sounds like.

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"If you become a star, you don't change, everyone else does."
        -- Kirk Douglas 
> -----Original Message-----
> From: SamLT [mailto:samuel.lethiec at intelunix.fr]
> Sent: Wednesday, May 25, 2011 7:14 AM
> To: dnsmasq at lovelady.com
> Cc: dnsmasq-discuss at thekelleys.org.uk
> Subject: Re: [Dnsmasq-discuss] Logging of DHCP activity
> 
> 
> On Wed, May 25, 2011 at 05:49:40AM -0400, dnsmasq at lovelady.com wrote:
> > Hi, All:
> >
> >
> >
> > I woke today to find that for the second time my /var/log filesytem
> was full
> > due to the size of the messages log.  This time and last time, the
> log was
> > over 95% due to dhcp logging, and I don't understand why.   I have
> commented
> > out the log-dhcp line in /opt/etc/dnsmasq.conf (where my
> configuration
> > lives), and have moved the messages file and restarted (rebooted) the
> > server.  Each time, the logging of dhcp requests begins flooding anew.
> >
> >
> 
> 
> 
> I'd say you probably have a loop in your network, check that first.
> 
> 
> >
> > These requests seem to come from a pair of interfaces on a Winblows 7
> > machine, if that makes any difference, and apparently were the result
> of
> > this configuration line:
> >
> >
> >
> > dhcp-host=00:1d:09:59:7b:7c,00:21:5c:6a:03:ef,192.168.0.10,m1330c
> >
> >
> >
> > . because I had interpreted the manual differently.  Clarity has
> arrived - I
> > have disabled the wireless on the laptop - and logging is much less,
> but I
> > still wonder why this logging continues.  What must I do to make it
> stop?
> >
> >
> >
> > Here's the tail of that log:
> >
> >
> >
> > lovestora-1 /home/delovelady> tail -20 /home/messages
> >
> > May 24 05:08:20 lovestora-1 dnsmasq-dhcp[2037]: DHCPREQUEST(eth0)
> > 192.168.0.10 00:1d:09:59:7b:7c
> >
> > May 24 05:08:20 lovestora-1 dnsmasq-dhcp[2037]: DHCPACK(eth0)
> 192.168.0.10
> > 00:1d:09:59:7b:7c m1330c
> >
> > May 24 05:08:21 lovestora-1 dnsmasq-dhcp[2037]: DHCPDISCOVER(eth0)
> > 192.168.0.10 00:1d:09:59:7b:7c
> >
> > May 24 05:08:21 lovestora-1 dnsmasq-dhcp[2037]: DHCPOFFER(eth0)
> 192.168.0.10
> > 00:1d:09:59:7b:7c
> >
> > May 24 05:08:21 lovestora-1 dnsmasq-dhcp[2037]: DHCPREQUEST(eth0)
> > 192.168.0.10 00:1d:09:59:7b:7c
> >
> > May 24 05:08:21 lovestora-1 dnsmasq-dhcp[2037]: DHCPACK(eth0)
> 192.168.0.10
> > 00:1d:09:59:7b:7c m1330c
> >
> > May 24 05:08:22 lovestora-1 dnsmasq-dhcp[2037]: DHCPDISCOVER(eth0)
> > 192.168.0.10 00:1d:09:59:7b:7c
> >
> > May 24 05:08:22 lovestora-1 dnsmasq-dhcp[2037]: DHCPOFFER(eth0)
> 192.168.0.10
> > 00:1d:09:59:7b:7c
> >
> > May 24 05:08:22 lovestora-1 dnsmasq-dhcp[2037]: DHCPREQUEST(eth0)
> > 192.168.0.10 00:1d:09:59:7b:7c
> >
> > May 24 05:08:22 lovestora-1 dnsmasq-dhcp[2037]: DHCPACK(eth0)
> 192.168.0.10
> > 00:1d:09:59:7b:7c m1330c
> >
> > May 24 05:08:23 lovestora-1 dnsmasq-dhcp[2037]: DHCPDISCOVER(eth0)
> > 192.168.0.10 00:1d:09:59:7b:7c
> >
> > May 24 05:08:23 lovestora-1 dnsmasq-dhcp[2037]: DHCPOFFER(eth0)
> 192.168.0.10
> > 00:1d:09:59:7b:7c
> >
> > May 24 05:08:23 lovestora-1 dnsmasq-dhcp[2037]: DHCPREQUEST(eth0)
> > 192.168.0.10 00:1d:09:59:7b:7c
> >
> > May 24 05:08:23 lovestora-1 dnsmasq-dhcp[2037]: DHCPACK(eth0)
> 192.168.0.10
> > 00:1d:09:59:7b:7c m1330c
> >
> > May 24 05:08:24 lovestora-1 dnsmasq-dhcp[2037]: DHCPDISCOVER(eth0)
> > 192.168.0.10 00:1d:09:59:7b:7c
> >
> > May 24 05:08:24 lovestora-1 dnsmasq-dhcp[2037]: DHCPOFFER(eth0)
> 192.168.0.10
> > 00:1d:09:59:7b:7c
> >
> > May 24 05:08:24 lovestora-1 dnsmasq-dhcp[2037]: DHCPREQUEST(eth0)
> > 192.168.0.10 00:1d:09:59:7b:7c
> >
> > May 24 05:08:24 lovestora-1 dnsmasq-dhcp[2037]: DHCPACK(eth0)
> 192.168.0.10
> > 00:1d:09:59:7b:7c m1330c
> >
> > May 24 05:08:25 lovestora-1 dnsmasq-dhcp[2037]: DHCPDISCOVER(eth0)
> > 192.168.0.10 00:1d:09:59:7b:7c
> >
> > lovestora-1 /home/delovelady>
> >
> >
> >
> > Here are all the uncommented lines from dnsmasq.conf:
> >
> >
> >
> > lovestora-1 /home/delovelady> grep -v '^#' /opt/etc/dnsmasq.conf |
> grep -v
> > '^$'
> >
> > domain-needed
> >
> > bogus-priv
> >
> > expand-hosts
> >
> > domain=lovelady.com
> >
> > dhcp-range=192.168.0.10,192.168.0.109,7d
> >
> > dhcp-host=88:87:17:12:69:4d,canon-8120,192.168.0.5,infinite
> >
> > dhcp-host=00:23:8b:8a:ad:70,aspire,192.168.0.12,infinite
> >
> > dhcp-host=00:26:F2:DB:95:0C,lovestora-0,192.168.0.250,infinite
> >
> > dhcp-host=00:1d:09:59:7b:7c,00:21:5c:6a:03:ef,192.168.0.10,m1330c
> >
> > dhcp-option=3,192.168.0.1
> >
> > dhcp-option=option:router,192.168.0.1
> >
> > lovestora-1 /home/delovelady>
> >
> >
> >
> >
> >
> > Dennis Lovelady
> > 404-386-9745 (c)
> > AIM/Skype: delovelady      MSN: fastcounter at lovelady.com
> > --
> > "A banker warned the British poet Robert Graves that one could not
> grow rich
> > writing poetry.  He replied that if there was no money in poetry,
> there was
> > certainly no poetry in money, and so it was all even."
> >        - Robert Graves
> >
> >
> >
> >  <http://www.linkedin.com/in/dennislovelady> View Dennis Lovelady's
> profile
> > on LinkedIn
> >
> >
> >
> 
> 
> 
> > _______________________________________________
> > Dnsmasq-discuss mailing list
> > Dnsmasq-discuss at lists.thekelleys.org.uk
> > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss





More information about the Dnsmasq-discuss mailing list