Sunteți pe pagina 1din 5

Telkom University, Department of Information

Technology
CNG4A3 Jaringan Komputer Lanjut
RESEARCH PREPARATION STEPS - v2013-09-09
UDP and TCP Streaming in MPLS and IMS Network

How to Install GNS3 (Windows Environment)


Step 1 Install GNS3
Find the file you download
and double-click on it to
begin installing GNS3. The
GNS3 Setup Wizard will
begin. Everything else is a
matter of clicking on next or
agree
buttons.
GNS3
depends on several other
programs to operate. Those
dependencies
include
WinPCAP,
Dynamips
and
Qemu
and
these
components
along
with
GNS3 are all chosen by
default for installation. The default location to install GNS3 is also chosen for
you.
Moreover note that if needed, WinPcap Setup Wizard will be launched for you
to install it, this dependency is required for GNS3 to communicate with real
networks through a physical network internal controller. The installation for
WinPcap will begin. However, if you have a previous version of WinPcap on
your computer, the wizard will ask to remove the older version and will then
install the newer version.

Step 2 Defining Cisco IOS files


GNS3 is meant to be used in a lab environment for testing and learning. Once
you have obtained your own copy of a Cisco IOS for one of the supported
platforms, you are ready to continue. Supported platforms are Cisco 7200,
3600 series (3620, 3640 and 3660), 3700 series (3725, 3745) and 2600
series (2610 to 2650XM, 2691).
On the Edit menu, choose IOS image and hypervisors. Then under the IOS
Images tab, click and then find your Cisco IOS file and click Open. The file
will appear as your Image file. Next, click the drop-down arrow next to
Platform and choose the platform that corresponds to your IOS file.
Now click the drop-down arrow
next to Model and choose the
model corresponding to your IOS
file. For now, well accept the
default
values
that
remain.
However,
there
is
a
very
important value called the IDLE
PC value that we will want to
include. Well get to that later.
Click the Save button and then
the Close button. This will return
you to the default GNS3 window.

(taken from : http://www.gns3.net/documentation/gns3/quick-start-guidefor-windows-users)

How to Connect The IMS Server to The Network


Topology :

From the picture above, we can see that IMS server is connected to a Switch
(SW1) with IP address 10.5.1.2/29. We just have to set the IP Address of Cable
Connection (LAN) in IMS server (PC) to make it able to be connected to the
Cloud. IMS server uses OpenIMS Core as the application which consists of PCSCF, I-CSCF, S-CSCF and HSS as one package that use this IP address (with
different ports) to identify themselves. IMS server will grant clients request if
client have successfully logged in as IMS user using the softphone. If client
want to do the streaming, IMS server will directing the request to media
server and give a policy or a stream profile based on the requirement from
the softphone.
To start IMS Server, There are 4 modules that we need to start first, they are
P-CSCF, I-CSCF, S-CSCF and FHoSS. To make them start or turn them on, we
have to use Terminal in Ubuntu and go to the directory where OpenIMS Core
is installed (in this case the directory is in : /opt/OpenIMSCore ) and type all
these things in different terminal :
-

./pcscf
./scscf

./icscf
./fhoss

Try to ping the server (10.5.1.2) to check if the server status (is it really
started or not), or you can use a browser and go to the server URL (in this
case the URL is : rufus-ims.org:8080).
-

How to Configure The Traffic in the Network.

Scenario :
There are two clients that will stream a video file using their softphone
simultaneously. They are accessing a video with MPEG-4 format with a size of
37.5 MB. The media server will transcode the video file using H-264 format
with 64 kbps of video bitrate and 64 kbps of audio bitrate over UDP
connection. Meanwhile, another client will access a file and the media server
will respond this request by streaming the file over TCP connection with 64
kbps of uploading speed. The test will be performed in 30 seconds.
Based on the scenario above, there are 2 traffics in the network which
are come from UDP and TCP. UDP will use RTSP (Real Time Streaming
Protocol) as the main traffic in the network based on the scenario of
streaming activity from client. TCP will use FTP (File Transferring Protocol) as
the background traffic in the network to give a stress or a load in the
network. The media server is using VLC to stream the video file over UDP
connection and FileZilla to upload the file over TCP connection.
In VLC Media Player we can set The
Destination (Protocol) and Transcoding
Profile that we want to use to stream the
file as shown in the picture. The
Destination that we will use to stream the
video file is RTSP with H-264 + MP3 (MP4)
Transcoding Profile. We can change the
transcoding profile based on the scenario
and test needed.
We
also
can
configure
the
transcoding profile to make it more
specific. The things that we are able to configure are what video codec that
we want to use Bitrate, Video Frame Rate, Audio Channels and Sample Rate
as shown in the picture below :
-

In FileZilla, we can set the speed limit of data upload and download as
the only thing that we are able to configure for networks load. From the
scenario above, the upload speed of file transfer over TCP is 64 kbps. In
server-side, we have to set the upload limit with only 64 kbps, and in the
client-side, we have to set the download limit with 64 kbps (see in the picture
below).
-