Вы находитесь на странице: 1из 14

OMNet+

+
Projects
Part - 1
By
Mohammed Amer Al-Batati
https://omnetgroup.wordpress.com/

2012

What is MiXiM?
MiXiM is an OMNeT++ modeling framework
created for mobile and fixed wireless
networks (wireless sensor networks, body
area networks, ad-hoc networks, vehicular
networks, etc.). It offers detailed models of
radio
wave
propagation,
interference
estimation,
radio
transceiver
power
consumption and wireless MAC protocols (e.g.
Zigbee).

What is INET?
The
INET
Framework
is
an
open-source
communication networks simulation package for
the OMNeT++ simulation environment. The INET
Framework contains models for several wired and
wireless networking protocols, including UDP, TCP,
SCTP, IP, IPv6, Ethernet, PPP, 802.11, MPLS, OSPF,
and many others.

What is Mixnet?
Mixnet was a project contained in MiXiM's "inet" folder
which provides all modules, examples and documentation
concerning using MiXiM and INET together in the same
network.

Why?
Since MiXiM

concentrates on providing very detailed


models of wireless network interface cards it does not
provide very sophisticated upper layers (network layer,
application layer, etc.). Fortunately these are the layers for
which the INET framework provides a lot of very detailed
modules. So the idea of Mixnet was to bring INET and
MiXiM together to be able to use the wireless NICs from
MiXiM together with the upper network stack from INET.

Requirements
This tutorial shows how to install Mixnet using

OMNet version 4.1 under windows platform, to


do so you need the following:
1. OMNeT++, version 4.1, can be found here.
2. MiXiM version 2.1 archive containing two
projects: MiXiM and Mixnet, can be found
here.
3. The "inet4mixnet, which is INET but has
been made compatible with MiXiM by
removing all wireless related modules. It can
be found here

Installation
1. Install omnet++ version 4.1. To those who

have no experience with OMNet, it is highly


recommended to start reading about it first.
Try to start with this.
2. Open OMNet IDE.
3. When you are asked about Workspace folder,
create your own (i.e.; myMiXiM), dont use
spaces.

Installation- cont.
4. OMNet IDE will be opened with empty

projects.
5. First, import inet project. File -> Import ->
General
6. Exiting Project into Workspace -> Next

Installation- cont.
7. Select archive file -> Browse to inet

archive file -> Open

Installation- cont.
8. INET project should appear in the projects

list.
9. Select inet project -> Finish.
10. INET project is imported and built
automatically (if not build it). It takes a
while!

Installation- cont.
11. After building the project correctly, you can

see the inet libraries and zero errors.

12. Now, import MiXiM and Mixnet project.


13. Uncheck Build Automatically, at Project

label.
14. From File -> Import -> General -> Existing
project to Workspace -> Select archive file
-> Browse to MiXiM-2.1.tar.gz -> Open

Installation- cont.
14. Select both MiXiM (MiXiM) and Mixnet

(inet).
15. Select Finish.
16. After importing. You can see that Mixnet
depends on both MiXiM and inet. Right-click
on Mixnet -> properties -> Project
references.

Installation- cont.
17. Build all projects from Project -> Build All.
18. After building the projects. You can see all

project libraries with no errors.


19. Good Luck! We have done with installation.

Good Resources
About OMNet
Tictoc tutorial
OMNet Manual
OMNetGroup tutorials

About MiXiM and Mixnet


MiXiM Sourceforge page

Acknowledgment
I would like to thank Eng. Suleiman Zubair (PhD
Student) for his feedback, suggestions, and
comments.

Вам также может понравиться