Sie sind auf Seite 1von 10

Designing MPLS Networks for VoIP

What Every User Needs to Know

Michael F. Finneran
President and Principle Consultant

dBrn Associates, Inc.


Hewlett Neck, N.Y (USA)

Telephone: (516) 569-4557


Email: mfinneran@att.net

July, 2006

1 © dBrn Associates, Inc., 2006


The idea of carrying voice traffic on an the end-to-end delay below the
IP network has now become an required 150 msec.
established direction in enterprise
networking. However, it is important to We are starting to see customers
define which part of VoIP we’re embarking on wide area VoIP projects.
describing. The generic term "VoIP" The impetus for these projects is
really describes two separate and typically the idea that if we have IP-
distinct ideas: local and wide area. In PBXs in our major sites, the next logical
the local area, VoIP means replacing step is to use IP-based services to
our traditional circuit switching or time interconnect them. Further, data
division multiplex (TDM) based PBX networks have been migrating from
systems with LAN switches that use frame relay to MPLS-based VPN
IP/Ethernet handsets in conjunction with services, and a big part of the MPLS
telephony servers to provide an IP-PBX. pitch is the ability to support integrated
Driven primarily by savings on cabling voice/data services using MPLS’s QoS
costs, the migration to IP-based capabilities.
solutions, in either a pure LAN switch or
a hybrid IP-TDM configuration, has now While enterprise customers are getting
become a foregone conclusion. The the message that MPLS is the service
same cannot be said of wide area VoIP the carriers are pushing for IP voice,
implementations. there is still considerable confusion
about MPLS services actually work.
Local VoIP is essentially an equipment Further, there is even less understanding
decision, while wide area VoIP is a regarding the basic process for
service decision. There appear to be a designing and implementing an MPLS
few reasons why the wide area VoIP voice network. The purpose of this
market has been progressing more paper is to provide a general overview
slowly. First, it is far more difficult to about what an MPLS-based service is,
develop a cost justification in the wide how the service operates, and most
area. Basically, we’re looking at importantly, the design process for
reducing long distance costs, primarily implementing a voice service on MPLS.
on calls placed between company
facilities. With virtual private network So What is MPLS?
services (i.e. the voice meaning of Mutli-Protocol Label Switching (MPLS) is
"virtual private network") most large probably the single most important
customers pay only 1-1/2 to 2 cents per development in TCP/IP. In a nutshell,
minute for on-net to on-net long MPLS provides a mechanism whereby IP
distance. Further, when used in networks can define virtual circuit
conjunction with an IP PBX, the delay services to improve security and
introduced by the wide area provide a multi-level quality of service
connection makes it difficult to keep (QoS) capability. Those QoS capabilities

2 © dBrn Associates, Inc., 2006


would provide performance The result of that connectionless
guarantees regarding delay, jitter, and operation is that packets can arrive out
packet loss. of order, and there is no practical
means to guarantee the performance
Currently, MPLS is being used by Internet attributes for individual data flows. How
Service Providers (ISPs) as the basis of a could you possibly guarantee worst-
new service geared toward enterprise case performance for delay if you don’t
customers. Typically referred to as an even know the path the packets will
MPLS-Virtual Private Network (MPLS- take to their destination?
VPN), the overall concept for these
services is described in RFC 2547bis. We Network services like frame relay and
are also seeing MPLS capability being MPLS employ virtual circuits. You can
provided in enterprise routing think of a virtual circuit as a software-
equipment, but the primary focus today defined pathway through the packet
is in the area of carrier services. network; all the packets traveling
between those two sites will follow that
These MPLS-VPNs are being marketed path. There are a number of number of
as an alternative to the traditional advantages that virtual circuits can
frame relay service the carriers have bring to packet switching:
sold to provide wide area connections 1. As all of the packets are following
between LANs. Market researcher the same path, they should all arrive
Vertical Systems notes that there are in the same sequence as they were
currently 8000 US customers using MPLS- sent.
based VPNs with about 90,000 sites 2. Virtual circuits provide security for
connected, and that customer base is traffic within the shared packet
expected to double by 20101. network, as hackers cannot get
access to traffic on another user’s
For those who are not familiar with virtual circuits.
packet switching technology, there are 3. Most importantly, as the carrier
two basic types of packet forwarding: knows the path the traffic will take,
connectionless and connection- they can manage the amount of
oriented with virtual circuits. The original capacity that has been assigned to
IP switching technology used in the each user, and hence guarantee
public Internet is connectionless, best the worst-case performance that
effort. "Best effort" means that some of traffic should experience with regard
the packets may be lost due to buffer to delay, jitter, and packet loss.
overflows or transmission errors.
"Connectionless" means the service The impact of those first two
operates without virtual circuits. In advantages pale in comparison to the
traditional IP, each packet finds it own third, particularly when we consider
way router-to-router to its destination. converging voice, video, and data
services on the same network. Data
1
Rick Malone, "Free at Last: The Move to traffic is typically not as time sensitive as
Dedicated IP-VPN Networks", Business voice or video traffic. Further, as data
Communications Review, May, 2006,
page 43.

3 ©dBrn Associates, Inc., 2006


traffic uses TCP, when packets are lost, well in that context either. With any
TCP will recover them automatically. guaranteed packet service, there are
two critical transmission rates: the
Time sensitive voice and video traffic access rate and the service's
are forwarded in UDP, which operates guaranteed capacity.
on the “send and pray” transmission
philosophy; in UDP, there is no When a customer’s router is sending
mechanism to detect or recover from traffic into the network, the traffic is
lost or errored packets. TCP recovers lost always sent at the access rate (i.e. if
packets by ordering retransmissions, but your router is connected to the network
that type of process takes so long that it with a T-1/DS-1 rate facility, all frames
would be useless in a voice are sent at 1.536 Mbps). However, the
environment; the retransmitted packets network only guarantees to deliver
would arrive too late to have any some portion of that traffic.
relevance to the conversation. In short,
you’ve got only one shot at delivering a In frame relay, the guaranteed
voice packet, so a network service that capacity is called the Committed
guarantees performance for delay, Information Rate (CIR), and it is
jitter, and loss has a far greater value in specified for each virtual circuit in the
supporting voice and video services. network. As you might expect, a virtual
circuit with a higher CIR costs more. As
long as the average transmission rate
Building an MPLS-based Converged stays below the CIR, the carrier
Network guarantees to deliver a very high
The ability to support multiple traffic percentage of that traffic, typically
categories and provide separate 99.99%. If the transmission rate on that
performance parameters for each has virtual circuit exceeds the CIR, that
made MPLS a natural fit for wide area additional traffic is marked discard
VoIP services. However, there is still eligible" and essentially becomes best
much confusion surrounding how the effort. If there is capacity available in
MPLS performance guarantees actually the network, that excess traffic will be
work. As enterprise users migrate to IP- delivered, but if there is a congestion
based local solutions, it is inevitable that condition, excess traffic can be
the idea of connecting them together discarded. In short, excess traffic has a
through a wide area IP network will higher probability of being dropped.
bubble to the surface. At that point, the
user will have to do some serious This same concept has been adopted
research on how these MPLS-based in MPLS, however it has had to be
network services handle different modified in two important ways given
classes of traffic. the nature of the MPLS technology:

The basic concepts for a guaranteed 1. Where frame relay offers essentially
packet service developed in frame two traffic categories, guaranteed
relay, but we are finding that most and discard eligible, an MPLS service
people didn’t understand them very can offer three or more; for

4 ©dBrn Associates, Inc., 2006


convenience those categories are Silver traffic are priced at a higher
typically called Gold, Silver, Bronze, rate.
and Best Effort. The carrier provides
different guarantees regarding In an MPLS service, the customer marks
delay, jitter, and packet loss for each packet and so assigns it to one of
traffic sent in each category. the available service categories; that
assignment is done by setting the Diff
2. In an MPLS service, the customer Serv Control Point in the IP header.
does not pay for virtual circuits, they Typically the highest priority is assigned
simply pay for access capacity. to voice, while the others may be used
Every MPLS end point can for video and various classes of data
communicate with every other end traffic. The performance parameters
point (i.e. full mesh connectivity). So are computed over the period of a
rather than having a CIR for each month, so these should not be
virtual circuit, in MPLS, a certain construed to be a hard and fast
percentage of the access capacity guarantee for each individual packet.
is allocated to each traffic category;
that allocation is typically referred to The categories and performance
as the Class of Service Profile. As you guarantees for AT&T and Verizon
might expect, CoS profiles with a Business are summarized in the table
higher percentage of Gold and below.

MPLS Service Performance Guarantees


(US Domestic Traffic)
AT&T Verizon Business
Enhanced VPN Service1 Private IP Service
Service Performance Parameters Service Performance Parameters
Class Delay Packet Class Jitter Delay2 Packet
Jitter (Round Trip) Delivery (Round Trip) Delivery
CoS 1 <9 msec <104 msec 99.9% Real Time/ <5 msec <100 msec 99.995%
Voice
CoS 2 Not <108 msec 99.9% Assured Not <100 msec 99.99%
Applicable Forwarding3 Applicable
CoS 3 Not <120 msec 99.8%
Applicable
CoS 4 Not Not Not Best Effort <5 msec <100 msec 99.995%
Applicable Applicable Applicable
1- AT&T's SLA targets are defined end-to-end, and are applicable to USA Eastern region to USA Western region. They

assume T1 access connections at each end point with tail circuits within 250km.
2- Verizon Business computes round trip delay from provider edge to provider edge, so it is not directly comparable

to AT&T's delay performance


3- Verizon Business actually defines three sub-categories within the Assured Forwarding class, but they all provide

the same delay and packet delivery parameters.

5 ©dBrn Associates, Inc., 2006


Understanding how that excess voice
How is Excess Traffic Treated? traffic is treated is critical for designing a
VoIP network. As we noted earlier, IP
Most customers have not had to deal voice uses UDP transport, so there is no
with the design of voice networks using recovery for lost or errored packets. The
MPLS. According to a recent study of impact those lost packets will have
MPLS user conducted by Forrester depends on the voice encoding system
Research, only 20% of MPLS customers that is used. If we encode the voice
are actually using the service for voice.2 using G.711 or 64 Kbps pulse code
The other 80% may be in for a big modulation, we can typically tolerate
surprise when they make the move to about 10% random packet loss before
voice. the user will note a serious degradation
in voice quality. If we use the more
When we take a closer look at how efficient 8 Kbps G.729A voice
MPLS services actually work, we find compression, the system will only
that there are really two categories, tolerate 1% to 2% packet loss.
real time and everything else. While we
generically refer to the service If we configure more voice channels
categories as Gold, Silver, and Bronze, than the Gold service category can
AT&T calls their highest category COS 1 support, the network will begin
while Verizon Business designates it dropping packets. As that packet
Expedited Forwarding (EF). In both dropping will be a random function, if
cases, the real time category specifies you try to configure 15 voice channels
worst-case performance for delay, jitter, over a service with a Gold capacity
and packet loss. The other categories that can only support 10, you won't
specify only delay and loss have 10 good trunks and 5 bad ones;
performance. you'll have 15 bad ones!

The important distinction regarding the


real time category is how excess traffic Designing a Voice Service Over MPLS
is treated- it’s dropped. It’s not
downgraded to a lower category or The message is that customers who are
marked “discard eligible”, it’s dropped looking to carry voice traffic on their
at the entry point or edge router. Traffic MPLS-based VPN services had better be
in the lower categories is marked "out of careful about how they design and
contract" (i.e. the equivalent of frame coordinate the various elements in their
relay's "discard eligible"), but it is still networks. This design process will involve
forwarded through the network if there coordination between the voice and
is capacity available. data staffs.

Lisa Pierce, "The Multifacteted MPLS


2

Customer", Business Communications


Review, June, 2006, page 50.

6 © dBrn Associates, Inc., 2006


The overall design process goes like this: etc.) and the size of the voice
sample carried in each packet. The
1. The first step is to decide which voice table below will help with that. It is
calls will be carried over the MPLS important to recognize the tradeoffs
network. The obvious answer is voice involved. G.711’s 64 Kbps encoding
traffic that goes between sites that requires more capacity per channel,
are connected to the MPLS network. but it can tolerate about 10% packet
As those sites will be other company loss. G.729A is more efficient, but
locations, we’re talking about voice when packet loss reaches 2%, the
tie lines that run between the PBXs or voice quality will degrade
IP PBXs in those sites. We can substantially; the voice compression
potentially carry other voice traffic also adds about 15 msec to the
over those tie lines and then extend delay. Larger packet sizes are more
those calls through the public efficient, but they also increase
network to off-net locations; in tie network delay. The cRTP mode
line networks, we refer to that option cannot be used on wide area MPLS
as "tail-end-hop-off". services.
2. Next, we have to do a voice traffic 4. Once we know the number of bits
study. We isolate the voice traffic required per trunk and the number
that will be carried over the MPLS of trunks, we multiply them together
network, identify the busy hour, to determine the capacity required
determine the amount of traffic that for real time traffic. Now you can
must be carried during that period, begin dealing with the subtleties.
and compute the number of trunks
that will be required to support it with Things get tricky when there are
an acceptable level of blocking (i.e. different number of trunks running
the P-Grade of service). That is done between sites as there can be blocking
with the Erlang B traffic engineering and dropped traffic at the egress port.
formula. In the old days we sized Further, if you have busy hour traffic that
trunk groups by poring over traffic is substantially higher than the average
engineering tables, but there are traffic volume, you will have to
now Web sites like determine if it’s really cost-effective to
www.erlang.com/calculator/erlb/ size your trunk group for the busy hour or
that can compute the number of for the average volume. If you design
trunks if we provide the busy hour for average volume, the excess traffic
traffic and the required P-Grade of that occurs in the busy hour can
service. overflow to the public network, and you
3. Once we know the number of trunks pay for it on the old cost-per-minute
that are required, it's time to shift into plan. Once you start thinking about the
VoIP mode. We first determine the cost of the additional MPLS-real time
bit rate required for each voice trunk capacity needed to support those extra
including all of the packet tie lines versus the cost public network
overhead. The variables in that services, you should start looking at the
computation are the voice overall cost of the MPLS solution versus
encoding used (e.g. G.711, G.729A, sticking with the public network pricing

7 ©dBrn Associates, Inc., 2006


plan you currently have. You might PBX or IP-PBX must be configured with
discover that carrying voice traffic on the correct number of tie lines on each
the MPLS network doesn't really save route and the quality of service marking
you enough to justify the effort involved. (Diff Serv Control Points, IEEE 802.1p LAN
priority, etc.) must be coordinated end-
If you do decide that the savings justify to-end.
the effort, then you have to insure that
the implementation is coordinated. The

Packet Voice Transmission Requirements


(Bits Per Second per Voice Channel)
Voice Sample Voice Packets Transmission
Codec Bit Rate Time Payload Per Requirement
Second (PPP or Frame Relay)
RTP cRTP
G.711 64 Kbps 20 msec 160 bytes 50 82.4 Kbps 68.0 Kbps

G.711 64 Kbps 30 msec 240 bytes 33.3 76.2 Kbps 66.6 Kbps

G.711 64 Kbps 40 msec 320 bytes 25 73.2 Kbps 66.0 Kbps

G.729A 8 Kbps 20 msec 20 bytes 50 26.4 Kbps 12.0 Kbps

G.729A 8 Kbps 30 msec 30 bytes 33.3 20.2 Kbps 10.7 Kbps

G.729A 8 Kbps 40 msec 40 bytes 25 17.2 Kbps 10.0 Kbps

Note: RTP assumes 40-octets of RTP/UDP/IP overhead per packet


Compressed RTP (cRTP) assumes 4-octets RTP/UDP/IP overhead per packet
PPP/Frame Relay overhead adds 6-octets per packet

8 ©dBrn Associates, Inc., 2006


Conclusion-
People Cost Money Too

The interesting thing about wide area The legacy of those tie line networks
VoIP is that the strongest proponents for was that when the carriers began
carrying voice traffic on MPLS services offering virtual private network services
have never actually worked on tie line (the voice meaning of “VPN”) with
networks. Voice tie line networks were a attractive pricing for voice calls running
big thing back in the late-1970s and between company sites, customers
early 1980s when switched voice jumped at the option. Inter-site voice
service prices were much higher than traffic migrated back to the public
they are today. Large business users network, and we rejoiced that we were
would rent voice grade private lines to no longer saddled with the drudgery of
interconnect PBXs in major sites, and running the tie line network. In a voice
invest in PBX software like the Electronic VPN, you merely determine the number
Tandem Network (ETN) option on their of access trunks required from each site
old AT&T Dimension PBX to build a tie to the carrier's network, and after that,
line network. Later we found we could it's the carrier’s problem.
reduce the cost of those dedicated
circuits by using high capacity private As George Santayana wrote in The Life
lines and T-1 multiplexers, but the of Reason: "Those who cannot
ongoing traffic engineering task remember the past are condemned to
remained. repeat it." So the idea of voice on MPLS
has led us on a circular path back to a
What we found out was that one of the network plan from 20-years ago; the
major costs involved with running a underlying network technology is
tandem network was the job of traffic different, but a tie line is still a tie line. If
engineering, and that job never ended. voice is going to migrate to MPLS VPN
Voice traffic patterns change over time, services, someone is going to have to
and we would have to conduct traffic relearn the skills many of us happily
studies on each route periodically to forgot two decades ago.
insure that we still had the optimal
number of trunks. If not, we would install The clear message is that a successful
or remove circuits and make the VoIP over MPLS installation will require
appropriate configuration changes in both voice and data expertise, and real
the PBX systems at each end. The cooperation between the two groups.
bigger the network and the more
dynamic the traffic patterns, the more
effort that was required.

9 © dBrn Associates, Inc., 2006


Contact Information dBrn Associates, Inc. is an independent network
dBrn Associates, Inc. consulting firm specializing in telecommunications
189 Curtis Road networks and technologies.
Woodmere, NY 11598 (USA)
All opinions expressed herein are based on
Tel. 516-569-4557
independent research, and may not be quoted
without written permission of the author.

Michael Finneran can be reached at


mfinneran@att.net.

10 © dBrn Associates, Inc., 2006

Das könnte Ihnen auch gefallen