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

[Xen-users] Xen & TC & Asterisk



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


 


Rackspace

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