From owner-freebsd-questions Thu May 17 23:27: 0 2001 Delivered-To: freebsd-questions@freebsd.org Received: from casimir.physics.purdue.edu (casimir.physics.purdue.edu [128.210.146.111]) by hub.freebsd.org (Postfix) with ESMTP id 0107C37B424 for ; Thu, 17 May 2001 23:26:54 -0700 (PDT) (envelope-from will@physics.purdue.edu) Received: by casimir.physics.purdue.edu (Postfix, from userid 1000) id 3D82218A47; Fri, 18 May 2001 01:26:38 -0500 (EST) Date: Fri, 18 May 2001 01:26:38 -0500 From: Will Andrews To: questions@FreeBSD.org Subject: Promiscuous mode? Message-ID: <20010518012637.Q26877@casimir.physics.purdue.edu> Reply-To: Will Andrews Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i X-Operating-System: Linux 2.2.18 sparc64 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: X-Loop: FreeBSD.ORG Hello, I'm trying to graph the usage of a DSL line which is connected to a hub, to which several computers are connected to. However, since the traffic is not going through my computer, I need to figure out a way to have it watch all the traffic on the hub, and from what I understand, I need to put the NIC in promiscuous mode. So the first question would be: how do I put it in promiscuous mode 100% of the time, besides starting a sniffer like tcpdump et al? I couldn't find anything in ifconfig(8) to do that. Then the second question would be: would net-snmp (daemon) actually be looking at all the traffic? The reason I ask is because it appears that traffic not destined for the NIC's MAC isn't shown to anyone but root. Though I suppose that doesn't matter since the SNMP daemon is running as root... TIA, -- wca P.S. Please keep me on Cc:, I'm not subscribed to questions@. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message