From owner-freebsd-isp Tue Aug 24 13:53: 7 1999 Delivered-To: freebsd-isp@freebsd.org Received: from oak.iea-software.com (oak.iea-software.com [207.53.165.4]) by hub.freebsd.org (Postfix) with ESMTP id 5E2011522D for ; Tue, 24 Aug 1999 13:52:52 -0700 (PDT) (envelope-from shawn@bsdguy.com) Received: from sycamore (unverified [207.53.165.36]) by oak.iea-software.com (Rockliffe SMTPRA 3.4.2) with SMTP id ; Tue, 24 Aug 1999 13:39:29 -0700 Message-ID: <036301beee72$9ddd48c0$24a535cf@ieasoftware.com> From: "Shawn Workman" To: "Stuart Henderson" , "Dominik Brettnacher" Cc: References: <37C302EC.45A675B8@eclipse.net.uk> Subject: Re: IP Accounting Date: Tue, 24 Aug 1999 13:52:45 -0700 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.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I always see that my NIC is in promiscuous mode, is that a bad thing? how do I change it if it is? ----- Original Message ----- From: Stuart Henderson To: Dominik Brettnacher Cc: Sent: Tuesday, August 24, 1999 1:39 PM Subject: Re: IP Accounting > > I want to account the traffic between two of our systems by using a > > third box that is connected to the same ethernet that the other two > > are using. How do I set up this? > > One way is to route _through_ the accounting box, then you > can simply do, > > ipfw a 100 pass ip from %%% to ### > ipfw a 200 pass ip from ### to %%% > > and you can do "ipfw s" to show how many bytes and packets > passed through. If this is for stats for your own boxes rather > than billing, you could just add ipfw rules on the boxes > themselves. > > I haven't investigated this in depth yet but it is likely that > software like /usr/ports/net/trafshow might help as well, though > that would require you to put the network card in promiscuous > mode. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message