[Asterisk-Users] Linux Bridge + QoS Shaper HOWTO available

Mike Machado mike at cheapnet.net
Thu Jan 27 18:36:46 MST 2005


Asterisk allows setting custom TOS setting, so perhaps you could pick a
TOS precedence not normally used, such as CRITIC/ECP or Internetwork
Control, in which case your TOS would be 0xB0 or 0xD0 respectively. 

On Fri, 2005-01-28 at 02:10 +0100, Jasper Spaans wrote:
> That could be nice, however, there could be more traffic using tos
> 0x10. I wouldn't bet on using it in a config like this.
> 
> On Thu, 27 Jan 2005 15:32:44 -0800, Mike Machado <mike at cheapnet.net> wrote:
> > You could also change the tos setting in sip.conf and use a rule similar
> > to the one found in the LARTC. This is a bit easier, and perhaps cleaner
> > than matching many ports.
> > 
> > # tc filter add dev eth0 parent 1:0 prio 10 u32 \
> >      match ip tos 0x10 0xff \
> >      flowid 1:4
> > 
> > That would match TOS of 0x10, which is the "Low Delay" bit enabled. You
> > should change this to link to your appropriate flowid and parent node,
> > of course.
> > 
> > 
> > On Thu, 2005-01-27 at 16:39 -0600, rsenykoff at harrislogic.com wrote:
> > >
> > > <snip>
> > > Does your script work for SIP too? Only for IAX?
> > >
> > > I'd like to put two of your bridges in my setup – one between the
> > > local LAN and the net, and the other at our branch office between the
> > > LAN and WAN there.
> > >
> > > But I need to be able to allow for sip to be QOSed, as we currently
> > > have an asterisk server at the remote office, and sip clients here.
> > > </snip>
> > >
> > > SIP can easily be added. I am placing IAX2 into high priority by port.
> > > You could do this with SIP as well. Add port 5060 and 10000-20000 to
> > > the high priority queue. This HOWTO is meant to be read before
> > > implementing it. My example includes shaping video and Citrix, which
> > > you may not be interested in doing. In that case you'll need to remove
> > > those priority levels.
> > >
> > > -Ron 
> > > _______________________________________________
> > > Asterisk-Users mailing list
> > > Asterisk-Users at lists.digium.com
> > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > > To UNSUBSCRIBE or update options visit:
> > >    http://lists.digium.com/mailman/listinfo/asterisk-users
> > 
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> > 
> 
> 




More information about the asterisk-users mailing list