Docsity

Simulating Computer Networks - Computer Network - Lecture Slides, Slides of Computer Networks

Partial preview of the text

Download Simulating Computer Networks - Computer Network - Lecture Slides and more Slides Computer Networks in PDF only on Docsity!

Simulating Computer NetworksSimulating Computer Networks

with Opnetwith

Opnet

A Simple Tutorial

ObjectivesObjectives

This tutorial focuses on the use of Opnet’sProject Editor

The Project Editor will allow you to quicklycreate, simulate, and analyze the performance ofa computer network

By the end of this tutorial, you should be able to1)^

Build a network quickly 2)^

Collect statistics about the network’s performance 3)^

Analyze these statistics

Projects and ScenariosProjects and Scenarios

When creating a new network model, you mustfirst create a new project and scenario.Project:A project is a group of related scenarios thateach explore a different aspect of the networkdesign. Projects can contain multiple scenarios.Once you have created a new project, you canuse the Startup Wizard to set up a new scenario

Creating a ProjectCreating a Project

From the File menu, choose New

Select Project and click OK

Name the project <Sample_your initials>and the scenario first_floor. (Include yourinitials in the project name to distinguish itfrom other students.) Click OK

Click Next in the Startup Wizard

Creating Network TopologiesCreating Network Topologies^ There are three ways to create networktopologies1)^

Importing the topology 2)^

Placing each individual node from the object paletteinto the workspace 3)^

Creating a new network topology is by using theRapid Configuration feature.

Creating Network TopologiesCreating Network TopologiesRapid Configuration FeatureRapid Configuration Feature^ Rapid Configuration allows you to select anetwork topology, the types of nodes within thenetwork, and the links connecting the nodes.To create the first floor network using RapidConfiguration:

Creating Network TopologiesCreating Network TopologiesRapid Configuration FeatureRapid Configuration Feature^ Now that the network topology has been selected, youmust specify the nodes and links to use to construct thenetwork. Models follow this naming scheme:

20 Click OK

Radius

X = 25, Y = 25

Center

5

Number

10BaseT

Link Model

ethernet_wkstn

Periphery NodeModel

ethernet_16_hub

Center Node Model

It should look like thisIt should look like this

Adding ComponentsAdding Components

  1. If it is not already open, open the object palette by

clicking on the Object Palette action button (firstbutton on the left)

  1. Find the ethernet_server object in the palette and

drag it into the workspace

  1. You don’t need additional copies of this model, so

right-click to turn off node creation

Adding ComponentsAdding Components

You also need to connect the server to the starnetwork.

  1. Find the 10BaseT link object in the palette, click

on it and drag it to the workspace

  1. Click on the server object, then click on the switch

object in the center of the star. A link is drawn,connecting the two objects.

  1. Right-click to turn off link creation.

It should look something like this:It should look something like this:

Editing AttributesEditing Attributes

You can change the properties of objectssuch as hubs, switches, work station, etc.by editing the attributes

Right click on the object you want to edit

Choose Edit attributes

Adding TrafficAdding Traffic

Edit the Profile Configuration

Edit the Profile Configuration in the newwindow

Put number 2 in rows

Set the values as shown in the followingslide