WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] can one do traffic accounting on bridged domU's?
From: Thomas Goirand <thomas@xxxxxxxxxx>
Date: Sat, 16 May 2009 17:38:37 +0800
Delivery-date: Sat, 16 May 2009 02:39:22 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=goirand.fr; h=message-id: date:from:mime-version:to:subject:references:in-reply-to: content-type:content-transfer-encoding; q=dns/txt; s=postfix; bh= ZDs+g6cvvWm6uBCDhZSpRC7KVCk=; b=sDZkH2lZtxjRNfWy10E5CjVlyzVwzipk BFFwAFdlfsr4YATmToVFbAH2SdJaoD/nFY8XUIQIFAWI9wg2lc+aucFs0kmx61bL m22cfbc9qVf5Q9klWUL11NqhZCOrLWnqEJ+Epfc9tgxK0VG03RsK4ylVB/glFnSm P3f7Wf4S7jo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=goirand.fr; h=message-id:date:from:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=postfix; b= HkJtzzrvRrYzYyrgVPfLE4rR+d5/gRMWnW/H5b0NwIrtctJRrDZwktklDz00gSSK CiEXILJAhjkzXfshF00hGuAKtwtO+Fk/jMgZKPoGOQeWndMigkhl3kPzoWTnvnK6 xAQIzg1N065nf9gwKX7ZzKMyLDPrnFPj3qh8mxd2hF4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <695200da0905160200g538af823w36f2d9a4f4df10d9@xxxxxxxxxxxxxx>
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>
Openpgp: id=98EF9A49
Organization: GPLHost
References: <695200da0905151451g7f5ac147s4afb14a42fd929bc@xxxxxxxxxxxxxx> <7207d96f0905151837x51026dfaq77085950c811cc0e@xxxxxxxxxxxxxx> <695200da0905160200g538af823w36f2d9a4f4df10d9@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)
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=1.2.3.4, 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?

Hi,

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).

Thomas

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users