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@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] can one do traffic accounting on bridged domU's?
From: Simon Hobson <linux@xxxxxxxxxxxxxxxx>
Date: Sat, 16 May 2009 08:16:00 +0100
Delivery-date: Sat, 16 May 2009 00:17:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <695200da0905151451g7f5ac147s4afb14a42fd929bc@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>
References: <695200da0905151451g7f5ac147s4afb14a42fd929bc@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Rudi Ahlers wrote:

I'm just wondering, is it possible to setup the dom0 to perform traffic account of domU's, which are setup using bridge mode networking?

Depends on what you want to do.

If logging traffic in/out of the real interfaces by IP address is enough, then that's reasonably easy to do - though it won't log traffic between Dom0 and DomU or between DomU's on the same box. Doing it strictly by virtual interface will be a bit more work as the list of interfaces will keep changing.

I covered how I do traffic accounting at my border routing in a thread titled "Limiting domU network?" on 2nd May. The same approach should work on the real interface(s) of a Dom0 - provided "by IP address" is accurate enough.
--
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

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