[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • From: Rudi Ahlers <rudiahlers@xxxxxxxxx>
  • Date: Sat, 16 May 2009 11:00:31 +0200
  • Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Sat, 16 May 2009 02:01:19 -0700
  • 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=shNZ9Yh1bNjN6t04H3JH6b8jWhF4uRL7vYakoXYoVPXxRoQZzh7t3bSIE4OZKEIECn vO5SciLyWXlfN7PeaPLhfTnffxcQ+/nK6ZHEczOOuRkujUvl1LzgVlsZXyk2bBKonHw/ /1FT3NVwuxt7IGpvT5Xg1XF9FV4wIFF7VHwhs=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>



On Sat, May 16, 2009 at 3:37 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
On Sat, May 16, 2009 at 4:51 AM, Rudi Ahlers <rudiahlers@xxxxxxxxx> wrote:
> Hi,
> 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?

Possible, but not easy. You can name domU interfaces so they have
persistent naming. Once you have that, snmp should work.

One gotcha is that you probably need to restart snmpd after domU
startup/shutdown.

Regards,

Fajar

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?


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.