An Architecture for Multicasting Using Private Tunnel
Total Page:16
File Type:pdf, Size:1020Kb
An Architecture for Multicasting using Private Tunnel Thesis submitted in partial fulfillment of the requirements for the award of degree of Master of Engineering in Software Engineering Submitted By Amandeep Singh Sidhu (Roll No. 801131002) Under the supervision of: Dr. Neeraj Kumar Assistant Professor COMPUTER SCIENCE AND ENGINEERING DEPARTMENT THAPAR UNIVERSITY PATIALA – 147004 June 2013 i | P a g e Acknowledgement My time as a postgraduate student at Thapar University, Patiala is supported by many kind people. This page attempts to recognize those who have been most helpful along the way. First of all, I thank God for providing me such an opportunity and support. I am deeply indebted to my supervisor, Dr. Neeraj Kumar. His advice, support and kind encouragement on thesis and professional issues have effectively guided me to the right path. He always led my research papers to clear, smart and effective ones. Without him this thesis would not be possible. Thanks to all members of Thapar University. Dr Maninder Singh, Head of Computer Science Department, for his kind support and directing me in field of research based on his extensive knowledge. All staff members of Computer Science and Engineering Department for providing me all the resources required for the completion of my thesis. I would like to thank my friends, Rajinder Singh Sidhu and Amritpal Singh for their moral and technical support. They always encourage me when I needed the most. Outside the Computer Science and Engineering Department, I benefited from time spent with friends especially Atul Sharma , Mandeep Singh and Gurusharan Virk. Interdisciplinary discussion with these friends has given me many new ideas and perspectives to work on my thesis. I want to express my appreciation to each and every person who directly or indirectly help me to complete my thesis. Finally, I thank my family for all aspects of life. Amandeep Singh Sidhu ii | P a g e iii | P a g e Abstract Multicast IP is a routing scheme for efficient streaming of media and other content over a network to selected host. By multiplication of the data in the routers on the way to their destination, it allows servers to save bandwidth by only sending one stream to multiple receivers. Using IP multicast techniques to distribute this information can often substantially reduce the overall bandwidth demands on the network. A good example of this approach is the rapidly growing area of audio and video Web content. The use of multicast over the internet is rather limited as most of the ISP router does not support Multicasting for lack of hardware support. In this thesis multicast will be explained and a simple method of sending multicast data over internet to other networks. iv | P a g e Table of Contents Acknowledgement .......................................................................................................... i Certificate ..................................................................... Error! Bookmark not defined. Abstract ......................................................................................................................... iv List of Figures .............................................................................................................. vii Chapter 1 Introduction ................................................................................................... 1 1.1 Unicast .................................................................................................................. 2 1.2 Broadcast .............................................................................................................. 4 1.3 Multicast ............................................................................................................... 5 1.4 Anycast ................................................................................................................. 8 1.5 Geocast ................................................................................................................. 8 1.6 Research Motivation ............................................................................................ 9 1.7 Organization of Thesis ......................................................................................... 9 Chapter 2 Literature Review ........................................................................................ 11 2.1 Mbone................................................................................................................. 11 2.1.1 Application of Mbone ................................................................................. 12 2.2 Mcast .............................................................................................................. 12 2.2 6Bone ................................................................................................................. 13 2.3 AMT—A Transparent Bridge to Full IP Multicasting ....................................... 14 2.5 Conclusion .......................................................................................................... 15 Chapter 3 Gap Analysis and Problem Statement ......................................................... 17 3.1 Gap Analysis ...................................................................................................... 17 3.1.1 Complex System ......................................................................................... 17 3.1.2 Third Party Networks .................................................................................. 17 3.1.3 Reliability .................................................................................................... 17 3.1.4 Commercial System .................................................................................... 17 3.2 Problem Statement ......................................................................................... 18 3.3 Objectives ........................................................................................................... 18 Chapter 4 Proposed Solution ....................................................................................... 19 4.1 Requirement Analysis ........................................................................................ 19 4.2 Receiving Multicast Datagrams ......................................................................... 20 4.2.1 Joining a Multicast Group ........................................................................... 20 4.2.2 Leaving a Multicast Group. ........................................................................ 21 v | P a g e 4.2 Design of the Network Architecture .................................................................. 21 4.2.1 Multicast data over internet with blocked ISP ............................................ 22 4.2.2 Multicast data through blocked using mroute ............................................. 22 4.2.2.1 Mroute Setup ............................................................................................ 23 4.2.3 Multicast data through blocked using SSH tunnel ...................................... 23 4.2.3.1 SSH Server ............................................................................................... 24 4.2.3.2 SSH Application ...................................................................................... 26 4.3 Compare Different Models discussed earlier ..................................................... 26 4.6 Conclusion .......................................................................................................... 26 Chapter 5 Implementaion ............................................................................................. 27 5.1 Experimental Setup ............................................................................................ 27 5.2 Tools Used.......................................................................................................... 27 5.2.1 Virtual Box.................................................................................................. 27 5.2.2 XORP .......................................................................................................... 28 5.2.5 μTorrent ...................................................................................................... 29 5.2.6 Putty ............................................................................................................ 29 5.3 Implementation................................................................................................... 30 5.3.1 XORP setup on Ubuntu .............................................................................. 30 5.3.2 Media Server Windows Server 2008 .......................................................... 32 5.3.3 uTorrent Connect to SSH server ................................................................. 36 5.3.4 Conclusion .................................................................................................. 38 Chapter 6 Conclusion ................................................................................................... 39 6.1 Conclusion .......................................................................................................... 39 6.2 Thesis Contribution ............................................................................................ 39 6.3 Future Scope ....................................................................................................... 40 Bibliography ...............................................................................................................