2024年5月5日发(作者:)

基于NS2的无线网络仿真——天线的影响

电子信息工程112班

李志恒(1107400006)

罗琪(1107400010)

李志恒(1107400040)

姚正康(1107400053)

指导老师:刘外喜

摘要

通过使用仿真软件Network Simulator 2 ,组建一个至少包含100个节点的基于Ad-

hoc模式的无线网络,利用路由协议AODV,MAC协议802.11a,以及选择一种媒体接入

方式(DCF或PCF)。各个节点以某种模式发送数据包,发送速率,发送模式自定,各个

节点可以固定可以移动。对于选用不同类型的天线,比较它们对性能的影响,分析原因。

关键词

NS2仿真;无线Ad-hoc;路由协议AODV;MAC协议802.11;天线影响;

Abstract

Through the use of simulation software Network Simulator 2, to set up a

wireless network based on Ad-hoc pattern contains at least 100 nodes, using the

AODV routing protocol, MAC protocol 802.11a, select a media access mode (DCF or

PCF). Each node in a certain mode to send data packet sending rate, transmission

mode, custom, each node can be fixed to mobile. The use of different types of

antennas, comparing their performance impact, cause analysis.

Key words

NS2 simulation; wireless Ad-hoc; AODV routing protocol; MAC protocol

802.11a; Antenna effect;

目录

1、前言

2、NS2仿真软件介绍

3、具体步骤

4、仿真结果分析

附录:性能测试代码