From owner-freebsd-isp Tue Aug 18 14:21:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA28349 for freebsd-isp-outgoing; Tue, 18 Aug 1998 14:21:57 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from mail.craxx.com (craxx.com [195.108.198.119]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA28336 for ; Tue, 18 Aug 1998 14:21:52 -0700 (PDT) (envelope-from lva@dds.nl) Received: from uptight (classless.student.utwente.nl [130.89.230.96]) by mail.craxx.com (8.9.1/8.9.1) with ESMTP id XAA19313 for ; Tue, 18 Aug 1998 23:21:00 +0200 From: "laurens van alphen" To: Subject: traffic accounting for interface aliases (how?) Date: Tue, 18 Aug 1998 23:20:38 +0200 Message-ID: <001901bdcaee$0b8fe9d0$0a00a8c0@uptight.student.utwente.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hiya, we're a webdesign and hosting provider moving from linux to freebsd. while we're really satisfied with freebsd, we'd like you ideas about traffic accounting for interface aliases. example: for virtual hosting we alias up to a full c class to a single interface using the ifconfig ed0 inet a.b.c.d netmask 0xffffffff alias command. now we'd like to produce statistics on the amount of bytes (octets, not packets) transferred from and to each ip individually. thus if:ip:octetsin:octestout ed0:192.168.0.1:4342:3125 ed0:192.168.0.2:7654:5435 . . . etc. currently we're looking at a ucd-snmpd/mrtg solution but it seems snmp only provides numbers for the entire interface (ed0 in this case, not every single ip). we use ipfw for firewalling, can i add rules for octet counting? could someone provide examples? what do you guys use? cheers, -- laurens van alphen craxx e-consultants alphen@craxx.com http://craxx.com/ -- the information contained in this communication is confidential and may be legally privileged. it is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. if you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance of the contents of this information is strictly prohibited and may be unlawful. craxx is either liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message