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

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


  • To: "Thomas Halinka" <lists@xxxxxxxxx>
  • From: "Rudi Ahlers" <rudiahlers@xxxxxxxxx>
  • Date: Fri, 28 Nov 2008 00:53:39 +0200
  • Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 27 Nov 2008 14:54:15 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=fyDkeHcFfn4H7PUkSUvJZl/QxWXMNX6v6lS6NZIRWcGRgR2npQpeSa11fya0pd6t8c jOiSfC4AxoC+3Atwmq6DFlB3/KN+kb8AosCxvp4rXVho8qYiMSV1ebP9RsZrdaMngFms 5mSCdqTk1KDPvOm/Q0ypDXrZLnWgI0ErM9K9Q=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Thu, Nov 27, 2008 at 5:48 PM, Thomas Halinka <lists@xxxxxxxxx> wrote:
> Hi Rudi,
>
> Am Donnerstag, den 27.11.2008, 14:24 +0200 schrieb Rudi Ahlers:
>> Hi all,
>>
>> How is it possible to get a eth0 & eth1 for a XEN domU?
>
> jap,
>
>>  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.
>
> ok
>
>>
>> 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
>> that?
>
> fire up 2 bridges:
> - xen-internal   (192.168.10.0)
> - xen-external   (public IPs)
>

Can you please explain this to me in lay-man's terms? How do I do this
on the dom0?

> With this you can do separated traffic-accounting for internal and
> external traffic.
>
>>
>> Currently when I look @ a domU, I have eth0, eth0:1 & eth0:2
>> (192.168.10.63) 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,
>
> because theres no separation and every traffic is transmitted over this
> bridge.
>
>> how can I do that?
>
> Im using traffic-accounting with iptables....

How exactly do you do this?
>
>
> hth,
>
> Thomas
>
>



-- 

Kind Regards
Rudi Ahlers

_______________________________________________
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®.