Vous êtes sur la page 1sur 71

Computer Network Design

EEB_7_876

Lab Manual

Ya Bao

Computer Network Design Lab Manual

Contents
1.

Lab Report Guidelines......................................................................................................... 2

2.

Report requirements:........................................................................................................... 3

3.

Report submission............................................................................................................... 3

4.

User name and password.................................................................................................... 3

5.

The assessment of the lab report........................................................................................ 4

6.

Workshop tasks................................................................................................................... 5

Lab 1: Internet Connect for Home Network.....................................................................................6


Lab 2

ICMP Ping........................................................................................................................ 15

Lab 3

LAN Implementation......................................................................................................... 19

Lab 4

WAN Implementation........................................................................................................ 24

Lab 5 Network design and construction.......................................................................................29


Lab 6 Services Provided on Network........................................................................................... 35
Lab 7 IP Telephony....................................................................................................................... 40
Lab 8 Packet Tracer tutorial materials..........................................................................................48
Lab 9 Prototyping a Simple Network............................................................................................ 52
Other PT lab exercises:.................................................................................................................. 54

Edited by Ya Bao

Page

Computer Network Design Lab Manual

1.

LAB REPORT GUIDELINES

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

Computer Network Design Lab Manual

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

Keep your receipt


Keep electrical copy

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.

USER NAME AND PASSWORD

CND Workshops will be carried out in Telecommunication Lab, T714/9


Lab PCs, choose to login to Window XP
User name: lab
Password: lab
On the desktop, double click on the icon of RIVERBED MODELER
Save your works on your own flash driver.
Cisco
2811
router:
Edited
by Ya
Bao
Username: lsbu
Password: lsbuCNAT

Page

Computer Network Design Lab Manual

Edited by Ya Bao

Page

Computer Network Design Lab Manual

5.

THE ASSESSMENT OF THE LAB REPORT

Edited by Ya Bao

Page

Computer Network Design Lab Manual

6.

WORKSHOP TASKS
Workshops of Computer Network Design consists TWO broad area of practice.

6.1

Network design and simulated on software package

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

Construct a network on Cisco devices

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

Computer Network Design Lab Manual

router/switch configurations;

cabling;

applications (Ping, FTP, HTTP, WiFi Network extension, CCTV on IP network, IP


telephony) on the network;

Capacity and Performance analysis of the network.

Use PT to help you build and analyse the network structuring.

Edited by Ya Bao

Page

Lab 1: Internet Connect for Home Network

RIVERBED MODELER

LAB 1: INTERNET CONNECT FOR HOME


NETWORK
Objective

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

Lab 1: Internet Connect for Home Network

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.

1. Start Reverbed Modeler.


2. Select File Open and make sure Project is selected from the pull-down menu at the
top.
3. Scroll down to the project named Home_LAN, select it and click OK.

Edited by Ya Bao

Page

Lab 1: Internet Connect for Home Network

RIVERBED MODELER

The figure above shows the simulated network.


There are three PCs doing different tasks in this network. Each PC connects to the familys 100
Mbps Ethernet switch via a UTP connection. The switch connects to the router, also via UTP. The
cable modem is not shown; it is implicit in the WAN link connecting the home PC network to the
Internet. Three Internet servers provide different services to the client PCs.

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.

Step 2: Configure the Link to 20 Kbps

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

Lab 1: Internet Connect for Home Network

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.

Step 3: Configure and Run the Simulation

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.

Step 4: View Results


We can now view various statistics including the web application Response Time experienced by
the Researcher and the WAN link utilization. Follow the instructions below to view the statistics.
Performance for the WAN link

1. Right-click on the WAN link and select View Results to view the utilization results for this
link.

2. Expand point-to-point and select utilization in both directions.


3. Select Overlaid Statistics from the pull-down menu on the bottom right- hand corner to place the

Edited by Ya Bao

Page

RIVERBED MODELER

Lab 1: Internet Connect for Home Network

results in the same panel.

4. Select Show and then click Close in the View Results window.

Performance for PC2 (Researcher PC)

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.

8. You can use the hide or show all graphs button

Edited by Ya Bao

to hide/show the graphs.

Page

Lab 1: Internet Connect for Home Network

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.

Step 6: Configure the Link to 40 Kbps


Right-click on the WAN link and change the data rate attribute to 40000.

Step 7: Run the 40 Kbps Simulation


Rerun the simulation. You can refer to the steps given previously for setting the duration and
running the simulation.

Step 8: View Results for 40Kbps Scenario


Follow the same steps mentioned before to view the link utilization, and
Response Time by the researcher PC.

Edited by Ya Bao

Page

Lab 1: Internet Connect for Home Network

RIVERBED MODELER

Notice, that the link Utilization is reduced by half.


The web application Response Time also went down from about 6 seconds to around 2.25
seconds. This is a significant improvement, both, in Utilization and Response Time.
Step 9: Set the link to 512 Kbps and run the simulation

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

Duplicate the scenario as before and name it 512K_Cable_Modem_connection.


Set the data rate for the WAN link to 512000.

Rerun the simulation.


View the results for link utilization, Response Time and Traffic Received by the
Researcher PC.

Edited by Ya Bao

Page

Lab 1: Internet Connect for Home Network

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.

Step 11: Compare Results

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.

1. Select Results Compare Results


2. To compare the utilization statistics, choose the following statistics:
3. Make sure that All Scenarios is select.

Edited by Ya Bao

Page

Lab 1: Internet Connect for Home Network

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:

Here are the results

Edited by Ya Bao

Page

Lab 1: Internet Connect for Home Network

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

Lab 1: Internet Connect for Home Network

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

RIVERBED MODELER Overview


RIVERBED MODELER is a virtual environment for modelling, analysing and
performance prediction of IT infrastructures, including applications, servers and
network technologies.
This RIVERBED MODELER Academic Edition is based upon the commercial
version. It can be downloaded from the website
https://splash.riverbed.com/community/product-lines/steelcentral/university-supportcenter/blog/2014/06/11/riverbed-modeler-academic-edition-release

and used for free with some license constraints.

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.

There is a failure occur in network.

Fig 1.1 Network Overview


Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP) provides a means for transmitting
messages from routers and other hosts to a host. It is encapsulated in IP datagram and
is used for troubleshooting the network. ICMP is used when datagram cannot reach to
its destination due to unreachable host or time to live exceeded.

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.

Fig 1.2 Rapid Configuration (Randomized Mesh)


9. Open the Object Palette by click
. Select Sim_Int_Model_List then
Drag & Drop two Sm_Int_wkstn workstations in the Grid.
10. Change their attributes. Right click on the station, press Edit Attributes.
Select Application Supported Profiles_ rows: 0. Repeat this process for
the two workstations.
11. Connect the two workstations to the two routers directly using 10BaseT
wires from the same palette as in Fig 1.1.
12. Rename all routers by right click on the router and selecting Set Name.

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

Interval (Sec): 120

Packet Size (bytes): 128

Count: 700

Record Route: Enabled

And then Press OK to accept the changes.


14. Draw an ICMP ping demand from one to other host. Select the object of
ip_ping_traffic. It can be found from Object Palette (Internet_toolbox).
Click on one workstation (start) and then to the other one (end). Then press the
right click and select Abort Demand Definition to stop drawing wires.
To edit the attribute of ICMP demand, right click on the flow line and then
select Edit Attribute do the only change in Start Time as Constant (100).
15. Now choose RIP as routing protocol in this scenario by from the Menu Bar
of the Project Editor, Protocols IP Routing Configure Routing
Check only on RIP and press OK.
16. Again from Project Editor, Protocol RIP Configure Start Time.
Select Mean Outcome: 10 and press is OK.
4. Configuring Simulation
1. Click on configure/ run simulation
button and configure these values.
From Common Tab set the Duration: 30 minutes and from Global
Attributes Tab and configure these values
IP Routing Table Export / Import: Export (It will export routing tables to a
file at the end).
RIP Sim Efficiency: Disable
RIP Stop Time: 1000
2. Click on Run
5. Result Analysis
Once the simulation is over,
1. Close the Simulation window by pressing Close.
2. Right Click anywhere in Grid and select Open Simulation Log. Check the
paths for Echo Message and Echo Reply, Node names and IP addresses from
the packets have gone through and hop delay. Table 2.1 shows the Ping
Report.
Edited by Ya Bao

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

Simple network with five different servers.


One server containing all applications which are running on five different
servers.

Fig. 1 Network Overview


2. Local Area Network
Local area network (LAN) is a communication network that interconnects a variety of
devices and provides a means for information exchange among those devices. The
scope of a LAN is small, typically a single building or a cluster of buildings. It is
usually the case LAN is owned by the same organization that owns the attached
devices. Network management responsibility for a LAN falls solely on the user. The
internal data rates of LANs are typically much greater than those of WANs.
3. Lab Description
Scenario consists of 3 subnets connected with each other by switch using 100BaseT
wire. First and Second Subnet belongs to IT and Finance Department respectively
while third one is for server.
You may load in an existing LAN model to do this experiment. Then you can skip
step 1 to 18 in the following section. However, you are expected to investigate the
performance of the LAN.
4. Creating Network (You can open an existing project)
1 Start RIVERBED MODELER and create a new project. File New and
chose a Project.
2 Name the Project <your name>_Enterprise and Scenario name
Simple_Network and Click OK.
3 Select Create Empty Scenario and click Next.

LAB 3

LAN

Riverbed Experiments

4
5
6
7
8

Select Office and click Next.


Select metre and X Span to 100 and Y Span to 100 then click Next.
Do not include any Technologies and press Next.
Review the values and press OK.
Now from Object Palette (internet toolbox) select Subnet
and
press it three times in Grid on different place and rename them as Fig.1.
9 Place Application Config and Profile Config from the Object Palette into
the Grid.
10 To Configure Application Config, Right Click on it Edit Attribute
Application Definition and select 5 rows then configure each row as
written below

Row 0 Database Access (Heavy)

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

11 To configure Profile Config, Right Click on it Edit Attribute Profile


Configuration and select 5 rows then configure each row shown in Fig 2.
12 Now rename subnet to IT, Finance and Server and then double click on IT,
you are now in the IT subnet. Change the object palette to Ethernet. Here
you place two ethernet_wkstn and one ethernet32_switch and connect
them by 10BaseT wire and rename workstations to IT_1 and IT_2 as in Fig
3.
13 Now return to higher level by pressing
button. Similarly you configure
the Finance subnet but rename workstations to Finance_1 and Finance_2 as
in Fig 4. And again return to higher level.
14 In the Server subnet, place 5 ethernet_server and one ethernet32_switch,
connect each server to the switch by 100BaseT.

LAB 3

15 Rename each server as Fig. 5.

LAN

Riverbed Experiments

LAB 3

LAN

Riverbed Experiments

Fig. 3

Fig. 4

Subnet IT

Subnet Finance

Fig. 5 Server Subnet

Fig.2 Profile Config

Fig. 6 Application Supported


Services Table

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.

Fig. 9 Choose Results

Fig. 10 Manage Scenarios

7. Result Analysis
Once the simulation is over, to view and analyze the results:
1
2
3

Right click on the Grid and Select Compare Results.


Change As ls to time_average from bottom right part of Compare Results box.
To view & analyze result unfold DB Query, HTTP, Email, FTP and Remote Login for
Response time respectively.
8. Question & Answer
Q1) Compare the DB Query Response Time (Sec) in each scenario. Can you see any effect on
network?
Q2) Compare Email and FTP Download Response Time (Sec) in each scenario. Can you see any
difference?
Q3) Compare HTTP Page and Remote Login Response Time (Sec) in each scenario. Can you see
any difference?

LAB 4 WAN Implementation

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.

2. Wide Area Network

Large geographical area is usually


by wide area network (WAN),
the crossing of public right-ofUsually, WAN consist of a number

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.

LAB 4 WAN Implementation

Riverbed Experiments

10. To Configure Application Config, Right Click on it Edit Attribute Application


Definition and select 4 rows then configure each row as written below

Row 0 Database Access (Heavy)

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 .

Fig.2 Glasgow subnet

Fig. 3 Manchester Subnet

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.

LAB 4 WAN Implementation

Riverbed Experiments

Fig. 4
London
Network
Fig.5
Changing
Model
14.

Rename
shown in

the entire network for London office as


Fig. 4.
15. 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. in Lab 3. Similarly configure each server to its specific
services and return to higher level.
16. For configuring LAN of each office, Right Click on it Edit Attribute Set Number of
Workstation to 100, and then define 4 rows for Application: Supported Profile and then
configure each row as in Fig. 6 and press OK.

Fig. 6 Setting LAN Supported Profiles


17. Use PPP_DS1 link (in internet_toobox) connect 3 subnets Cisco router. Save the Project.
Second Scenario
18. Duplicate the Scenario, form Menu Bar Scenario Duplicate Scenario and named it
Busy_Network.
19. Select all links in between three cities by pressing shift key. Right Click on any one
Edit Attribute Background Utilization and configure it as shown in Fig. 7 and tick the
box on the bottom left Apply Changes to Selected Objects and press OK you will see on
the bottom left on the Project Editor there is a message which shows 3 Object has
changed.

LAB 4 WAN Implementation

Riverbed Experiments

Fig.7 Setting Background Utilization


5. Choose Statistics
For testing network performance select those statistics shown in Fig.9. of Lab 3 but not select the
Remote Login because its not included in this Lab] Right Click on the Grid any where except any
node 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.8.

Fig 8 Manage Scenarios


In Results column choose collect or recollect option, Sim duration set to 5.0 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. Right click on the Grid and Select Compare Results.
2. Change As ls to time_average from bottom right part of Compare Results box.
3. To view & analyze result unfold DB Query, HTTP, Email and FTP respectively.

LAB 4 WAN Implementation

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

LAB 5 NETWORK DESIGN AND CONSTRUCTION

Cisco Experiments

LAB 5 NETWORK DESIGN AND CONSTRUCTION


1. Introduction
Two 2811 routers and two 2960 switches can construct different networks.
Every group should design and construct your own network.
Following figure show an example outline of the network.

2. IP addressing and connections


hosts

IP
address

LAN1

S1, PC0, PC1,


R1-FE0/1

192.168.1.x

LAN2

S2, PC2, PC3,


R2-FE0/1

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)

Short dark blue cables are


used to connect Switches
and routers
Coloured cables are used to
connect switches to PCs.
Cross-over cable is used to
connect routers
Console cable is used to
connect the control PC to
routers (in turns)

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

LAB 5 NETWORK DESIGN AND CONSTRUCTION

Cisco Experiments

Use dark blue cable to connect Switch-1(S1) to Router-1(R1) FE 0/1.


Use dark blue cable to connect Switch-2(S2) to Router-2(R2) FE 0/1.
Use cross-over cable (Gray with red head) to connect R1 FE 0/0 and R2 FE 0/0.
Use red and yellow cables to connect PC0 and PC1 to S1.
Use green and purple cable to connect PC2 and PC3 to S2.
Connect PC0-USB to R1-console port with the light blue control cable.
Make sure the CF cards are inserted in R1 and R2 CF ports.

(iii)

Check the COM number of the USB port you used. (in this graph, its COM18)

(iv)

Configure Hyper Terminal

Edited by Ya Bao

Copyright

Page

35

LAB 5 NETWORK DESIGN AND CONSTRUCTION

(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

LAB 5 NETWORK DESIGN AND CONSTRUCTION

R3(config)#hostname R1

Cisco Experiments

----this should be R2 when configuring Router-2

R1(config)#interface FastEthernet 0/0


R1(config-if)#ip address 192.168.7.1 255.255.255.0

--- 192.168.7.2 for R2

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

---- 192.168.3.1 for R2

R1(config-if)#no shutdown
R1(config-if)#exit
(vi)

Try ping command between 4 PCs and routers.


Double click Command Prompt from the desktop and ping to all other IP addresses.

whats your observations?


R1(config)#router rip
#version 2
#network 192.168.7.0

----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

LAB 5 NETWORK DESIGN AND CONSTRUCTION

Cisco Experiments

#ip dhcp excluded-address 192.168.1.30 192.168.1.254

---192.168.3.30 192.168.3.254

#ip dhcp pool lan1

--- ip dhcp pool lan2

#network 192.168.1.0 255.255.255.0

---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)

Try FTP and HTTP applications between 4 PCs.

Run xampp

on your desktop. Ensure Apache and FileZilla are started.

Edited by Ya Bao

Copyright

Page

38

LAB 5 NETWORK DESIGN AND CONSTRUCTION

Cisco Experiments

Check the IP address of your main PC.

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

Lab 6. Services Provided on Network

Cisco Experiments

LAB 6. SERVICES PROVIDED ON NETWORK


This experiment is based on a connected Cisco network and students are familiar to the
principle of IP networking and IP addressing.

1. TASKS
1.
2.
3.
4.
5.

Connecting PCs into an existing network


Setup your own web page and publish notes on the page
Setup FTP server on your network
Wireless LAN extension of an existing network
Network cameras configuration and control

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

Lab 6. Services Provided on Network

Cisco Experiments

2. Setup your own website server.


Choose any PC as your web server of your network.
Find out the IP address of your server. (e.g. 192.168.m.n)
Use MS Word to edit a simple file then save it as index.htm into the folder of
C:/xampp/hddocs/test. If the system prompts warning, just overwrite the old file.

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?

on the servers desktop. Ensure Apache is started.

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

Lab 6. Services Provided on Network

Find out the IP address of your server. (e.g. 192.168.m.n)

Run xampp

Cisco Experiments

on your servers desktop. Ensure Filezilla are started.

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).

Run Filezilla client software


from your PC desktop and connect to your FTP
server with following information.
Host: 192.168.m.n
Username: lab Password: lab port: 21
Then click on the Quickconnect button.
Try to download a file (e.g. NDI module guide) on the FTP server to your PC and
save it on the desktop. Open it.
Edit a word file with the contents of your full name then save it on your own
folder/USB driver. Give the file name as your surname.
Try to upload this file to the FTP server. Any problems?
Disconnect to the server and re-connect to the server with
Host: same as before
Username: link Password: link Port: 21
Upload your file to the FTP server. Any problems?
Check servers FTP upload folder at c:/xampp/htdocs/upload
What files you found in this folder?
(Hint: lab has been predefined as download only. Link has been predefined as upload
and download.)

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

Lab 6. Services Provided on Network

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)

4. Extend wired network to a Wireless LAN.


Connect a Cisco WAP121 (Wireless-N Access Point) to one of Cisco Switches of
your network via network cables, respectively.
Use your mobile devices (smartphone/laptop/tablet) to scan Wi-Fi networks. You will
find one of SSID: ciscoT714 or ciscoT718, which built by you.
Connect your smartphone/laptop/tablet to one of the WI-Fi network (ciscoT714 or
ciscoT718), no password needed. You mobile device should be able to access your
local network (no the internet).
Access your own website from your mobile device. (Ensure xampp server is
running.)
Type 192.168.m.n/test in the address bar of Internet Browser (or any other browsers)
on your mobile devices. What have you seen?

Edited by Ya Bao

Copyright

Page

Lab 6. Services Provided on Network

Cisco Experiments

5. Connect IP camera on the network to combine CCTV with LAN

Connect IP cameras on two switches by network cables respectively.

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.

Use the internet browser


address bar of the browser.

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.

Can you view both cameras videos?

Try it on other PCs connect to your network.

to login the camera. Type the cameras IP address in the

Connect IP cameras on the network via Wi-Fi.

Switch off the power buttons of cameras.


Disconnect the cables connecting the cameras to switches.
Switch on the power buttons of cameras. Wait until the network LED turned on.

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

Lab 6. Services Provided on Network

Cisco Experiments

Connect your mobile devices (laptop/smartphone/tablet) to your Wi-Fi network (e.g.


ciscoT714 or ciscoT718). No password needed.

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?

6. Draw the network diagram of the network you finally implemented.

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.

3. Install 3CX software PBX into the server.


Choose any one PC on the Cisco network as the SIP server.

Edited by Ya Bao

Copyright

Page

LAB 7. IP TELEPHONY

Cisco Experiments

Install 3CXPhoneSystem11 into the PC. Click on


on the desktop to
install 3CX server. Choose Next at every step before you see Finish.Then you
need to config the software before you can use it.
When you click on the Finish, then you will be guided into 3CX User Settings
Wizard.

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

Finish the installation and setting of the 3CX Server.


4. IP phone Provisioning
Connect Yealink IP phones to the Cisco 3560 POE switch on your network. If
you connect IP phone to a non-POE Switch (Cisco 2960) you need an adaptor to
power the IP phone.
Log into the 3CX Management Console. User name: admin, Password: admin

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

Note: each IP phone has been assigned an IP address.


Click Phones, all connected IP phones should be listed

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

Choose Assign to existing extension and choose 101 and click OK


Youll be taken to the Edit Extension settings page
Click Apply then OK and you have done
3CX Phone System will send a provisioning link to your Yealink phone. Once the
link has been sent, youll notice that your phone will reboot and apply the
configuration.
This procedure may take 2 minutes.
If a IP phone has been successfully provisioned an extension number, you may check by click
the Extension Status note.

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.

Choose a PC on the network. Click


to run 3CX soft IP phone.
Click Auto Provision. On the management console, you will find 3CXPhone for
Windows on the Phone list. Assign it to an unused extension number.

Edited by Ya Bao

Copyright

Page

LAB 7. IP TELEPHONY

Cisco Experiments

3CX soft phone


If it is correctly privileged, the soft phone will show information as below.

Ext. num provileged

Connected to the network and ready to use

Edited by Ya Bao

Copyright

Page

LAB 7. IP TELEPHONY

Cisco Experiments

5. Connect your mobile soft phone into the IP telephone system.


Download an appropriate version 3CXPhone for Phone System v11 on your mobile
device (Windows/Android/IPhone). http://www.3cx.com/3cxphone/
Expand your Cisco network to WiFi enabled by connecting a WiFi Access Point.

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.

6. Test and monitor your IP telephony system


Make a one-to-one call between Yealink phones. You can monitor from the
management console.

Make two/three calls simultaneously.

Try voicemail function

Edited by Ya Bao

Copyright

Page

LAB 7. IP TELEPHONY

Cisco Experiments

Try conference function

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.

1. Choose 1 phone which not privileged.

Edited by Ya Bao

Copyright

2. Click to login Phones config Rom.

Page

LAB 7. IP TELEPHONY

Cisco Experiments

set as one of the ext. num setting

Set as the IP of the server

Edited by Ya Bao

Copyright

Page

LAB 7. IP TELEPHONY

Cisco Experiments

After 2 minutes, the phone should be ready to use.

Edited by Ya Bao

Copyright

Page

LAB 8. PACKET TRACER TUTORIAL MATERIALS

LAB 8. PACKET TRACER TUTORIAL MATERIALS


Next stage of the work is individual work on Packet Tracer software simulation of an extended
network from what you have constructed.

Lab 1. Learn to Use CISCO Packet Tracer


Cisco Packet Tracer is a powerful network simulation program that allows students to
experiment with network behaviour and ask what if questions.
Objectives

Develop an understanding of the basic functions of Packet Tracer.


Create/model a simple Ethernet network using two hosts and a hub.
Observe traffic behaviour on the network.
Observe data flow of ARP broadcasts and pings.

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

LAB 8. PACKET TRACER TUTORIAL MATERIALS

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

LAB 8. PACKET TRACER TUTORIAL MATERIALS

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

LAB 8. PACKET TRACER TUTORIAL MATERIALS

Now, Power Cycle Devices and confirm the action.

Step 4: View ARP Tables on each PC


1. Choose the Auto Capture / Play button to repopulate the ARP table on the PCs. Click
OK when the No More Events message appears.
2. Select the magnifying glass on the right vertical tool bar.
3. Click PC-A. The ARP table for PC-A will appear. Notice that PC-A does have an ARP
entry for PC-B. View the ARP table for PC-B. Close all ARP table windows.
4. Click Select Tool on the right vertical tool bar. (This is the first icon present in the
toolbar.)
5. Click PC-A and select the Desktop tab.
6. Select the Command Prompt and type the command arp -a and press enter to view the
ARP table from the desktop view. Close the PC-A configuration window.
7. Examine the ARP table for PC-B.
8. Close the PC-B configuration window.

Edited by Ya Bao

Page

63

LAB 9. PROTOTYPING A SIMPLE NETWORK

LAB 9. PROTOTYPING A SIMPLE NETWORK


Objectives
Prototype a network using Packet Tracer
Background
A client has requested that you set up a simple network with two PCs connected to a switch.
Verify that the hardware, along with the given configurations, meet the requirements of the
client.

Step 1: Set up the network topology


1. Add two PCs and a Cisco 2950T switch.
2. Using straight-through cables, connect PC0 to interface Fa0/1 on Switch0 and PC1
to interfaceFa0/2 on Switch0.
3. Configure PC0 using the Config tab in the PC0 configuration window:
IP Address: 192.168.10.10
Subnet Mask: 255.255.255.0
4. Configure PC1 using the Config tab in the PC1 configuration window:
IP Address: 192.168.10.11
Subnet Mask: 255.255.255.0

Edited by Ya Bao

Page

LAB 9. PROTOTYPING A SIMPLE NETWORK

Step 2: Test connectivity from PC0 to PC1

Use the ping command to test connectivity.


1. Click PC0.
2. Choose the Desktop tab.
3. Choose Command Prompt.
4. Type ping 192.168.10.11 and press enter.
5. A successful ping indicates the network was configured correctly and the prototype
validates the hardware and software configurations. A successful ping should
resemble the below output:
PC>ping 192.168.10.11
Pinging 192.168.10.11 with 32 bytes of data:
Reply from 192.168.10.11: bytes=32 time=170ms TTL=128
Reply from 192.168.10.11: bytes=32 time=71ms TTL=128
Reply from 192.168.10.11: bytes=32 time=70ms TTL=128
Reply from 192.168.10.11: bytes=32 time=68ms TTL=128
Ping statistics for 192.168.10.11:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 68ms, Maximum = 170ms, Average = 94ms
6. Close the configuration window.
Step 3: use the ping command Test connectivity from PC1 to PC0

References:
Cisco Academy materials.
More information available at: http://ecce1.lsbu.ac.uk/cisco/

Edited by Ya Bao

Page

Other PT lab exercises:

OTHER PT LAB EXERCISES:


1.
2.
3.
4.

Observing Web Requests (open lab3.prk)


Troubleshooting a Wireless Connection (open lab4.prk)
Implementing an IP Addressing Scheme (open lab5.prk)
Using the Cisco IOS Show Commands (open lab6.prk)

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

Other PT lab exercises:

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.

8. Design of a complete Network and subnetworks

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

Other PT lab exercises:

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

Other PT lab exercises:

Network Broadcast IP address:


IP Address Paris Router Port 1
IP Address Paris Router Port 2
IP Address PC 6 / Gateway
IP Address PC 7 / Gateway
IP Address PC 8 / Gateway
New York Router
Class:
Network IP Address
Network Broadcast IP address:
IP Address New York Router Port 1
IP Address New York Router Port 2
IP Address PC 9 / Gateway
IP Address PC 10 / Gateway
IP Address PC 11 / Gateway

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

Other PT lab exercises:

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:
Subnet 5 IP address:
Subnet 5 Broadcast address:
Subnet 5 Range of IP addresses:
Subnet 6 IP address:
Subnet 6 Broadcast address:
Subnet 6 Range of IP addresses:
Subnet 7 IP address:
Subnet 7 Broadcast address:
Subnet 7 Range of IP addresses:
Subnet 8 IP address:
Subnet 8 Broadcast address:
Subnet 8 Range of IP addresses:

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

Vous aimerez peut-être aussi