This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] can one do traffic accounting on bridged domU's?

To: Thomas Goirand <thomas@xxxxxxxxxx>
Subject: Re: [Xen-users] can one do traffic accounting on bridged domU's?
From: Rudi Ahlers <rudiahlers@xxxxxxxxx>
Date: Sat, 16 May 2009 12:11:34 +0200
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 16 May 2009 03:12:20 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=D9UjVCL5H8TTq8k3MM3B8m7KBCkcNyKVZKTCQarxadQ=; b=fgtnZhPjRtLV+8GhMHqOodZ0my1W4XzrrKF4Q6Xj/j7VWHpfY03Kt1kjlrntB6Hd6R 6FMPH94YikuuE4asGjc/RKpaEfFH2WJg24mLuYxyGwcEw0af+O/IhEw+vxO1ytDlKpl4 rTGGtrqf+LCESsRucOvtnGzgY9SILbdagQzHk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=jRkDV2HaYhbnBH0Nbq/0uxu+laSutQoU1vPDliAP8yyUW27N+k3u5sSIreQzayeKI9 hhU+D6FCK7ff55mx0gZ8m+gNfQNWRiCN2OqUMJg60aK7LOkNXzQSkOTMFuj7Q6CQrs4s 5bkE7j8ottwbNCebudPGMowwXX6FiROWDf4FE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A0E899D.4030800@xxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <695200da0905151451g7f5ac147s4afb14a42fd929bc@xxxxxxxxxxxxxx> <7207d96f0905151837x51026dfaq77085950c811cc0e@xxxxxxxxxxxxxx> <695200da0905160200g538af823w36f2d9a4f4df10d9@xxxxxxxxxxxxxx> <4A0E899D.4030800@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

On Sat, May 16, 2009 at 11:38 AM, Thomas Goirand <thomas@xxxxxxxxxx> wrote:
Rudi Ahlers wrote:
> Hi Fajar,
> This is how I have it currently. Each domU's interface name is "hard
> coded" in it's config file, as follows:
> vif        = ['ip=, vifname=vifrudi0,  mac=aa:00:bf:5b:79:01 ']
> But the problem I have is that snmp doesn't always work as expected, and
> I'm thinking of a different approach, perhaps with iptables?


As I wrote to you on my previous email, the solution is the byte counter
in /proc (if that was not obvious reading the python scripts).



Hi Thomas,

I had a look at your scripts, but it's doesn't make any sense to me. I'm not a Python programmer, and don't intend on learning it either.

Thank you for your help though

Kind Regards
Rudi Ahlers
CEO, SoftDux Hosting
Web: http://www.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
Xen-users mailing list