Examensarbete LITH-ITN-KTS-EX--06/004--SE
IP TV påverkan och anpassning av IP-nätet hos en
datakomoperatör.
Jessica Eriksson
2006-02-03
Department of Science and Technology Institutionen för teknik och naturvetenskap Linköpings Universitet Linköpings Universitet SE-601 74 Norrköping, Sweden 601 74 Norrköping LITH-ITN-KTS-EX--06/004--SE
IP TV påverkan och anpassning av IP-nätet hos en datakomoperatör. Examensarbete utfört i kommunikation- och transportsystem vid Linköpings Tekniska Högskola, Campus Norrköping Jessica Eriksson
Handledare Monika Gullin Examinator Di Yuan
Norrköping 2006-02-03 Datum Avdelning, Institution Date Division, Department
Institutionen för teknik och naturvetenskap 2006-02-03
Department of Science and Technology
Språk Rapporttyp ISBN Language Report category ______x Svenska/Swedish Examensarbete ISRN LITH-ITN-KTS-EX--06/004--SE Engelska/English B-uppsats ______C-uppsats Serietitel och serienummer ISSN x D-uppsats Title of series, numbering ______
______
URL för elektronisk version
Titel Title IP TV påverkan och anpassning av IP-nätet hos en datakomoperatör.
Författare Author Jessica Eriksson
Sammanfattning Abstract TDC Song has just entered the private market with Internet Access and VoIP services. To stay competitive on the market in the future, the company will be required to offer the customers video- and TV- services and have a complete triple play packet. The purpose of this master s thesis is to determine which techniques that exist within IPTV, analyze TDC Song s network and see what actions the company needs to take in network design and network quality in order to distribute a premium packet with up to 50 channels when using Moving Picture Experts Group phase 2 (MPEG-2) to compress the video. A literature study was made to get knowledge about IPTV and the available standards to compress, transmit and display the video. Furthermore, tests were set up and performed in both laboratory and real life network environments. The theoretical study showed that the network should be configured with Protocol Independent Multicast Sparse Mode (PIM-SM) as the intra-domain routing protocol and Multicast Source Discovery Protocol (MSDP) as the inter-domain protocol to connect the PIM-SM domains together. The switches that can handle layer 3 routing should also be configured with PIM-SM and the other switches should use Internet Group Management Protocol Snooping to enhance their performance. In the laboratory tests the Extreme Summit48i switch couldn t act as Rendezvous Point (RP), but has no problem with handling multicast traffic up to 1 Gbps. No multicast traffic ought to be transmitted in the parts of the network where the Cisco routers 7206 and 3640 are situated, since their performance decrease and they will drop packets. The downlink speed from the network to the Digital Subscriber Line Access Multiplexer (DSLAMs) should be upgraded from 100 Mbps to 1 Gbps to be able to handle the IPTV, VoIP and Internet traffic with as little congestion as possible.
Nyckelord Keyword IPTV, multicast, networking Upphovsrätt
Detta dokument hålls tillgängligt på Internet – eller dess framtida ersättare – under en längre tid från publiceringsdatum under förutsättning att inga extra- ordinära omständigheter uppstår. Tillgång till dokumentet innebär tillstånd för var och en att läsa, ladda ner, skriva ut enstaka kopior för enskilt bruk och att använda det oförändrat för ickekommersiell forskning och för undervisning. Överföring av upphovsrätten vid en senare tidpunkt kan inte upphäva detta tillstånd. All annan användning av dokumentet kräver upphovsmannens medgivande. För att garantera äktheten, säkerheten och tillgängligheten finns det lösningar av teknisk och administrativ art. Upphovsmannens ideella rätt innefattar rätt att bli nämnd som upphovsman i den omfattning som god sed kräver vid användning av dokumentet på ovan beskrivna sätt samt skydd mot att dokumentet ändras eller presenteras i sådan form eller i sådant sammanhang som är kränkande för upphovsmannens litterära eller konstnärliga anseende eller egenart. För ytterligare information om Linköping University Electronic Press se förlagets hemsida http://www.ep.liu.se/
Copyright
The publishers will keep this document online on the Internet - or its possible replacement - for a considerable time from the date of publication barring exceptional circumstances. The online availability of the document implies a permanent permission for anyone to read, to download, to print out single copies for your own use and to use it unchanged for any non-commercial research and educational purpose. Subsequent transfers of copyright cannot revoke this permission. All other uses of the document are conditional on the consent of the copyright owner. The publisher has taken technical and administrative measures to assure authenticity, security and accessibility. According to intellectual property law the author has the right to be mentioned when his/her work is accessed as described above and to be protected against infringement. For additional information about the Linköping University Electronic Press and its procedures for publication and for assurance of document integrity, please refer to its WWW home page: http://www.ep.liu.se/
© Jessica Eriksson
Introducing IPTV
Impacts and adjustments to the distribution and backbone network of a network operator
Master Thesis project performed at TDC Song AB
by
Jessica Eriksson
Tutor at TDC Song AB: Monika Gullin Tutor at Linköping University: David Gundlegård Examiner: Di Yuan
Abstract
TDC Song has just entered the private market with Internet Access and VoIP services. To stay competitive on the market in the future, the company will be required to offer the customers video- and TV- services and have a complete triple play packet.
The purpose of this master’s thesis is to determine which techniques that exist within IPTV, analyze TDC Song’s network and see what actions the company needs to take in network design and network quality in order to distribute a premium packet with up to 50 channels when using Moving Picture Experts Group phase 2 (MPEG-2) to compress the video.
A literature study was made to get knowledge about IPTV and the available standards to compress, transmit and display the video. Furthermore, tests were set up and performed in both laboratory and real life network environments.
The theoretical study showed that the network should be configured with Protocol Independent Multicast Sparse Mode (PIM-SM) as the intra-domain routing protocol and Multicast Source Discovery Protocol (MSDP) as the inter-domain protocol to connect the PIM-SM domains together. The switches that can handle layer 3 routing should also be configured with PIM-SM and the other switches should use Internet Group Management Protocol Snooping to enhance their performance.
In the laboratory tests the Extreme Summit48i switch couldn’t act as Rendezvous Point (RP), but has no problem with handling multicast traffic up to 1 Gbps. No multicast traffic ought to be transmitted in the parts of the network where the Cisco routers 7206 and 3640 are situated, since their performance decrease and they will drop packets. The downlink speed from the network to the Digital Subscriber Line Access Multiplexer (DSLAMs) should be upgraded from 100 Mbps to 1 Gbps to be able to handle the IPTV, VoIP and Internet traffic with as little congestion as possible.
A buffer in the Set-Top Box should be enough to eliminate any jitter the network may cause. To be able to handle packet losses and the limited bandwidth, the network should be designed with a separate VLAN per service. This will make it possible for the company to prioritize IPTV by using VLAN tags to give Quality of Service.
2 (80)
Acknowledgements
I would like to thank the employees at TDC Song that have been involved by helping me whenever I have had a question. Furthermore, I want to give a special thanks to my tutor Monika Gullin for her support and Mikael Abrahamsson for his great networking knowledge and help during the tests.
From the University I would like to thank my tutor David Gundlegård. His broad knowledge in data- and telecommunication has given me valuable inputs and reflections on my work. I would also like to thank my opponents Mattias Bruhn and Anna Garde for their comments and suggestions that have improved my rapport.
Finally, I want to thank my family and friends for the great support I have been given. Thank you for listening when I needed it the most.
3 (80)
Contents
1 INTRODUCTION 7
1.1 BACKGROUND 7 1.2 PURPOSE 7 1.3 OBJECTIVE 7 1.4 SCOPE 8 1.5 METHODOLOGY 8 1.6 OUTLINE 8
2 THE FUNDAMENTALS OF IPTV 9
2.1 THE INTERNET PROTOCOL 9 2.2 TELEVISION 10 2.3 SYSTEM COMPONENTS 11 2.4 VIDEO COMPRESSION 13 2.5 MEDIA STREAMING PROTOCOLS AND STANDARDS 14 2.5.1 TRANSPORT CONTROL PROTOCOL AND USER DATAGRAM PROTOCOL 15 2.5.2 REAL-TIME TRANSPORT PROTOCOL AND REAL-TIME CONTROL PROTOCOL 15 2.5.3 REAL-TIME STREAMING PROTOCOL AND SESSION INITIATION PROTOCOL 16 2.5.4 SESSION DESCRIPTION PROTOCOL 16 2.6 QUALITY OF SERVICE 16 2.6.1 JITTER 17 2.6.2 PACKET LOSS 18 2.6.3 BANDWIDTH 20 2.6.4 TRAFFIC ISOLATION 20 2.6.5 SCHEDULING AND POLICING 22
3 MULTICAST 25
3.1 INTERNET GROUP MANAGEMENT PROTOCOL 26 3.1.1 IGMPV1 27 3.1.2 IGMPV2 27 3.1.3 IGMPV3 28 3.2 MULTICAST ROUTING ALGORITHMS 29 3.2.1 FLOODING 29 3.2.2 MULTICAST DISTRIBUTION TREES 29 3.2.3 REVERSE PATH FORWARDING 31 3.3 MULTICAST ROUTING PROTOCOLS 32 3.3.1 DISTANCE VECTOR MULTICAST ROUTING PROTOCOL 32 3.3.2 MULTICAST OPEN SHORTEST PATH FIRST 33 3.3.3 PROTOCOL INDEPENDENT MULTICAST - DENSE MODE 34 3.3.4 PROTOCOL INDEPENDENT MULTICAST - SPARSE MODE 37 3.3.5 CORE-BASED TREES 40 3.4 INTER-DOMAIN MULTICAST ROUTING 42 3.4.1 MULTIPROTOCOL BORDER GATEWAY PROTOCOL 42
4 (80)
3.4.2 MULTICAST SOURCE DISCOVERY PROTOCOL 43 3.4.3 BORDER GATEWAY MULTICAST PROTOCOL 45 3.4.4 MULTICAST ADDRESS SET-CLAIM 46 3.5 MULTICAST AT LAYER 2 46 3.5.1 LAN SWITCHES 47 3.5.2 INTERNET GROUP MANAGEMENT PROTOCOL SNOOPING 48 3.5.3 CISCO GROUP MANAGEMENT PROTOCOL 50
4 TDC SONG’S NETWORK 52
4.1 CORE NETWORK 52 4.2 DISTRIBUTION NETWORK 53 4.2.1 STOCKHOLM 53 4.2.2 GÖTEBORG 54 4.3 ACCESS NETWORK 55 4.4 TRAFFIC 56
5 TEST ENVIRONMENT 57
5.1 LABORATORY TEST 57 5.1.1 TEST 1 57 5.1.2 TEST 2 58 5.1.3 TEST 3 58 5.1.4 TEST 4 59 5.1.5 TEST 5 59 5.1.6 TEST 6 60 5.1.7 TEST 7 60 5.1.8 TEST 8 61 5.2 LIVE NETWORK TEST 62 5.2.1 TEST 9 62
6 RESULT AND DISCUSSION 64
6.1 TEST 1, 2 AND 3 64 6.2 TEST 4 64 6.3 TEST 5 65 6.4 TEST 6 66 6.5 TEST 7 AND 8 67 6.6 TEST 9 70
7 CONCLUSION 71
7.1 FURTHER WORK 72
5 (80)
APPENDIX A - NETWORKING FUNDAMENTALS 76
APPENDIX B - NETWORK AND TEST EQUIPMENT 77
APPENDIX C - CONFIGURATION 79
6 (80)
1 Introduction
1.1 Background
TDC Song is a Nordic company that delivers Asymmetric Digital Subscriber Line (ADSL, see appendix A) access to wholesale customers, i.e. companies that offer the service down the chain to the private market. In 2005, the services consist of Internet Access and Voice over Internet Protocol (VoIP). Since the end of 2005 TDC Song also offers these services directly to private customers.
To stay competitive on the market the company will in the near future be required to offer the customers video-and TV- services and have a complete triple play packet. This means that the customers will have the opportunity to get Internet, telephone and TV on the same copper wire at a lower price.
When Internet Protocol Television (IPTV) arrives as a service, apart from Internet and VoIP, new demands will be required on TDC Songs network infrastructure in the form of quality, capacity and equipment. The quality because the transmissions are in real-time and the customers expects a TV picture with good quality. The capacity since the company wants to offer a large amount of different channels. It also requires equipment that can handle the multimedia format and the demand for compression. Another interesting aspect to consider is the potential to store already sent programs so the customer can watch them when it is convenient for them.
This master thesis is based on the fact that TDC Song wants to know what is required to deliver the quality the customer demands when they are watching TV. It is also based on the interest of examine how and if the network design for the backbone- and distribution-network will have to change in order to deliver this TV services.
1.2 Purpose
The purpose of this master’s thesis is to determine which techniques exist within IPTV, analyze the network and the actions needed in network design and network quality given a premium packet with up to 50 channels when using Moving Picture Experts Group phase 2 (MPEG-2) to compress the video, see section 2.4.
1.3 Objective
The main goal of the master’s thesis is to recommend suitable networking technologies for distributing IPTV that is appropriate to implemented within TDC Song’s network and to locate weaknesses in TDC Song’s present network design.
7 (80) 1. Introduction
1.4 Scope
A complete IPTV solution consists of many elements and TDC Song is faced with the challenge of making numerous decisions that in the end will impact the customers IPTV experience. Due to the limited amount of time, the scope of this thesis will be restricted to the network that the company will use to transmit the service IPTV. It will not handle subjects like content rights, location of the streaming source in the network, security aspects or any specific IPTV equipment like set-up boxes or servers.
1.5 Methodology
The first step was to get knowledge about IPTV and the standards that exists to compress, transmit and display the video. To obtain this information a literature study was made. From that, conclusions was drawn about what multicast protocol to use for the tests. After that the tests were set up and performed in both laboratory and real life network environments. From this recommendations and conclusions was drawn.
1.6 Outline
This master thesis is written to a audience with a basic knowledge about data- and telecommunication. Chapter 2 gives a theoritical framework about IPTV and the quality demands required on the network to distribute IPTV services. Chapter 3 introduces multicast and describes the most common protocols used to communicate via multicast. Chapter 4 displays TDC Song’s network structure and equipment. Chapter 5 shows the setup for the tests. Chapter 6 includes results and discussions for each test. In chapter 7, conclusions can be found together with further work that would be interest to do in the area.
8 (80)
2 The fundamentals of IPTV
Today there exist several techniques to get TV transmitted to your home. It can for instant be distributed via satellite, cableTV network, terresterial or through a telecom operators IP network, which is the case with IPTV. TDC Song has decided to enter the private market under the name TDC and is today offering Internet and VoIP services to the customers. The company also wants to include IPTV to be able to offer a complete triple play packet, which is necessary to compete on the market.
The competition on the market is one of many factors that drive the development of IPTV forward. Other examples are mentioned below: Interactivity – for example voting on your favorite candidate in a TV program with a click on the TV remote instead of making a phone call. Individualized channel content – the possibility for customers to pay for the channels they want to see and not be forced to pay for an entire packet to get one particular channel. On-demand – offer the customer the possibility to see their favorite program when it suits them, without recording it first. For example watching the six o’clock news at eight o’clock. This is done by storing the programs on a server. Cost-effective – three services in one network. Channel space – the technology to offer more channels, e.g. local channels [Internet academy, 2005].
IPTV comes with advantages, like the ones described above, on-demand, high capacity, many channels, modern technique and interactivity. But like every other new technique IPTV also has some disadvantages. Because it is new it has not yet been standardized and has a complicated end-to-end delivery compared with for example satellite that only has transmitter → satellite → end customer. It will involve a big initial investment for the telecom operators with few customers at the beginning [Internet academy, 2005].
As the term IPTV suggests the technique consists of two parts, the Internet Protocol (IP) and Television (TV).
2.1 The Internet Protocol
The Internet Protocol (IP) is defined in Request For Comments (RFC) 791 maintained by Internet Engineering Task Force (IETF). IP specifies the packets format and addressing in the network and resides at the network layer of the Open Systems Interconnection (OSI) model, see appendix A. It offers an unreliable connectionless service for transporting data from source to destination in an interconnected network, which means that there is no guarantee that the delivery will be successful [Broadband Services Forum, 2005].
Every node in the network has its own IP address that is used to communicate with each other. It consists of a network number/identifier (netid) and a host number/identifier (hostid). To send packets of data from one host to another, it is IP with the help of other protocols that performs the routing and other harmonization functions. For example routing protocols are used, to set up a routing table. When a router receives a packet, it reads the destination netid from the packet header and uses its routing table to forward the packet on the correct route. If
9 (80) 2. IPTV
the size of the packet, that was received, is larger than the maximum frame size of the destination network, the IP in the destination gateway divides the block of data into smaller blocks. Each block is then forwarded in a separate packet to the IP address in the destination host, where they are reassembled to the original block again [Halsall, 2005].
There exist two versions of IP, IPv4 and IPv6. Version number four is still the dominating version of the Internet. The upgrades in version six consists of significantly more available addresses and improvements in areas of routing and auto configuration. IPv6 is forecasted to be the protocol used in the future [Ahlin, 2003].
2.2 Television
Television (TV) specifies the medium of the communication, which in this case is the transmission of pictures and sounds to the end-users located at the end of the access networks [Broadband Services Forum, 2005]. The TV technology is based on many scientist’s inventions and discoveries through the years, but John Logie Baird (1888-1946) from Scotland is often called the inventor of television [Utbildningsradion, 2005].
In Sweden, TV was first shown 1930 at Röda Kvarn in Stockholm and during the 40s some test broadcasts was performed at Kungliga Tekniska Högskolan (KTH), but the official start of TV was in September 1956. In 1962, the first live broadcast was sent over the Atlantic via a satellite and at the end of the 60s the color TV was introduced. Until the middle of the 80s there had only been two channels, SVT1 and SVT2, but 1987 TV3 started to broadcast through satellite and today there exist more than 30 channels that transmit digital and/or analog TV [Teracom, 2005].
Today analogue transmission is the most common technique used to transmit TV and Sweden, like most of Europe, transmits according to the Phase Alternating Lines system (PAL). Digital TV, on the other hand, sends according to another standard called Digital Video Broadcasting (DVB). The signal can be transmitted via satellite (DVB-S), cable (DVB-C) or terrestrial (DVB-T). With digital TV, compared to analog, more channels can be transmitted on equal amount of bandwidth and another advantage with the digital TV is the quality. The digital signal eliminates analog broadcasting artifacts like “snow” and static noise in audio, which results in a better quality. The Swedish government has taken a decision to go from analog towards digital TV and the conversion is planned to be finished in 2008 [Internet academy, 2005].
The government’s decision to go from analogue to digital TV opens up a new market for the telecom operators when the customers change.The telecom operators will compete for the customers against the other distributors of digital TV. As mentioned before, IPTV has not yet been standardized and the network is designed to transport data traffic and not sensitive media traffic. These are disadvantages compared to digital TV, but some attempts are done called transport of DVB services over IP (DVB-IPI). There are also advantages with IPTV compared to digital TV. IPTV has, theoretically, unlimited amount of channel capacity because one channel, at the time, is received. This is a advantage compared with digital TV where all channels are delivered in a bundle, at the same time, to the receiver. This reduces the local access bandwidth demand. The new High Definition Television (HDTV) will give better picture quality and digital sound. The technique requires more bandwidth per channel and is
10 (80) 2. IPTV
therefore easier to adapt to IPTV systems since the channels are distributed individually. Traditional digital TV system transmits the channels bundled together [Internet academy, 2005].
At the same time as operators invest in IPTV, distributors of cable/digital TV are investing in both Internet and Telephony. These two markets are now merging into one with more competitors.
2.3 System components
An IPTV system is made up of four major elements: