Académique Documents
Professionnel Documents
Culture Documents
EEB_7_876
Lab Manual
Ya Bao
Contents
1.
2.
Report requirements:........................................................................................................... 3
3.
Report submission............................................................................................................... 3
4.
5.
6.
Workshop tasks................................................................................................................... 5
ICMP Ping........................................................................................................................ 15
Lab 3
LAN Implementation......................................................................................................... 19
Lab 4
WAN Implementation........................................................................................................ 24
Edited by Ya Bao
Page
1.
Formal lab reports should be typed on A4 paper and contain the following sections and dont
exceed the limit of the length.
Title Page:
Title of the experiment,
Authors name and student number.
Your instructor's name.
The date the report was submitted.
Aims and objectives
What was the purpose of the experiment? What was it supposed to reveal?
Introduction/Theory
The introduction should give some background on the problem your experiment investigated.
Theory section presents theoretical models, equations, physical principles, etc., that are
relevant to the investigation described in the report. It should be within one page.
Materials
List everything needed to complete your experiment.
Methods/Procedure
Describe the steps you completed during your investigation. Dont simply copy the
instructions given in the lab manual. You need to describe what YOU did. Make good use of
diagrams, sketches, or photographs to show important layout, wiring and connections
Experimental Results and explanations
Present your results and summarise the data using figures and tables. Each figure and each
table must have a number and a caption. Do not simply dump a bunch of graphs and tables
into this section with no explanation. It is best to locate figures and tables within the text (and
preferably on the same page where they are referred to) rather than grouping them together at
the end of the report.
Discussion
Discuss the meaning and importance of the experimental results, compare the results to
theoretical predictions, describe the accuracy of the results, address discrepancies, and
ultimately draw conclusions in regards to the objectives of the experiment.
Conclusions and Recommendations
This section summarizes the conclusions that have been made and gives specific
recommendations for the next steps that could be taken in subsequent experiments or further
research.
References
Edited by Ya Bao
Page
If your research was based on someone else's work or if you cited facts that require
documentation, then you should list these references.
http://www.lsbu.ac.uk/library/html/documents/HS28-numeric2012.pdf is a very
helpful sheet on how referencing should be done in any technical report (Lab or final project)
2.
REPORT REQUIREMENTS:
The reports should be 14-20 A4 sides.
Everyone must produce his/her individual report independently. Any duplicated
paragraphs will be penalised.
3.
REPORT SUBMISSION
Deadline of submitting:
contents
Assignment-1 Network
Simulation on
RIVERBED
MODELER
Assignment-2 Network
implementatio
n on Cisco
deadline
19 Nov 2014
Submit to
Faculty office
note
Keep your receipt
Keep electrical copy
7 Jan 2015
Faculty office
Late submission will be penalised in accordance with the University regulation. Keep your
receipt and the electrical copy!
The feedback of your report will be available after 15 working days of submission.
4.
Page
Edited by Ya Bao
Page
5.
Edited by Ya Bao
Page
6.
WORKSHOP TASKS
Workshops of Computer Network Design consists TWO broad area of practice.
6.1
RIVERBED MODELER has been used to design a computer network and analyse
performances of the network.
Lab.1 to Lab.4 are designed to help you familiar to RIVERBED MODELER. You
dont need to complete all RIVERBED labs before you start to design your own
network. Your coursework should write on an own designed network and
performance analyses of that network.
6.2
Workshops are carried out in group of 2-3 students. However, every student will be
expected to keep an individual logbook where procedures and findings will be documented.
Everyone must prepare his/her own report for the assessment.
Every group will be provided necessary equipment, software and help. Aim of these
workshops is to design and implement a real computer network in the lab and provide services
on the network.
Equipment list:
2 Cisco 2811 routers; 2 Cisco 2960 switches; 4 PCs; 6 straight-through cables; 1 cross-over
cable; 1 console cable, IP camera, Wifi Access points, IP telephones, PoE switch.
Software package:
Cisco Packet Tracer, 3CX SIP server and soft phone, Xampp server and clinet.
Every group should try to build a network based on equipment provided. The network design
and implementation should include:
IP addressing;
routing protocol;
Edited by Ya Bao
Page
router/switch configurations;
cabling;
Edited by Ya Bao
Page
RIVERBED MODELER
This lab teaches the basics of using RIVERBED MODELER. We investigate application
performance and capacity planning, by changing the link speed between a home LAN and its ISP.
Overview
RIVERBED MODELER provides a Virtual Network Environment that models the behaviour of
networks, including its routers, switches, protocols, servers, and individual applications. The
Virtual Network Environment allows IT managers, network and system planners, and operations
staff to more effectively diagnose difficult problems, validate changes before they are implemented,
and plan for future scenarios such as traffic growth and network failures.
You can do what if analyses (called scenarios) on network designs, just as you can on
spreadsheets with financial business models. However, instead of looking at bottom line financial
numbers, you will be looking at how response times, latency (delays) and other network performance
measures will change under different network design approaches.
To create a network simulation (called a project), you specify the nodes (computers, switches,
routers, etc.) in your network, the links between nodes, and the applications that will be running on
the nodes.
In this exercise, the initial simulation (project) has been built for you. It models a familys home PC
network, which has three PCs connected to the Internet for game playing; web browsing, E-mail,
audio streaming, and FTP (file transfer protocol).
Your objective will be to conduct a series of what-if simulations (scenarios) to see how
performance differs if the family connects to the Internet using
1) a slow modem downloading at 20 kbps,
2) a fast modem downloading at 40 kbps,
3) a cable modem or DSL line downloading at 512 kbps, or
4) a T1 line (discussed in Chapter 6) with download speed of 1.544 Mbps
For each scenario, you will set the download speed in the simulation model, run a simulation, and
Edited by Ya Bao
Page
RIVERBED MODELER
view the results. You will be addressing the question of whether faster connections are worth
higher prices for the home network.
Lab Instructions
Step 1: Open Lab file
RIVERBED MODELER consists of projects and scenarios. Each scenario represents the different
what-if analysis performed by the users. Scenarios may contain different versions of the same
network or models of different networks. A project consists of one or more network scenarios. In
this lab, you will create 4 different scenarios comparing application performance with different
connection speeds to the ISP.
Edited by Ya Bao
Page
RIVERBED MODELER
Near the top of the figure are two boxes that do not represent physical components: Applications
and Profiles. The Applications node contains data about the applications used in the network, such
as Web browsing. More specifically, traffic is associated with each application, so there is a
difference between light Web browsing and heavy Web browsing. Internal file service and
print service traffic are not shown; these would be too light to make a difference in performance
because the Internet WAN connection is the weak link in this network. In the Profiles icon,
different applications are associated with different PCs.
The complete topology is laid out and the attributes for all the objects are pre- configured except
the link data rate between the Router and the Internet cloud, this is our WAN link.
In your first scenario, you will configure the WAN link as a 20 kbps dial-up line.
1. Right-click on the WAN link, select Edit Attributes.
Here we can see the different link attributes. We will be changing the data rate attribute of this
link.
Edited by Ya Bao
Page
RIVERBED MODELER
2. Click in the Value field of the data rate attribute and select Edit
3. Enter 20000; press Enter and then click OK.
To simulate this network, we will use high fidelity discrete event simulation. The model simulates
client/server application packets, which represent real world network traffic.
1. Click on the configure/run simulation button.
2. Make sure the Simulation Duration is set to 8 hours to represent a typical day.
3. Click Run, monitor the progress bar as the simulation proceeds.
4. When the simulation completes, Click Close.
1. Right-click on the WAN link and select View Results to view the utilization results for this
link.
Edited by Ya Bao
Page
RIVERBED MODELER
4. Select Show and then click Close in the View Results window.
5. Right-click on the PC2 Researcher client and select View Results to view the web Response
Time and Traffic Received.
6. Expand Client Http and select Page Response Time (seconds). Also make sure that the pulldown menu on the bottom right-hand corner is set to As Is.
7. Click Close in the View Results window.
Edited by Ya Bao
Page
RIVERBED MODELER
Your results should be similar to the graphs above. The download link Utilization averages about
80% and the upload link Utilization about 2%. With a download link utilization of 80%, this does
not give much available bandwidth for potential new applications or users. The Response Time that
the Researcher experiences is in the range of 5 to 7.5 seconds, which is painfully long. This slow
WAN link is badly overloaded.
Step 5: 40 kbps Scenario
Implement a fast modem connection downloading at 40 Kbps. This is realistic throughput for a
modem whose download speed is rated at 56 Kbps.
1. Select Scenarios Duplicate Scenario and name the scenario as
40K_dialup_connection.
2. Click OK. This creates a copy of the existing scenario.
Edited by Ya Bao
Page
RIVERBED MODELER
In the third scenario, you will simulate a 512 kbps download speed. This is a realistic downloading
throughput for a cable modem or DSL line. This WAN connection
Edited by Ya Bao
Page
RIVERBED MODELER
The Utilization went down to 4% and the Response Time for the Researcher went down to
0.15 seconds. The cable modem improves our download times greatly. Response time is very
good.
Step 10: Configure the link to T1 line and run the simulation
The ISP also provides residential T1 connection. T1 lines, offer a rated speed of 1.544 Mbps in
both directions. This is also its actual throughput. The fourth scenario will consider the benefits of
using a T1 WAN link to the ISP.
Duplicate the scenario again and name it T1_connection.
Change the data rate of the WAN link to T1 from the pull-down menu.
Rerun the simulation.
Rather than viewing the results for the T1 link alone, let us compare the results of Utilization and
Response Times for all the 4 scenarios. This will give us a broader picture of the effect of
changing the data rate.
Edited by Ya Bao
Page
RIVERBED MODELER
4. Click Show. To compare the Response Time, unselect the previous statistics, change the filter on
the right-hand bottom corner from As Is to average and then choose the following statistics:
Edited by Ya Bao
Page
RIVERBED MODELER
We can see from these results that as the data rate increases from 20K to 40K to 512K, the
Utilization becomes better. Also the Web Application response time becomes better.
However, the Response Time and Utilization do not get affected much by changing the data rate
from 512K to T1 line. For the current number of users, the T1 connection does not offer much
benefit. This shows that upgrading to a T1 link will not be economically feasible with the
performance improvement that it gives.
Further research
So far, every scenario had step-by-step instructions. Now, here are some advanced scenarios for you
to run.
Advanced Scenario 1. Many statistics are being collected like the throughput and the
queuing delay on the WAN link. View these 2 results for the four scenarios and prepare
a brief report of your observation.
Advanced Scenario 2. Create a duplicate scenario. Change the data rate of the WAN link
between the Router and the ISP to get an average response time of 1 sec. (Hint: From the
results, we can see that the data rate might fall between 40 Kbps and 512 Kbps.) What
WAN speed did your find to give this response time?
Advanced Scenario 3. There is continuous streaming between the music server and PC1
Edited by Ya Bao
Page
RIVERBED MODELER
defined by a traffic demand object. You can view this object by selecting View
Demand Objects Show All in the menu. Try changing the Traffic volume for this
demand. (Hint: Edit the Traffic (packets/sec) and Traffic (bits/sec) attributes of the
Demand Object.) Observe its effect on the web response time for the researcher. Briefly
describe the data values you changed and the impact on the researcher.
Advanced Scenario 4. What would happen if there were FIVE more PCs? Select and
Copy the Researcher PC. Then paste the PC. Copy more PCs in the similar manner.
Connect these FIVE PCs to the switch by copying and pasting the links connecting the
first researcher PC and the switch. Run the simulation and see view the web Response
Times of each of these PCs for all the data rates. What did you find?
Advanced Scenario 5. Here is a harder task. Add more applications to the researcher
PC and check the response time that it gets. (Hint: To add applications to a client, you
need to edit the attributes of the Profile object and edit the Profile Configuration.)
References:
http://www.opnet.com/university_program/teaching_with_opnet/textbooks_and_materials/itg_pa
nko.html
Edited by Ya Bao
Page
LAB 2
LAB 2
ICMP Ping
Riverbed Experiments
ICMP PING
1. Objective
The purpose of designing this lab is to study the traces of ping in following scenarios.
There is no failure occur in network.
Edited by Ya Bao
Page
LAB 2
ICMP Ping
Riverbed Experiments
2. Lab Description
Scenario consists of 7-routers-Randomised Mesh Topology-backbone with 2
workstations WS1 and WS2. WS1 sends an echo request to WS2 and WS2 will
responds with an echo reply. We will study the path of request and reply packets
went through the network. In the other scenario there is link failure occur and we will
study how does it effect on ping traces.
3. Creating Network (this step can be simplified by open an existing project)
1. Start RIVERBED MODELER and create a new project. File New and
chose a Project.
2. Project name:
<your name>_Ping
Scenario name:
Link_UP
and Click OK.
3. Select Create Empty Scenario and click Next.
4. Select Campus and click Next.
5. Select Kilometre and X Span to 10 and Y Span to 10 then click Next.
6. Do not include any Technologies and press Next.
7. Review the values and press OK.
8. Now from menu bar go to Topology Rapid Configuration. Select
Mesh,Randomized. Set the dialogue box appeared as Fig 1.2.
Edited by Ya Bao
Page
LAB 2
ICMP Ping
Riverbed Experiments
13. Now Set up ICMP traffic. Place IP Attribute Config from internet_toolbox
palette in to Grid. Right click on it Edit Attribute in IP Ping
Parameters_row 0, click to open Details and set
Pattern: Default
Count: 700
Page
LAB 2
IP Address
192.0.14.2
192.0.5.2
192.0.6.1
192.0.8.1
192.0.8.2
192.0.8.2
192.0.6.2
192.0.5.1
192.0.14.1
192.0.14.2
ICMP Ping
Riverbed Experiments
Hop Delay
Node Name
0.00000
Campus Network.WS1
0.00020
Campus Network.Borough_Road
0.00280
Campus Network.Techno_Park
0.00110
Campus Network.Perry_Library
0.00027
Campus Network.WS2
0.00001
Campus Network.WS2
0.00020
Campus Network.Perry_Library
0.00110
Campus Network.Techno_Park
0.00111
Campus Network.Borough_Road
0.00026
Campus Network.WS1
Table 2.1 Ping Report for Link_UP
6. Question
Duplicate the current scenario and named it Link_Down. Fail the link between the
routers which is used by ping in Link_UP scenario by right clicking on Link and
select Fail This Link because that link is used by Ping in Link_UP scenario. Analyze
the new result.
Edited by Ya Bao
Page
LAB 3
LAB 3
LAN
Riverbed Experiments
LAN IMPLEMENTATION
1. Objective
The objective this lab is to show the basic designing of a LAN using subnet, users,
switches and servers. There are two scenarios in the project.
1
2
LAB 3
LAN
Riverbed Experiments
4
5
6
7
8
Description
Database High Load
Row 1 Email ( Heavy)
Description
Email High Load
Row 2 File Transfer (Heavy)
Description
FTP High Load
Row 3 Web Browsing (Heavy)
Description
HTTP Heavy Browsing
Row 4 Telnet Session (Heavy)
Description
Remote Login High Load
LAB 3
LAN
Riverbed Experiments
LAB 3
LAN
Riverbed Experiments
Fig. 3
Fig. 4
Subnet IT
Subnet Finance
16 Configure each server to its specific application, Right Click on Database Server
Edit Attribute Application: Supported Services Edit and define 1 row
and configure Database Server as shown in Fig.6. Similarly configure each server
to its specific services and return to higher level.
17 Place one ethernet32_switch here and connect each subnet by using 100BaseT
connection as shown Fig. 1 (connect to switches in each subnet). Rename this
switch to Main.
18 Save the Project.
Second Scenario
19 Duplicate the Scenario, form Menu Bar Scenario Duplicate Scenario and
named it One_Server.
20 Double click on Server subnet and delete 4 servers. Left only one server as show
in Fig.7.
Fig .7 One Server Scenario Fig 8 Application Supported Services for One_Server
21 Configure all services in that server, Right Click on Server Edit Attributes
Application: Supported Services Edit and now select 5 rows because you have 5
different services running & configure them as shown in Fig. 8.
22 Save the Project.
5. Choose Statistics
For testing network performance select those statistics shown in Fig. 9. Right Click on the Grid
any free area Choose Individual Statistics and click OK.
6. Configuring/Run Simulation
For running both scenarios concurrently, Scenarios Manage Scenarios, it will open a dialogue
box. Firstly you have to configure simulation as shown in Fig. 10. In Results column choose
collect or recollect option, Sim duration set to 30 and Time Modules to minute(s) and press OK
to run a simulation.
7. Result Analysis
Once the simulation is over, to view and analyze the results:
1
2
3
LAB 4
Riverbed Experiments
WAN IMPLEMENTATION
1. Objective
The objective of designing this lab is to show the WAN implementation. XYZ company branches
are in Glasgow and Manchester while head office is in London, all the servers running in head
office. The goal is to show network performance is affected by background traffic. There are two
scenarios in the project.
1. To show network performance without background traffic.
2. To show network performance with background traffic.
covered
requires
ways.
Fig. 1
Network Overview
of interconnected switching nodes. Internal nodes routed the transmission from any one device to
its exact destination. Internal nodes are not concerned with the content of the data. Their actual
functionality is to offer a switching facility that will shift the data from one to another node until
they reach their destination.
3. Lab Description
Scenario consists of 3 offices each has CS_4500_3s_e6_sl4_tr2_adv for connection to each other
by using PPP_DS1 link. First and Second Subnet belongs to Glasgow and Manchester office
respectively while third one is for London. Branches consist of 10BaseT_LAN connected to
router using 10BaseT link. There are 4 servers running in London office and they connected to
ethernet16_switch by using 100BaseT link. It also consists of 10BaseT_LAN connected to
router using 10BaseT link.
4. Creating Network
1. Start RIVERBED MODELER and create a new project. File New and chose a Project.
2. Name the Project <name>_WAN and Scenario name No_Traffic and Click OK.
3. Select Create Empty Scenario and click Next.
4. Select World and click Next.
5. Select UK from the map list and click Next.
6. Do not include any Technologies and press Next.
7. Review the values and press OK.
8. Now form Object Palette: (internet_toolbox) select Subnet and press it three times in
Grid on Glasgow, London and Manchester as shown in Fig. 1.
9. Place Application Config and Profile Config from the Object Palette into the Grid.
Riverbed Experiments
Description
Database High Load
Row 1 Email ( Heavy)
Description
Email High Load
Row 2 File Transfer (Heavy)
Description
FTP High Load
Row 3 Web Browsing (Heavy)
Description
HTTP High Load
11. To configure Profile Config, Right Click on it Edit Attribute Profile
Configuration and select 4 rows then configure each row as Fig. 2 of Lab 2.
(Hint: configure same as in Lab 3 but not configure Remote Login)
12. Now rename subnet to Glasgow, London and Manchester and then double click on
Glasgow. You are now in the subnet. Here you place 10BaseT_LAN (from LANs) and
one CS_4500_3s_e6_sl4_tr2_adv (from Cisco, chose CS 4500, then edit its attributes,
double click on it model to set as in Fig.5 ) and connect both systems by 10BaseT wire
and rename Glasgow Office and Glasgow Router as in Fig. 2. Similarly you have to
configure the Manchester subnet as shown in Fig. 3 .
13. In the London subnet, place 4 ethernet_server, one ethernet16_switch (from Ethernet),
and one CS_4500_3s_e6_sl4_tr2_adv (from Cisco Object Palette). Connect each Server
to Switch and switch to router by using 100BaseT.
Riverbed Experiments
Fig. 4
London
Network
Fig.5
Changing
Model
14.
Rename
shown in
Riverbed Experiments
Riverbed Experiments
8. Question
Q1) Compare the DB Query Response Time (Sec) and Email Response Time (Sec). Can you see
any effect on network with or without background utilization?
Q2) Compare the FTP Download Response Time (Sec) and HTTP Page Response Time (Sec). Can
you see any effect on network with or without background utilization?
Lab1 to Lab4 are designed to help you familiar to RIVERBED MODELER. Your
coursework should write on an own designed network and performance analyses of the
network.
Reference:
Network Simulation Experiments Manual, 2nd Edition, Emad Aboelela, Elsevier Inc. 2008
http://www.opnet.com/university_program/teaching_with_opnet/textbooks_and_materials/index
Cisco Experiments
IP
address
LAN1
192.168.1.x
LAN2
192.168.3.x
LAN3
R1-FE0/0,
R2-FE0/0
PC0-USB,
R1-console,
R2-console
192.168.7.x
Control
N/A
cable
Note
3 Straight-through
(red, yellow and dark
blue)
3 Straight-through
(green, purple and
dark blue)
1 Cross-over
(Gray with red head)
1 Console cable
(Light Blue)
3. Initial configurations
(i)
(ii)
Configure 4 PCs IP addresses. Dont forget to set the default gateways for all PCs.
Making all connections
Edited by Ya Bao
Copyright
Page
34
Cisco Experiments
(iii)
Check the COM number of the USB port you used. (in this graph, its COM18)
(iv)
Edited by Ya Bao
Copyright
Page
35
(v)
Cisco Experiments
Configure R1
Switch on the R1 router, you will see messages on the hyper terminal window. Wait for 2 minutes
until %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et0/1, changed state to
downshown. Press return then input the username: lsbu and password: lsbuCNAT.
R3# enable
R3#config terminal
Edited by Ya Bao
Copyright
Page
36
R3(config)#hostname R1
Cisco Experiments
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface FastEthernet 0/1
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
(vi)
----192.168.7.0 for R2
#network 192.168.1.0
---192.168.3.0 for R2
#exit
Try ping between PCs again. What are your observations?
Change all PCs IP address setting to obtain IP address automatically.
#ip dhcp excluded-address 192.168.1.1
Edited by Ya Bao
---192.168.3.1 for R2
Copyright
Page
37
Cisco Experiments
---192.168.3.30 192.168.3.254
---192.168.3.0
#domain-name lan1test.inc
#default-router 192.168.1.1
---192.168.3.1
#dns-server 192.168.1.4
#exit
#exit
(All above commands can be edited and saved as a text file on your own USB driver for each
router individually. You can then transfer this file to the router when initial configuration via
hyper terminal.)
(vii)
Configure R2
Move the light blue control cable from R1 to R2console port. Switch on R2. Configure R2 (note IP
addresses are different from R1).
Try ping between PCs again. What are your observations?
(viii)
Run xampp
Edited by Ya Bao
Copyright
Page
38
Cisco Experiments
From other 3 PCs, open Internet Explorer, type in the http://IP address/ndi (in my example
is http://192.168.1.6/ndi). What have you seen?
Follow the instruction on the screen to download file and measure the transfer times.
Optional:
You may try more applications on the network you constructed.
Try connecting another PC into your network.
streamed Video
routing protocol
TFTP server
More complicated network may be constructed between two groups.
Edited by Ya Bao
Copyright
Page
39
Cisco Experiments
1. TASKS
1.
2.
3.
4.
5.
2. EXISTING NETWORK
3. PROCEDURES
1. Connect one (or more) PC(s) into the existing network
Connect PC4 to Swich1 by another network cable. Do you need to set the set the IP
address, subnet mask and default gateway? After 2 minutes of the connecting, Check
what is PC4s IP address?
Disconnect PC4 from Switch1 and then connect it to Switch2. After 2 minutes of the
connecting, Check what is PC4s IP address? Explain the reason why they are
diffident.
Edited by Ya Bao
Copyright
Page
Cisco Experiments
Run xampp
From all other PCs, open Internet Explorer, type in the http://192.168.m.n/test. What
have you seen?
At the server PC, use MS Word to open the file of index.htm in the folder of
c:/xampp/htdocs/test. Edit to add more messages and save it.
From all other PCs, refresh (F5) the Internet Explorer, which the address bar with
http://192.168.m.n/test. What have you seen?
3. Setup your FTP server to allow your clients to download and upload files from/to the
server.
Choose one PC as your FTP server of your network.
Edited by Ya Bao
Copyright
Page
Run xampp
Cisco Experiments
Every member of the group now should choose to work on different PCs on your
network (avoid to use the PC used as the server).
From the FTP server, click on the admin to show admin console. Add a new user with your own name and own
password in the group of staff (read/write/delete). Set the home folder as c:/xampp/hddocs/upload
Login the FTP server from other PCs with your own created user try upload, download and delete the file which
you just uploaded. (Dont delete any other files)
Edited by Ya Bao
Copyright
Page
Cisco Experiments
From other PCs login the FTP server with your own created user. Try upload, download and delete a file. (Only
delete your own uploaded files)
Edited by Ya Bao
Copyright
Page
Cisco Experiments
Run IP Camera eyespy247 Setup to get their IP addresses. Note: the software MUST be
run on the PC within the same LAN of the camera.
You should be able to view the video by click on the Video on the top of page.
Open a new tab from the browser, type another cameras IP address in the address bar of
the new tab.
Use the camera software to get their IP addresses. Note: the software MUST be run on the
PC within the same LAN of the camera.
Use the internet browser on any PC to login and control cameras by type the IP addresses
of cameras.
Edited by Ya Bao
Copyright
Page
Cisco Experiments
Use your mobile devices to access and control cameras. (Open an browser on your mobile
devices. Type the cameras IP address in the address bar of the browser.) Whats your
finding?
Edited by Ya Bao
Copyright
Page
LAB 7. IP TELEPHONY
Cisco Experiments
LAB 7. IP TELEPHONY
This experiment is based on a connected Cisco network and students are familiar to the
principle of IP networking and IP addressing.
1. Aims
Providing telephone services over Cisco networks
2. Tasks
1. Self-Learn principles and protocols of Voice Over IP (VOIP)
2. Construct a simple Cisco network
3. Install 3CX software PBX into the server
4. IP phone Provisioning
5. Connect your mobile soft phone into the IP telephone system.
6. Test and monitor your IP telephony system
3. Procedures
1. Self-Learn principles and protocols of Voice Over IP (VOIP)
What is VOIP? What is IP telephony? Compare between IP telephony vs.
Public Switched Telephone Network (PSTN).
What is a Private Branch Exchange (PBX) in a telephone system?
What is SIP protocol? How it works? What is the function of SIP server or
software PBX?
2. Construct a simple Cisco network.
Use one Cisco 2811 router, Cisco 3560 POE switch and 2 PCs to construct a
simple network for a small business as shown below. (Hint: configure one
router as before)
Use ping or website server to check the network has been correctly connected.
Edited by Ya Bao
Copyright
Page
LAB 7. IP TELEPHONY
Cisco Experiments
Leave blank
Edited by Ya Bao
Copyright
Page
LAB 7. IP TELEPHONY
Cisco Experiments
Make a note of the Voicemail PIN of each extension, change the Authentication Password to the same as ext num.
Repeat to add extension numbers until 107, then Next>, choose United Kingdom(+44).
admin
admin
Edited by Ya Bao
Copyright
Page
LAB 7. IP TELEPHONY
Edited by Ya Bao
Copyright
Cisco Experiments
Page
LAB 7. IP TELEPHONY
Edited by Ya Bao
Copyright
Cisco Experiments
Page
LAB 7. IP TELEPHONY
Cisco Experiments
Password: admin
Go to
the Phones node
Your Yealink IP phones will appear at the top of the list in bold, as long as youve
plugged it into the same LAN.
Edited by Ya Bao
Copyright
Page
LAB 7. IP TELEPHONY
Cisco Experiments
Right click on your Yealink IP phone. Youre given the following two options:
Add Extension this will create a new extension
Assign to Existing Extension this will assign an existing extension
Edited by Ya Bao
Copyright
Page
LAB 7. IP TELEPHONY
Cisco Experiments
Green Register Extension means the IP phone has been correctly assigned and ready to use. The phone
Repeat until all IP phones have been assigned to different extension numbers. All
information could be found in the consoles Phones and Extension Status notes.
Edited by Ya Bao
Copyright
Page
LAB 7. IP TELEPHONY
Cisco Experiments
Edited by Ya Bao
Copyright
Page
LAB 7. IP TELEPHONY
Cisco Experiments
Connect your mobile device into your Cisco network and check it is correctly
connected.
Run your 3CX soft phone on your mobile device and privilege it at the console as
before.
Edited by Ya Bao
Copyright
Page
LAB 7. IP TELEPHONY
Cisco Experiments
Edited by Ya Bao
Copyright
Page
LAB 7. IP TELEPHONY
Cisco Experiments
Appendix:
If an IP phone/soft phone cannot be automatic privileged, it can be manually privilege.
Edited by Ya Bao
Copyright
Page
LAB 7. IP TELEPHONY
Cisco Experiments
Edited by Ya Bao
Copyright
Page
LAB 7. IP TELEPHONY
Cisco Experiments
Edited by Ya Bao
Copyright
Page
Hint: To ensure that the instructions always remain visible during an activity, click the "Top"
check box in the lower left-hand corner of this instruction window.
Step 1: Create a logical network diagram with two PCs and a hub
The bottom left-hand corner of the Packet Tracer screen displays nine icons that represent
device categories or groups, such as Routers, Switches, or End Devices.
Moving the cursor over the device categories will show the name of the category in the box.
To select a device, first select the device category. Once the device category is selected, the
options within that category appear in the box next to the category listings. Select the device
option that is required.
1. Select End Devices from the options in the bottom left-hand corner. Drag and drop
two generic PCs onto the design area.
Edited by Ya Bao
Page
60
2. Select Hubs from the options in the bottom left-hand corner. Add a hub to the
prototype network by dragging and dropping a generic hub onto the design area.
3. Select Connections from the bottom left-hand corner. Choose a Copper Straightthrough cable type. Click the first host, PC0, and assign the cable to the
FastEthernet connector. Click the hub, Hub0, and select a connection port, Port 0, to
connect to PC0.
4. Repeat Step c for the second PC, PC1, to connect the PC to Port 1 on the hub. *There
should be green dots at both ends of each cable connection. If not, check the cable
type selected.
Step 2: Configure host names and IP addresses on the PCs
1. Click PC0. A PC0 window will appear.
2. From the PC0 window, select the Config tab. Change the PC Display Name to PC-A.
(An error message window will appear warning that changing the device name may
affect scoring of the activity. Ignore this error message.) Select the FastEthernet tab
on the left and add the IP address of 192.168.1.1 and subnet mask of255.255.255.0.
Close the PC-A configuration window by selecting the x in the upper right-hand
corner.
3. Click PC1.
4. Select the Config tab. Change the PC Display Name to PC-B. Select the
FastEthernet tab on the left and add the IP address of 192.168.1.2 and subnet mask
of 255.255.255.0. Close the PC-B configuration window.
Step 3: Observe the flow of data from PC-A to PC-B by creating network traffic
1. Switch to Simulation mode by selecting the tab that is partially hidden behind the
Realtime tab in the bottom right-hand corner. The tab has the icon of a stopwatch on
it.
2. Click the Edit Filters button in the Event List Filters area. Clicking the Edit Filters
button will create a pop-up window. In the pop-up window, click the Show All/None
box to deselect every filter. Select just the ARP and ICMP filters.
3. Select a Simple PDU by clicking the closed envelope on the right vertical toolbar.
Move your cursor to the display area of your screen. Click PC-A to establish the
source. Move your cursor to PC-B and click to establish the destination.
Edited by Ya Bao
Page
61
4. Notice that two envelopes are now positioned beside PC-A. One envelope is ICMP,
while the other is ARP. The Event List in the Simulation Panel will identify exactly
which envelope represents ICMP and which represents ARP.
5. Select Auto Capture / Play from the Play Controls area of the Simulation Panel.
Below the Auto Capture / Play
button is a horizontal bar, with a
vertical button that controls the speed
of the simulation. Dragging the button
to the right will speed up the
simulation, while dragging it to the
left will slow down the simulation.
6. The animation will run until the message window No More Events appears. All
requested events have been completed.
7. Choose the Reset Simulation button in the Simulation Panel. Notice that the ARP
envelope is no longer present. This has reset the simulation but has not cleared any
configuration changes or dynamic table entries, such as ARP table entries. The ARP
request is not necessary to complete the ping command because PC-A already has the
MAC address in the ARP table.
8. Choose the Capture / Forward button. The ICMP envelope will move from the
source to the hub and stop. The Capture / Forward button allows you to run the
simulation one step at a time. Continue selecting the Capture / Forward button until
you complete the event.
9. Choose the Power Cycle Devices button on the bottom left, above the device icons.
10. An error message will appear asking you to confirm reset. Choose Yes. Now both the
ICMP and ARP envelopes are present again.
11. Resetting the Network
Whenever you want to reset the network and begin the simulation again, perform the
following tasks:
Click Delete in the PDU area.
Edited by Ya Bao
Page
62
Edited by Ya Bao
Page
63
Edited by Ya Bao
Page
References:
Cisco Academy materials.
More information available at: http://ecce1.lsbu.ac.uk/cisco/
Edited by Ya Bao
Page
Note: to start Cisco IOS CLI, you need to click on Customer PC, Desktop,
Terminal, ok. Press enter You will see
ISPRouter>
5. Using the Cisco IOS Show Commands (open lab7.prk)
6. Planning Network-based Firewalls (open lab8.prk)
References:
Cisco Academy materials.
More information available at: http://ecce1.lsbu.ac.uk/cisco/
7. Design a network with 4 subnets
Exercises 1
Design a network diagram, using Packet tracer, with 4 subnets. Fill in the Network design table below before
configuring the network devices:
1 routers, 2 switches, 1 hubs, 1 servers and 1 printers in each subnet, and 16 PCs.
Use the main network address: 192.168.1.0.
Network Design Table
Network IP address:
Class:
Default Network Mask:
Network Broadcast IP address:
Subnet Mask:
Subnet 1 IP address:
Subnet 1 Broadcast address:
Subnet 1 Range of IP addresses:
Subnet 2 IP address:
Subnet 2 Broadcast address:
Subnet 2 Range of IP addresses:
Subnet 3 IP address:
Subnet 3 Broadcast address:
Subnet 3 Range of IP addresses:
Subnet 4 IP address:
Subnet 4 Broadcast address:
Subnet 4 Range of IP addresses:
192.168.1.0
Finally, use the simulation and realtime modes to test your network design.
Exercises 2
Edited by Ya Bao
Page
Design, draw and configure a network with 8 subnets (fill in the Network design table) using:
2 routers, 3 switches, 3 hubs, 2 servers and 2 printers in each subnet, and 12 PCs.
Use the main network address: 64.0.0.0.
Use the simulation mode by sending some messages at the same time between PCs, and notice how
messages collide if the network is not segmented using switches and routers.
Determine the number of collision and broadcast domains.
Write down all the details of this network design (network address, subnet mask, subnet addresses,
address range of each subnet, Network broadcast address, broadcast address in each subnet).
Save your design as lab5diagram1.pkt, in your flash memory for future use.
Exercise 1:
Design a network diagram, using Packet tracer, with 4 subnets. Fill in the Network design table below before
configuring the network devices:
1 router, 4 switches, and 16 PCs.
Use the main network address: 176.100.0.0.
Network Design Table
Network IP address:
Class:
Default Network Mask:
Network Broadcast IP address:
Subnet Mask:
Subnet 1 IP address:
Subnet 1 Broadcast address:
Subnet 1 Range of IP addresses:
Subnet 2 IP address:
Subnet 2 Broadcast address:
Subnet 2 Range of IP addresses:
Subnet 3 IP address:
Subnet 3 Broadcast address:
Subnet 3 Range of IP addresses:
Subnet 4 IP address:
Subnet 4 Broadcast address:
Subnet 4 Range of IP addresses:
176.100.0.0
B
255.255.0.0
176.100.255.255
255.255.192.0
176.100.0.0
176.100.63.255
176.100.0.1 to 176.100.63.254
176.100.64.0
176.100.127.255
176.100.64.1 to 176.100.127.254
176.100.128.0
176.100.191.255
176.100.128.1 to 176.100.191.254
176.100.192.0
176.100.255.255
176.100.192.1 to 176.100.255.254
Configure the router and the various PCs with the appropriate parameters from above.
Use the appropriate gateways in the PCs in order for the router to route the messages.
Finally, use the simulation and realtime modes to test your network design.
Save your design as lab6diagram1.pkt, in your flash memory for future use.
Edited by Ya Bao
Page
Exercise 2:
Design a simulated network diagram, with 4 routers located in different parts of the world through the Internet.
Fill in the Network design table below before configuring the network devices:
4 routers, 4 switches, and 12 PCs.
Network Design Table
Riyadh Router
Class:
Network IP Address
Network Broadcast IP address:
IP Address Riyadh Router Port 1
IP Address Riyadh Router Port 2
IP Address PC 0 / Gateway
IP Address PC 1 / Gateway
IP Address PC 2 / Gateway
London Router
Class:
Network IP Address
Network Broadcast IP address:
IP Address London Router Port 1
IP Address London Router Port 2
IP Address PC 3 / Gateway
IP Address PC 4 / Gateway
IP Address PC 5 / Gateway
Paris Router
Class:
Network IP Address
Edited by Ya Bao
Page
Configure the routers, switches and the various PCs with the appropriate parameters and connections
from table above.
Use the appropriate gateways in the PCs and routers for the messages to be routed.
Finally, use the simulation and realtime modes to test your network design.
Save your design as lab6diagram2.pkt, in your flash memory for future use.
Exercises 3
Design a network diagram, using Packet tracer, with 8 subnets. Fill in the Network design table below before
configuring the network devices:
2 routers, 4 switches, and 16 PCs.
Use a class C IP address for the network.
Edited by Ya Bao
Page
Configure the router and the various PCs with the appropriate parameters from above.
Use the appropriate gateways in the PCs in order for the router to route the messages.
Finally, use the simulation and realtime modes to test your network design.
Save your design in your flash memory for future use.
reference
www.mmenacer.info
Edited by Ya Bao
Page