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


[Xen-users] How to get eth0 & eth1 fox XEN domU's?

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] How to get eth0 & eth1 fox XEN domU's?
From: "Rudi Ahlers" <rudiahlers@xxxxxxxxx>
Date: Thu, 27 Nov 2008 14:24:06 +0200
Delivery-date: Thu, 27 Nov 2008 04:24:47 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=z5Y/WRBj49g9ILV3kDE1Za3Ae5XkXy4S7Igu5MEm3MU=; b=n401JoIs++GMIZBccDwUhnfrZVpWRPKNAnim4CH7knKQ+ldx3rIxQwbWeqH4mp9sL9 gSKTxoDrBq9V6tOK5UEprZw17w2DO+qUNzvYPWTNAjN4TY6K0JI/vgTRTC63T7ADeEVi akCaFoVscQl3UkV7z242f1i3SjXT1+ampohT4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=Ywh/0PtaTn49tNMv9YEG3cqwO4Em3GmS9rd/Dvz3/uL1NhXZp67ANdaH/WyMZ5jKJu uSL0Pe9DYQJjuWfrWRKAFqg108E/tQGPZNphS6dsSZeuO9H/ODq/zKg0adDIphX9HVoW 6HtFJSSzTZIqWMnqYZXtCl0FknXQ0Wk6BPv58=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,

How is it possible to get a eth0 & eth1 for a XEN domU? The reason I
ask, is that we need to monitor the bandwidth every XEN VPS uses, but
I don't want to count local bandwidth between VPS's, and between the
VPS & backup server.

So, if all internet traffic gets routed on eth0, and IP rather
196.34.x.x & internal traffic on eth1 & 192.168.10.x - how would I do

Currently when I look @ a domU, I have eth0, eth0:1 & eth0:2
( setup, but they all pass through the same interface
vifwise0 on the dom0 side,

vifwise0  Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:1961043 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2521537 errors:0 dropped:4218 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:4195421597 (3.9 GiB)  TX bytes:1075982597 (1.0 GiB)

So, from the 3.9BG traffice transmitted, we don't know what is local &
what is internet traffic. I'd like to completely segment the traffic,
how can I do that?


Kind Regards
Rudi Ahlers

Xen-users mailing list