Hướng Dẫn Sử Dụng OPNET Modeler Tại Đại Học Glasgow Caledonian

Hướng dẫn chi tiết về Opnet Modeller, cung cấp thông tin và bài tập thực hành cho sinh viên và chuyên gia trong lĩnh vực mô phỏng mạng.

Trường đại học

Glasgow Caledonian University

Chuyên ngành

Computer Networks

Người đăng

Ẩn danh

Thể loại

Lab Manual

2012

101
3
0

Phí lưu trữ

35 Point

Mục lục chi tiết

1. LAB 3

1.1. Simulation of Computer Networks Lab 3: LAN Switching

1.2. Lab Objectives

1.3. Overview

1.4. PART 1 - Creating the Project

1.5. PART 2 - Building the Network Model

1.6. PART 3 - Configuring the Workstations

1.7. PART 4 – Choosing Statistics for Collection

1.8. PART 5 – Configure the Simulation

1.9. PART 6 – Duplicate the Scenario

1.10. PART 7 – Run the Simulation

1.11. PART 8 – View the Results

2. LAB 4

2.1. Simulation of Computer Networks Lab 4: Building Network Models

2.2. Lab Objectives

Tóm tắt

I. Hướng Dẫn Sử Dụng OPNET Modeler Tại Đại Học Glasgow Caledonian

OPNET Modeler là một công cụ mạnh mẽ cho việc mô phỏng và phân tích mạng. Tại Đại học Glasgow Caledonian, sinh viên có thể sử dụng phần mềm này để thực hiện các thí nghiệm và nghiên cứu về mạng máy tính. Bài viết này sẽ cung cấp hướng dẫn chi tiết về cách sử dụng OPNET Modeler, từ cài đặt đến thực hiện các mô phỏng phức tạp.

1.1. Giới thiệu về OPNET Modeler và ứng dụng của nó

OPNET Modeler là phần mềm mô phỏng mạng, cho phép người dùng tạo ra các mô hình mạng phức tạp. Nó hỗ trợ phân tích hiệu suất và tối ưu hóa mạng, giúp sinh viên hiểu rõ hơn về các khái niệm mạng.

1.2. Tại sao OPNET Modeler quan trọng trong nghiên cứu mạng

Sử dụng OPNET Modeler giúp sinh viên nắm bắt được các khái niệm lý thuyết và thực hành trong mô phỏng mạng. Nó cung cấp cái nhìn sâu sắc về cách thức hoạt động của các thiết bị mạng và giao thức.

II. Cách Cài Đặt OPNET Modeler Tại Đại Học Glasgow Caledonian

Cài đặt OPNET Modeler là bước đầu tiên để bắt đầu sử dụng phần mềm này. Quy trình cài đặt đơn giản nhưng cần chú ý đến một số yêu cầu hệ thống và cấu hình.

2.1. Các yêu cầu hệ thống cần thiết

Để cài đặt OPNET Modeler, máy tính cần đáp ứng các yêu cầu tối thiểu về phần cứng và phần mềm. Điều này bao gồm hệ điều hành tương thích và dung lượng bộ nhớ đủ lớn.

2.2. Hướng dẫn cài đặt chi tiết

Quá trình cài đặt OPNET Modeler bao gồm tải xuống phần mềm từ trang web chính thức và làm theo các bước hướng dẫn. Đảm bảo rằng tất cả các tệp cần thiết đã được tải về và cài đặt đúng cách.

III. Các Thách Thức Khi Sử Dụng OPNET Modeler

Mặc dù OPNET Modeler rất hữu ích, nhưng người dùng có thể gặp phải một số thách thức trong quá trình sử dụng. Việc hiểu rõ các vấn đề này sẽ giúp sinh viên vượt qua khó khăn.

3.1. Khó khăn trong việc tạo mô hình mạng

Việc tạo ra các mô hình mạng phức tạp có thể gây khó khăn cho người mới bắt đầu. Cần có thời gian để làm quen với giao diện và các tính năng của phần mềm.

3.2. Vấn đề về hiệu suất mô phỏng

Một số mô phỏng có thể yêu cầu tài nguyên hệ thống lớn, dẫn đến việc chậm trễ trong quá trình thực hiện. Cần tối ưu hóa mô hình để giảm thiểu thời gian mô phỏng.

IV. Phương Pháp Sử Dụng OPNET Modeler Hiệu Quả

Để sử dụng OPNET Modeler một cách hiệu quả, người dùng cần nắm vững một số phương pháp và kỹ thuật. Điều này sẽ giúp tối ưu hóa quá trình mô phỏng và phân tích.

4.1. Tối ưu hóa mô hình mạng

Tối ưu hóa mô hình mạng giúp giảm thiểu thời gian mô phỏng và tăng độ chính xác của kết quả. Cần chú ý đến các tham số và cấu hình của mô hình.

4.2. Sử dụng các công cụ phân tích trong OPNET

OPNET Modeler cung cấp nhiều công cụ phân tích mạnh mẽ. Việc sử dụng đúng các công cụ này sẽ giúp người dùng có cái nhìn sâu sắc hơn về hiệu suất mạng.

V. Ứng Dụng Thực Tiễn Của OPNET Modeler Trong Nghiên Cứu

OPNET Modeler không chỉ là công cụ học tập mà còn có ứng dụng thực tiễn trong nghiên cứu và phát triển mạng. Nhiều nghiên cứu đã chỉ ra rằng việc sử dụng OPNET Modeler giúp cải thiện hiệu suất mạng.

5.1. Nghiên cứu về hiệu suất mạng

Nhiều nghiên cứu đã sử dụng OPNET Modeler để phân tích hiệu suất của các mạng khác nhau. Kết quả cho thấy OPNET Modeler là công cụ hữu ích trong việc tối ưu hóa mạng.

5.2. Ứng dụng trong thiết kế mạng

OPNET Modeler được sử dụng để thiết kế và mô phỏng các mạng phức tạp, giúp các kỹ sư mạng đưa ra quyết định chính xác hơn trong quá trình triển khai.

VI. Kết Luận Về OPNET Modeler Tại Đại Học Glasgow Caledonian

OPNET Modeler là một công cụ quan trọng trong việc học tập và nghiên cứu mạng tại Đại học Glasgow Caledonian. Việc sử dụng hiệu quả phần mềm này sẽ giúp sinh viên nâng cao kỹ năng và kiến thức về mạng máy tính.

6.1. Tương lai của OPNET Modeler trong giáo dục

Với sự phát triển không ngừng của công nghệ, OPNET Modeler sẽ tiếp tục đóng vai trò quan trọng trong giáo dục mạng. Sinh viên cần nắm vững công cụ này để chuẩn bị cho tương lai nghề nghiệp.

6.2. Khuyến nghị cho sinh viên

Sinh viên nên tham gia các khóa học và thực hành thường xuyên với OPNET Modeler để nâng cao kỹ năng. Việc này sẽ giúp họ tự tin hơn trong các dự án nghiên cứu và thực tế.

10/07/2025

Trích đoạn nội dung tài liệu

OPNET Modeller lab booklet Keith Sharp Glasgow Caledonian University - edited 2012 Lab Files for Opnet Modeler – Introductory Lab Manual To do the labs in the Opnet Modeler Introductory Lab Manual requires some additional files which can be downloaded from the following location, or can be issued to you by your lab instructor during a lab session. At present the lab files can be downloaded from the following location: Blackboard->Course Documents->Opnet Labs-> Week 1->Labs From here download the zip file – intro_modeler_labs.zip Extract the contents of this folder and you will find two folders:   Hotel_Net project_environment To get started with the labs in the Introductory Lab Manual proceed with the following steps. Start Opnet Modeler via VMware player in the usual way (see the Handout entitled: “Working with Opnet and VMware Player at GCU ” for instructions on how to do this). Once you have initialized Opnet Modeler you will see that the following three folders will be added to the Desktop of the virtual machine:   op_models  op_admin op_reports Typically these folders are not found on the desktop for the application so we must associate these folders with Opnet Modeler so that the application knows to look in these folders.

Before we can associate the folders with the application we first follow these steps. i) Copy the folders Hotel_net and project_environment you extracted from the .zip file and put them into the newly created op_models folder on the virtual desktop. Note that files must be dragged and dropped to and from VMware player to action a copy and paste operation, cutting and pasting alone will not work. Keith Sharp Glasgow Caledonian University - edited 2012 ii) Go to the main console screen for Opnet Modeler Select File->Manage Model Files->Add Model Directory Once you click Add Model Diretory the following screen will appear, locate the op_models folder on your VMware desktop and select it.

Keith Sharp Glasgow Caledonian University - edited 2012 Click OK to add the directory, the following Confirm Model Directory screen will appear, select the check box named “Include all sub-directories” only and Click OK And, finally, from the main menu select: File -> Manage Model Files -> Refresh Model Directories, to update the application‟s environment variables. Keith Sharp Glasgow Caledonian University - edited 2012 3. BEFORE STARTING THE LABS PLEASE NOTE: When doing the introductory labs you may be required to open an existing project at some point, i. from the files you downloaded.

The default view you will see on doing a File->Open may look like this: (Please note that the below screenshot will be visible only when you will select the op_models from desktop by clicking on the Look in) Please note that this is the default view for opening files and projects in Opnet Modeler 16.1, however the traditional File->Open view for Opnet Modeler can be switched to by clicking on the Switch to file chooser organized by model directories button: which is located in the bottom left of the default File-Open view. To change to the traditional view – which is what we will be using and referring to in the lab material for this course – click this button and the view will change to the following screen view below. When you change to this view you can now see that the Model directories now associates the folder C:\Documents and Settings\Student\Desktop\op_models with the application. Keith Sharp Glasgow Caledonian University - edited 2012 When you expand this directory you will see that the Hotel_net and project_environment sub-directories, which are the project folders you extracted from the downloaded zip files, are also listed under the model directories.

To change back to the previous view click on the Switch to general file chooser button: Important: When you create a new Project in Opnet Modeler it will automatically create a folder with the name you give your project, make sure you select this folder when saving your project – try and keep all your projects organised in your op_models directory. This will make things easier if you wish to save your work between labs. Remember: It is up to you to save your work between lab sessions. Save your lab files to either a portable storage device, such as a USB memory stick – or you can save your lab files (i.

the folders op_admin, op_models, op_reports) each week to your student H: drive on the GCU network. You must drag and drop these folders to/from the VMware player to copy them across from/to your chosen storage location. If you do save your work each week in this way then any preferences you alter in Opnet Modeler can be maintained and the above procedure can be reduced to simply refreshing the model directories. Opnet Modeler projects can become quite large and so each student should have an increased quota for their H: drive disk space – this should be around 500MB.

If you have any problems storing projects to your student H: drive/personal storage device ask your lab instructor for assistance. Keith Sharp Glasgow Caledonian University - edited 2012 LAB 3 Keith Sharp Glasgow Caledonian University - edited 2012 Simulation of Computer Networks Lab 3: LAN Switching Lab Objectives: In this lab you will implement switched local area networks and examine the performance of different scenarios connecting LANs with switches and hubs. Here you will set up LANs using two different switching devices: hubs and switches. Remember that a hub forwards packets which arrive on any of its inputs to all of its outputs.

A switch on the other hand will forward incoming packets to one or more outputs depending on the destination of packets. In the lab below you are going to study how the throughput and collision of packets in a switched network are affected by the configuration of the network and the type of switching devices used. Overview: Computer networking involves understanding limitations of equipment and technology, be they physical (number of interfaces on a device) or logical (number of usable IP addresses within a subnet). There is a limit to how many hosts can be attached to a single network and to the size of the geographical area that a network can serve (e.

the physical limitations of transmission media -cabling, wireless signal etc). The most common form of network infrastructure in terms of Local Area Networks (LANs) is a switched Ethernet environment. A switch is a device with several inputs and outputs leading to and from the hosts that the switch interconnects. Switches allow for the intercommunication between one host and another.

The central role of the switch in the LAN is to take packets that arrive on an input and forward (or switch) them to the correct output so that they will reach their required destination. One key issue with a switch is that it must cope with the finite bandwidth of its outputs. If packets for a certain output arrive at the switch and their arrival rate is greater than the capacity of the switch output then we have a problem of contention. The switch will be forced to queue, or buffer, packets until the contention lessens.

If the contention lasts for too long, then the switch will run out of buffer space and will have to discard packets. If packets are discarded too frequently, we end up with a congested switch and this makes for an inefficient network. PART 1 - Creating the Project 1. Start Opnet Modeler – Choose File, New, Project, then click OK.

Name the project <you_initials>_SwitchedLAN, and the scenario HubOnly and then click OK. In the Startup Wizard: Initial Topology dialogue box, ensure that Create Empty Scenario is selected. Click Next, then choose Office from the Network Scale list, -> Click Next, three times – and then finally click Finish. Close the Object Palette when your empty project opens.

Keith Sharp Glasgow Caledonian University - edited 2012 PART 2 - Building the Network Model To create the switched LAN: 1. From the Project Editor choose Topology -> Rapid Configuration…. Then from the drop down menu select Star and click Next. Click the Select Models… button in the Rapid Configuration dialogue box.

From the Model List drop down menu choose ethernet and click OK. In the Rapid Configuration dialogue box set the following values: a. Center Node Model = ethernet16_hub b. Periphery Node Model = ethernet_station c.

Link Model = 10BaseT d. Radius = 42 Click OK once you have entered the values (note: the 10BaseT link represents an Ethernet connection operating at 10Mbps). Right-click on node_16, which is the hub -> Edit Attributes and change the name attribute to “Hub1” and click OK. Save your project.

From the Project Editor, File -> Save then you should already have a folder listed <your_initials>_SwitchedLAN.project in the left hand pane (in file chooser mode) of the Save As dialogue box, click on this folder and then keeping the File name as <your_initials_SwitchedLAN> click Save. Now that you have created the network it should look similar to the one pictured here: Keith Sharp Glasgow Caledonian University - edited 2012 PART 3 - Configuring the Workstations Here you will configure the workstations to generate traffic. Right click on any of the 16 workstations (node_0 to node_15) – and from the menu Select Similar Nodes. All the workstations in the workspace will be selected when you do this.

Right click on any of the 16 stations, Edit Attributes: Check the Apply Changes to Selected Objects check box - this an important feature to use to prevent you configuring each node individually. Expand the Traffic Generation Parameters attribute, and the Packet Generation Arguments in the hierarchy. Set the following 4 values by clicking in the Value field and selecting Edit: ON State Time: (exponential) 100 OFF State Time: (constant) 0.02 Packet Size (bytes): (constant) 1500 Note: Packet Size in a switched Ethernet LAN will differ depending on what the networks Maximum Transmission Unit MTU needs to be. This is the maximum size of the Ethernet Frame traversing the network at Layer 2.

Click OK to close the attribute editing window(s) then Save your project changes. Note that the parameters that have just been set are only available to a limited number of models in Opnet‟s standard model library – referred to as the packet generating nodes. These models usually have names that end in “station” or “uni_source” and contain the Keith Sharp Glasgow Caledonian University - edited 2012 compound attribute called “Traffic Generation Parameters” which lets the modeller generate streams of “generic packets” (i. not linked to any specific network Keith Sharp Glasgow Caledonian University - edited 2012 application layer or layer 3 protocol).

Consequently this method of traffic generation is often used to study Layer 2 technologies such as Ethernet, Frame Relay, and ATM, but there are traffic generating workstation nodes for IP also (however here we are investigating Ethernet traffic). PART 4 – Choosing Statistics for Collection Now that we have configured the nodes to generate traffic within the LAN we now need to choose the traffic-related statistics we wish to collect during the simulation. To choose statistics to be collected during the simulation: 1) Right click anywhere in the project workspace and select from the menu Choose Individual DES Statistics. 2) In the Choose Results dialogue box, choose the following 4 statistics: Ethernet Delay: Global Statistics->Ethernet->Delay (sec) The Ethernet Delay represents the end to end delay of all packets received by all the stations.

Traffic Received: Global Statistics->Traffic Sink->Traffic Received (packets/sec) Represents the amount of traffic received by all the sinks across all the nodes in the network, a sink is where a packet terminates, on termination any associated statistics are updated for example the Traffic Received global statistic would be incremented (Double-click on a workstation node, how many sinks does a workstation have?).

Nội dung được bảo vệ bản quyền — Tải xuống đầy đủ

Tài liệu "Hướng Dẫn Sử Dụng OPNET Modeler Tại Đại Học Glasgow Caledonian" cung cấp một cái nhìn tổng quan về cách sử dụng phần mềm mô phỏng mạng OPNET Modeler, một công cụ mạnh mẽ trong việc phân tích và thiết kế mạng. Tài liệu này không chỉ hướng dẫn người dùng từng bước trong việc cài đặt và sử dụng phần mềm, mà còn giải thích các tính năng chính và ứng dụng thực tiễn của OPNET trong nghiên cứu và giảng dạy. Độc giả sẽ tìm thấy những lợi ích rõ ràng từ việc nắm vững OPNET, bao gồm khả năng mô phỏng các kịch bản mạng phức tạp và tối ưu hóa hiệu suất mạng.

Để mở rộng kiến thức của bạn về lĩnh vực mạng máy tính, bạn có thể tham khảo tài liệu "Giáo trình mạng máy tính và internet nghề thiết kế đồ họa trung cấp", nơi cung cấp kiến thức nền tảng về mạng máy tính trong thiết kế đồ họa. Ngoài ra, tài liệu "Giáo trình mạng máy tính nghề kỹ thuật sửa chữa lắp ráp máy tính cao đẳng" sẽ giúp bạn hiểu rõ hơn về kỹ thuật sửa chữa và lắp ráp máy tính, một phần quan trọng trong việc duy trì và tối ưu hóa hệ thống mạng. Những tài liệu này sẽ là nguồn tài nguyên quý giá để bạn nâng cao kiến thức và kỹ năng trong lĩnh vực mạng máy tính.