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] Xen & TC & Asterisk

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen & TC & Asterisk
From: "drew einhorn" <drew.einhorn@xxxxxxxxx>
Date: Thu, 21 Aug 2008 19:45:09 -0600
Delivery-date: Thu, 21 Aug 2008 18:45:52 -0700
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:in-reply-to:mime-version:content-type:references; bh=2tnifFDt0relU0uI+Za89n9Kpc7sTmnhgzJ20dcU3Ac=; b=AN1uz49maZFuMGwUS7stiQmTScwniqRcGKbRREIrCw8YY1d2Nfk0tJn7xgaEOVbFTl zK7UQXuCLXzRQgEtgo5IowFzHQWalytDQNGIvp2SUMpoc7FJ+RxuG4YHJFvpx+sk7T9p O55JD2KeHiEpZjZHrQrcV65hHMarTLgWuRYow=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=rV4K393Doj617JPE9/cdDnLcvkhIKnGVnMxlyHWNwWTCed1CfjEjPmXcqN+3XXfEvh U9cCa1/Ee4TOKWkIy3swYBrKmHebkurWqtDxEs12I0fyZP8kkHSeCRHpn+NDjIC8Bcuv F6cBnBYxkSUJTgg7SH4MmCeifX+QOAAvREjjY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <b93ef9d00808210827t2bae3e47jb10b48e51f1d5a25@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: <23405483.211219330124603.JavaMail.root@xxxxxxxxxxxxxxxxxxx> <33422146.231219330153925.JavaMail.root@xxxxxxxxxxxxxxxxxxx> <b93ef9d00808210827t2bae3e47jb10b48e51f1d5a25@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On Thu, Aug 21, 2008 at 9:27 AM, drew einhorn <drew.einhorn@xxxxxxxxx> wrote:
If you set up a vm with two ethernet ports, and
bridge the traffic between them,
the inbound traffic on one, is the outbound traffic on the other. 
Shape the outbound traffic on both ports.


Ooops, thought I sent this reply to the list

And I've looking a little closer at xen networking.
Looks like you may not have to set up another vm to handle the shaping and get it inserted into your virtual network in the right place to make it work.

I think if you can do it all on dom0 shaping outbound traffic on both eth0 and vif0.0
Will require some experiments to verify that this approach works as expected.

I've got other fish to fry first.  (putting some iptables rules on these interfaces, to isolate a couple dhcp servers).  Traffic shaping is a ways down on my priority list.

 

On Thu, Aug 21, 2008 at 8:49 AM, --[ UxBoD ]-- <uxbod@xxxxxxxxxxxx> wrote:
Hmmmm ... Looks like it is not quite correct then.  What I am after is the ability to control both inbound and outbound VoIP traffic so it has priority.  Any advice please ?

Regards,

--
--[ UxBoD ]--
// PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg --import"
// Fingerprint: F57A 0CBD DD19 79E9 1FCC A612 CB36 D89D 2C5A 3A84
// Keyserver: www.keyserver.net Key-ID: 0x2C5A3A84
// Phone: +44 845 869 2749 SIP Phone: uxbod@xxxxxxxxxxxxxxxx

----- "Anna Fischer" <anna.fischer@xxxxxx> wrote:

> Note that the qdisc configuration you have posted regulates *outbound*
> traffic going onto the network. Is that what you want, because you
> talk about DomU being the destination? In general it is correct to
> attach qdiscs to peth0 for traffic to/from the network and eth0 only
> specific for Dom0 rate controlling.
>
>
>
> _______________________________________________
>
> Xen-users mailing list
>
> Xen-users@xxxxxxxxxxxxxxxxxxx
>
> http://lists.xensource.com/xen-users

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


_______________________________________________



--
Drew Einhorn



--
Drew Einhorn
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>