From owner-freebsd-stable Mon Mar 27 20:53:29 2000 Delivered-To: freebsd-stable@freebsd.org Received: from jking1.lgc.com (jking1.lgc.com [134.132.228.2]) by hub.freebsd.org (Postfix) with ESMTP id 9AA0F37B96B for ; Mon, 27 Mar 2000 20:53:26 -0800 (PST) (envelope-from king@sstar.com) Received: from marble (marble [134.132.228.8]) by jking1.lgc.com (8.9.3/8.9.3) with SMTP id WAA04931; Mon, 27 Mar 2000 22:53:09 -0600 (CST) (envelope-from king@sstar.com) Message-ID: <004f01bf9871$848e7c00$08e48486@marble> From: "Jim King" To: "Cy Schubert - ITSD Open Systems Group" , "David Gilbert" Cc: References: <200003280440.UAA07738@cwsys.cwsent.com> Subject: Re: 4.0-STABLE dhcp conflicts. Date: Mon, 27 Mar 2000 22:53:09 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, March 27, 2000 10:40 PM, Cy Schubert - ITSD Open Systems Group wrote: > n message <14559.40450.544687.51037@trooper.velocet.net>, David Gilbert > writes > : > > It appears that when I run two (not sure if one does it) tcpdumps on > > the dhcp server, the dhcp clients don't get any responses to their > > queries. Is there some flaw in the dhcpd bpf rules? > > I suspect that the dhcp server set the interface to promiscuous mode so > it can listen for broadcasts. Tcpdump sets up an interface for > promiscuous opertion and when you exit tcpdump it returns it to > non-promiscuous operation. Killing and restarting your dhcp server > after exiting tcpdump should solve your problem, as it will set the > interface up for promiscuous operation again. I regularly run (and exit) tcpdump and it doesn't affect my DHCP server (isc-dhcp2). dhcpd keeps on handing out leases after tcpdump has exited. syslog has "promiscuous mode enabled" and "promiscuous mode disabled" when I start and exit tcpdump, which is a bit confusing. I'm guessing that promiscuous mode is on the entire time and the messages really mean something like "promiscuous mode reference count incremented/decremented". Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message