|
||||||||
On Thu, 17 Aug 2006 09:55:45 -0500, Michael Graves wrote: >Sure. Although it helps to know what protocols you run through m0n0. My >Asterisk server places outgoing calls via IAX2 and accepts incomming >calls via both IAX2 and SIP. > >You absolutely have to start with a real world measurment of your >connect speeds up and down. Your traffic shapping must not saturate >either of those or the benefit will be lost. > >The use the Magic Shaper Wizard on the Traffic Shaping tool. This will >setup basic rules, pipes and queues. You should have two pipes; >Total_upload & Total_download. > >Here's where I change the setup a little. I add a third pipe called >Dedicated_IAX_upload. I split my upload data rate between Total_upload >and Dedicated_IAX_upload. In my case on Covad ADSL with a measured >650kbps upload I set my total upload speed for only 600kbps. I then >assign 384kbps to pipe 2 (Total_upload) and 256kbps to pipe 3 >(Dedicated_IAX_upload.) > >In essence, I full time assign about 40% of my outbound bandwidth to >the voip stuff. > >Then in the rules section of traffic shaper I add two rules for my >Asterisk traffic. All UDP traffic from the servers IP to the wan is >driected to pipe3. All UDP traffic from the wan to the server is >assigned to Queue 8 which is High_priority_download. > >Of course you need firewall NAT and port forwarding settings in place >as well. The traffic shaping isn't port specific in my arrangement. > >I've had my Asterisk & m0n0 system in use for about 2 years. You need >to understand that traffic shaping won't cure bandwidth issues, but it >will make some situation more acceptable. I found that adding G.729 >codecs to my server was also very helpfull in reducing the demand for >bandwidth. > >Also, I don't use any p2p stuff beyond Skype...which I'd rather not use >but many of my overseas coworkers are addicted. > >Michael Graves Since this question has come up several times recently I've made screen shots of my m0n0 traffic shaper settings available via the following links. m0n0-traffic-pipes.png (29.0 KB bytes) => http://www.onlinefilefolder.com/index.php?action=getshare&type=0&user_nu m=7354&share_id=65139&hash=7ff08f9a2f332b4840e38ae01a14b94a m0n0-traffic-queues.png (36.0 KB bytes) => http://www.onlinefilefolder.com/index.php?action=getshare&type=0&user_nu m=7354&share_id=65140&hash=9a5928b33bfa93b6da0e9bc1cc4eaa05 m0n0-traffic-rules.png (76.6 KB bytes) => http://www.onlinefilefolder.com/index.php?action=getshare&type=0&user_nu m=7354&share_id=65141&hash=844f1bdb26da2ac338dae36dc52b6862 m0n0-traffic-wizard.png (30.4 KB bytes) => http://www.onlinefilefolder.com/index.php?action=getshare&type=0&user_nu m=7354&share_id=65142&hash=de5cc82b549628ad09e6ec92b486b461 Michael Graves -- Michael Graves mgraves at pixelpower dot com Sr. Product Specialist www.pixelpower.com Pixel Power Inc. mgraves at mstvp dot com o713-861-4005 o800-905-6412 c713-201-1262 fwd 54245 |