republican-creole
site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Uniqs:
2891
Share Topic
Posting?
Post a:
Post a:
Links: ·Submit a new forum topic ·Forum FAQ ·Submit a FAQ ·Docs Guidelines and Advisories ·EOS/EOL thread
AuthorAll Replies

Sameer

join:1999-07-24
Yorba Linda, CA

VoIP issues with my Cisco 831. (torrents & pulsing voice)

when i download torrents and am on the phone (lingo VoIP service) the person on the other end complains that my voice constantly cuts in and out.

the moment i terminate the torrents, everything is fine again.

i thought i had this problem solved with my current configuration, but it seems like it's not the case.

can someone please look at my configuration and see what needs to be tweaked?

thanks.

version 12.3
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname pluto
!
boot-start-marker
boot-end-marker
!
enable secret 5 xxxxxx
!
aaa new-model
!
!
!
aaa session-id common
!
resource policy
!
ip subnet-zero
!
!
ip nbar port-map sip udp 5060 5061 5062 5063 5064 5065
no ip dhcp use vrf connected
!
!
ip cef
no ip domain lookup
ip domain name solhome.com
no ip ips deny-action ips-interface
ip ssh time-out 60
ip ssh authentication-retries 2
ip ssh logging events
ip ssh version 2
!
no ftp-server write-enable
!
!
username xxx password 0 xxx
!
!
class-map match-any warcraft
description warcraft
 match access-group name warcraft
class-map match-any VoIP
 match protocol rtp audio
class-map match-any normal_traffic
 match protocol http
 match protocol secure-http
 match protocol dns
 match protocol smtp
 match protocol pop3
 match protocol ntp
 match protocol icmp
class-map match-any sip
 match protocol sip
!
!
policy-map MyQoSPolicy
 class VoIP
  set dscp ef
  priority 90
 class sip
  set dscp ef
  priority 10
 class normal_traffic
  bandwidth 20
 class warcraft
  bandwidth 10
 class class-default
  fair-queue
!
!
no crypto isakmp ccm
!
no crypto ipsec nat-transparency udp-encaps
!
!
interface Ethernet0
 description LAN Link
 ip address 10.10.100.1 255.255.255.248
 ip nat inside
 no ip virtual-reassembly
!
interface Ethernet1
 description WAN Link
 ip address dhcp
 ip nbar protocol-discovery
 ip nat outside
 no ip virtual-reassembly
 duplex auto
 service-policy output MyQoSPolicy
!
interface Ethernet2
 no ip address
 shutdown
!
interface FastEthernet1
 duplex auto
 speed auto
!
interface FastEthernet2
 duplex auto
 speed auto
!
interface FastEthernet3
 duplex auto
 speed auto
!
interface FastEthernet4
 duplex auto
 speed auto
!
ip classless
ip route 0.0.0.0 0.0.0.0 dhcp
!
ip http server
no ip http secure-server
!
ip nat inside source list OUTBOUND_ADDRESSES interface Ethernet1 overload
ip nat inside source list VPN interface Ethernet1 overload
ip nat inside source static udp 10.10.100.6 12365 interface Ethernet1 12365
ip nat inside source static tcp 10.10.100.6 12365 interface Ethernet1 12365
ip nat inside source static udp 10.10.100.6 6112 interface Ethernet1 6112
ip nat inside source static tcp 10.10.100.6 6112 interface Ethernet1 6112
!
!
ip access-list standard OUTBOUND_ADDRESSES
 permit 10.10.100.4
 permit 10.10.100.5
 permit 10.10.100.6
 permit 10.10.100.2
 permit 10.10.100.3
!
ip access-list extended VPN
 permit ahp any host 10.10.100.3
 permit esp any host 10.10.100.3
 permit udp any host 10.10.100.3 eq isakmp
 permit udp any host 10.10.100.3 eq non500-isakmp
 permit tcp any host 10.10.100.3 eq 500
ip access-list extended allowed_ssh
 permit tcp host 10.10.100.6 host 10.10.100.1 eq 22
ip access-list extended warcraft
 permit udp any any eq 6112
 permit tcp any any eq 6112
!
!
control-plane
!
banner motd ^CC
You are connected to $(hostname) on a private network.
Use of this system may be logged or monitored without further notice.
 Unauthorized access is prohibited.
Violators will be prosecuted.
^C
!
line con 0
 no modem enable
line aux 0
line vty 0 4
 transport input ssh
!
scheduler max-task-time 5000
ntp clock-period 17179404
ntp server 192.5.41.41
end
 


LilYoda
Feline with squirel personality disorder
Premium
join:2004-09-02
Mountains

Heya. What is your uplink speed. The problem sounds like the torrent traffic is adding too much jitter on your voice traffic.


Sameer

join:1999-07-24
Yorba Linda, CA

i appreciate the fast response!

here's a list of the tests i just ran, because i'm unsure as to the upload speed as well (roadrunner keeps changing it.)







so i guess that averages out to 479.8



LilYoda
Feline with squirel personality disorder
Premium
join:2004-09-02
Mountains

1 edit

reply to Sameer
I'm guessing you might have a problem where your router doesn't know about the uplink speed, since you're connected via ethernet... I had the same problem with Charter and my 4500.

If you look on my (very) old post, I think there are additional policies where I force the uplink traffic to a specific speed (I used to shape it to 171 to have up to 256Kbps uplink, but you can probably go for a total of 384 or 448 Kbps)

Link to the old post: »[Config] QoS+VoIP on a Cisco - sample config

If you take 384Kbps as the total uplink, I'd say the config should look something like

policy-map MyQoSPolicy  
  class VoIP
   set dscp ef  
    priority 90
  class sip  
   set dscp ef  
   priority 10  
  class normal_traffic  
   bandwidth 20  
  class warcraft  
   bandwidth 10  
  class class-default
   shape average 234000
   bandwidth 234
   fair-queue
!
interface Ethernet1
 bandwidth 384
 max-reserved-bandwidth 95
 service-policy output MyQoSPolicy  
 tx-ring-limit 2
 tx-queue-limit 2
 

The only drawback is that you force the class default to use 234Kbps max, even if there is nothing else in the other classes.

234 comes from 384x95%-(all the bandwidth assigned to the other classes=130)

There may be a better way, but that's the best I could find

--
"Money and sex, storage and bandwidth: only too much is ever enough"
Arno Penzias - Former Head of Bell Labs, and Nobel prizewinner

bbtech6650
Premium
join:2004-10-28
Pittsburgh, PA
Reviews:
·Verizon FiOS

reply to Sameer
I have qos setup on my 2621... I have a rate-limit on my external facing interface....

no ip address
rate-limit input access-group 106 128000 65536 65536 conform-action set-prec-transmit 5 exceed-action set-prec-continue 0
rate-limit input 4096000 4096000 4096000 conform-action transmit exceed-action drop

Heres the access-list 106

access-list 106 permit udp any any eq 4569
access-list 106 permit udp any any eq 5004
access-list 106 permit udp any any eq 5060
access-list 106 permit ip host 70.87.18.x any
access-list 106 permit ip host 67.55.159.x any
access-list 106 permit ip host 216.89.79.x any
access-list 106 permit ip host 207.174.202.x any
access-list 106 permit udp any any eq 5061
access-list 106 permit udp any any eq 5062

I don't know if this applies to your ios feature set or not...

Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-IK9O3S3-M), Version 12.3(12a), RELEASE SOFTWARE (fc2)

Is mine


Sameer

join:1999-07-24
Yorba Linda, CA

thanks. i'll give it a try.


mplex

join:2004-04-15
Charleston, SC

reply to Sameer
Add this policy and use it as the outgoing policy on the wan ethernet interface:

policy-map MyQosPolicy-Parent
class class-default
shape average 330000 !! I use this for my 384k uplink
service-policy MyQosPolicy

This will prioritize the traffic under the MyQosPolicy policy at the specified rate. You can not use 384000 since you have to account for docsis overhead and bad cable service. Play with this number if you want, but always start low and increase it. If you go over, QoS will fail.


mplex

join:2004-04-15
Charleston, SC

Sorry for the quick follow-up, but I saw that you misconfigured your original policy-map. First of all, there is only one priority queue no matter how you configure it, so I would combine the VoIP and sip classes in to one class. Also, I would switch to percentages but that is a personal thing. If I was writing this policy map, I would do this:

policy-map MyQoSPolicy
class VoIP
set dscp ef
priority percent 50
class normal_traffic
bandwidth percent 20
class warcraft
bandwidth percent 20
class class-default
bandwidth percent 10

For class-default, you can not combine bandwidth with fair-queue, and the way the algorithm works can completely starve that class down to nothing. This is a better configuration IMO. Also, for VOIP, throw the sip classification in with the other VOIP class.

Don't forget to combine the parent policy in my last post to wrap this policy in a rate limiter.

Good luck.


Tuesday, 29-May 04:04:24 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 12.5 years online © 1999-2012 dslreports.com.
Most commented news this week
Hot Topics