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

[Xen-users] Xen & TC & Asterisk

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen & TC & Asterisk
From: "--[ UxBoD ]--" <uxbod@xxxxxxxxxxxx>
Date: Thu, 21 Aug 2008 13:41:52 +0100 (BST)
Delivery-date: Thu, 21 Aug 2008 05:42:35 -0700
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>
Reply-to: uxbod@xxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I found a document which shows how to setup TC and it appears to work okay.  My 
question is whether I should define the qdisc against peth0 or eth0 ?  These 
are the commands I am using :-

tc qdisc add dev peth0 root handle 1: prio priomap 2 2 2 2 2 2 2 2 1 1 1 1 1 1 
1 0
tc qdisc add dev peth0 parent 1:1 handle 10: sfq limit 3000
tc qdisc add dev peth0 parent 1:2 handle 20: sfq
tc qdisc add dev peth0 parent 1:3 handle 30: sfq
tc filter add dev peth0 protocol ip parent 1: prio 1 u32 match ip dport 4569 
0xffff flowid 1:1
tc filter add dev peth0 protocol ip parent 1: prio 1 u32 match ip sport 4569 
0xffff flowid 1:1
tc filter add dev peth0 protocol ip parent 1: prio 1 u32 match ip dport 5060 
0xffff flowid 1:1
tc filter add dev peth0 protocol ip parent 1: prio 1 u32 match ip sport 5060 
0xffff flowid 1:1

So the way I see it is that any traffic whos destination is a DOM-U will be 
handled by the peth0 interface (bridge), and if I had some sort of service on 
the DOM-0 I should really use eth0.  I only use DOM-0 for Xen management so I 
presume this configuration should be okay ?

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

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


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

<Prev in Thread] Current Thread [Next in Thread>