Hello,
So we are back on our discussion on OPNET 14.5 , how to design network and then simulate it...:)
I already talked about how to set the environment of OPNET to work on it in last post.
So, today we will be designing a small network and then we will move on to complex networks in later discussions.
Lets consider a simple office network of 10 workstations (clients) and 1 server connected through a hub.
First we have to design this network. Don't worry...... designing means we have to select respective objects and connect then...That's it and our network will be ready to work ... haha... :) Okay back to point and lets see how easy it is... :):)
Designing Network
Select 'New Project' and create a new project. In this project it will ask for a scenario create scenario_1 as example. So what is scenario???
Scenario is part of our complete network we want to simulate. Because we cant build and simulate whole network in one go, we divide network in areas, parts, domains, sub-nets, etc. called as scenarios.
So in scenario_1we will be designing the simple network.
1. Click on 'Open Object Palette'. We are creating a office network which is Ethernet based network so select 'ethernet' in 'Shared Object Palettes'.
2. We need 10 workstations . So select 'ethernet_wkstn' from 'Node Models', drag it in scenario workspace. Left click ten times (replicate the same object) and then do right click to stop duplicating objects. So we added 10 workstations to network.
3. Select 'ethernet_server' from same 'Object palette', drag it to workspace and right click as we don't need more than 1 server. Similarly drag 'ethernet16_hub' to workspace.
4. Now we need to connect all nodes. So, select '10baseT' links from 'Object Palette'. First click on hub and then click on node. Do same for all nodes to connect every node with hub and then right click to stop connecting.
5. To set configuration of network traffic we need two more objects 'Profile Config' and 'Application Config' so drag them in workspace.
So I think the network you designed may look like this:
6. Now we need to set network traffic. So right click on Profile Config object and select 'Edit attributes' and then
a) Select Number of Rows as 2.
b) Set the attributes as shown in pic (node_8 attributes).
7. Click 'OK'.
8. Select 'Application Config' Object and right click on it. Set Application Attributes to Default.
Till this point from configuration point of view we have set the network traffic but didn't set which node will generate what traffic.
9. So, Select all workstations, right click and select 'Edit Attributes'.
a) Select Application Supported Profiles.
b) Select 'Number of rows' as 2.
c) Set the parameters as shown in below:
d) After doing all this Check on 'Apply To Selected Objects'. Here I have set all clients as same traffic generator you can experiment with different traffic also.
10. Now you have to configure server so select server, right click, select 'Application Supported Services' and set it to 'ALL'.
11. Now everything is ready i.e. we have designed the network, defined all attributes of all objects.
Happy and ready to simulate it. Okay lets do simulation..
Ohhoohhooo!!!!....we have defined everything but we din't set, after simulation what we want to analyse...???? :) :)
Okay, lets quickly set the parameters we want to analyse and then ready set and go..............
Setting Analysis Parameters
1. Right click on workspace and select 'Choose Individual DES Statistics'.
2. In 'Global Statistics' select 'Ethernet->Delay(sec)'.
3. Similarly in Node Statistics Ethernet select parameters like Load, Utilization, Collision Count, etc whatever you want to analyse.
Oookaay so all set ....
Save the Project and then click on 'Configure/Run Discrete Event Simulation (DES)'. Set Simulation time to 20 minutes and click Run.
After simulation is over you can view results of all statistics you set. Statistics in form of graph I got look like this:
Hmmm......so finally designed and simulated a small office network using OPNET 14.5.
So for today, I think it is enough.
This was just an introduction of how to work on OPNET. In later discussions we will work on some big and complex networks and will try to figure out how different network fails, which equipment of which vendor are best for which network??? So lot of questions yet to answer....
Okay .Hope you enjoyed it..
Bbyyee..
So we are back on our discussion on OPNET 14.5 , how to design network and then simulate it...:)
I already talked about how to set the environment of OPNET to work on it in last post.
So, today we will be designing a small network and then we will move on to complex networks in later discussions.
Lets consider a simple office network of 10 workstations (clients) and 1 server connected through a hub.
First we have to design this network. Don't worry...... designing means we have to select respective objects and connect then...That's it and our network will be ready to work ... haha... :) Okay back to point and lets see how easy it is... :):)
Designing Network
Select 'New Project' and create a new project. In this project it will ask for a scenario create scenario_1 as example. So what is scenario???
Scenario is part of our complete network we want to simulate. Because we cant build and simulate whole network in one go, we divide network in areas, parts, domains, sub-nets, etc. called as scenarios.
So in scenario_1we will be designing the simple network.
1. Click on 'Open Object Palette'. We are creating a office network which is Ethernet based network so select 'ethernet' in 'Shared Object Palettes'.
2. We need 10 workstations . So select 'ethernet_wkstn' from 'Node Models', drag it in scenario workspace. Left click ten times (replicate the same object) and then do right click to stop duplicating objects. So we added 10 workstations to network.
3. Select 'ethernet_server' from same 'Object palette', drag it to workspace and right click as we don't need more than 1 server. Similarly drag 'ethernet16_hub' to workspace.
4. Now we need to connect all nodes. So, select '10baseT' links from 'Object Palette'. First click on hub and then click on node. Do same for all nodes to connect every node with hub and then right click to stop connecting.
5. To set configuration of network traffic we need two more objects 'Profile Config' and 'Application Config' so drag them in workspace.
So I think the network you designed may look like this:
6. Now we need to set network traffic. So right click on Profile Config object and select 'Edit attributes' and then
a) Select Number of Rows as 2.
b) Set the attributes as shown in pic (node_8 attributes).
7. Click 'OK'.
8. Select 'Application Config' Object and right click on it. Set Application Attributes to Default.
Till this point from configuration point of view we have set the network traffic but didn't set which node will generate what traffic.
9. So, Select all workstations, right click and select 'Edit Attributes'.
a) Select Application Supported Profiles.
b) Select 'Number of rows' as 2.
c) Set the parameters as shown in below:
d) After doing all this Check on 'Apply To Selected Objects'. Here I have set all clients as same traffic generator you can experiment with different traffic also.
10. Now you have to configure server so select server, right click, select 'Application Supported Services' and set it to 'ALL'.
11. Now everything is ready i.e. we have designed the network, defined all attributes of all objects.
Happy and ready to simulate it. Okay lets do simulation..
Ohhoohhooo!!!!....we have defined everything but we din't set, after simulation what we want to analyse...???? :) :)
Okay, lets quickly set the parameters we want to analyse and then ready set and go..............
Setting Analysis Parameters
1. Right click on workspace and select 'Choose Individual DES Statistics'.
2. In 'Global Statistics' select 'Ethernet->Delay(sec)'.
3. Similarly in Node Statistics Ethernet select parameters like Load, Utilization, Collision Count, etc whatever you want to analyse.
Oookaay so all set ....
Save the Project and then click on 'Configure/Run Discrete Event Simulation (DES)'. Set Simulation time to 20 minutes and click Run.
After simulation is over you can view results of all statistics you set. Statistics in form of graph I got look like this:
Hmmm......so finally designed and simulated a small office network using OPNET 14.5.
So for today, I think it is enough.
This was just an introduction of how to work on OPNET. In later discussions we will work on some big and complex networks and will try to figure out how different network fails, which equipment of which vendor are best for which network??? So lot of questions yet to answer....
Okay .Hope you enjoyed it..
Bbyyee..
thanks for your blogs!
ReplyDeletethey are so easy to follow n understand!
m doing my B.E. project which i have to simulate on OPNET 14.5!
hope ul help me if m having some sort of difficulty!
thanks a lot....AGAIN! ;)
Welcome and thanks...
DeleteAnd you are most welcome to discuss any sort of problem...:)
Hi and thanks Dear Vikram.
ReplyDeleteplease simulate a network with Fiber Optic...
thanks again :)
You are welcome..:)
ReplyDeleteI will do it soon.
Hey Vikram, I'm Bit stuck with my network designee course work. I need you help, Can i have ur email ID so then i contact you.
DeleteThanks
Ish
vikram.nunia@gmail.com
DeleteI already designed and simulated but always failed. the statistic didn't appear. did u have any link to share with me to I study and practical more about how to do simulation for design using OPNET? TQ.
ReplyDeleteSend me ur email-id I will send you some PDF which have some more tutorials you can work out those...
ReplyDeletemdi1720@gmail.com
DeleteTQ Vikram...
vikram sorry i want to ask about a network using the OPNET ASN-gateway. Do you have a module or something related to it. if there is please send it to my email barokatunhasanah@gmail.com
ReplyDeletethanks.
Sorry I don't have anything related to ASN-Gateways..:)
DeleteVikram, do you have CATA MAC protocol simulation on OPNET 14.5 ? or something simulation about Adhoc/ MANET. If there is , please send it to my email : afif@afifzuhri.com, maybe if there is some tutorial send it to me too...thanks u so much Vikram,
ReplyDeleteafif, newbie...
@Vikram Nunia : please provide the procedure to simulate BLACK HOLE attack in MANETS using AODV and OLSR protocols in OPNET 14.5...
ReplyDeleteThis the topic of my minor project in 7th sem and I need it before 4th Dec, 2012
Please help or guide :| :|
Hey, thanks for the blog! By the way, is there a way that we can play with the built in FCFS algo which it uses for GTS allocation in IEEE 802.15.4 standard for wsn communication? So, that i can use something else like EDF for analysis? Please help. Thanks in advance!
ReplyDeleteHi Saksham,
DeleteGo to library files of OPNET. You will find FCFS algo. I didn't tried that but you have to search it and definalty you can do that.
Gd Luck.
This comment has been removed by the author.
ReplyDeleteHey, do you have any experience in compiling and building your own simulation model? Thanks in advance!
ReplyDeleteCan anyone tell me how to check the simulation results?
ReplyDeleteThank for your tutorial can you send me more tutorial on OPnet and how can you simulate fiber network in OPnet. Thanks.
ReplyDeleteHi,
DeleteSorry, I don't have any tutorial pdf.
ok thanks. but can u help simulate dcf and edcf MAC Protocol in wlan network.A step by step please. Thanks
Deletehello sir....i am simulating a normal ip_cloud scenario and while simulating encountered these errors...pls recommond the possible measures to eliminate it...........
ReplyDelete<<< Recoverable Error >>>
Process model (aodv_rte) compilation failed
Errors given in file (C:\Users\tcs\op_admin\tmp\cc_err_2340)
----
<<< Recoverable Error >>>
Process model (app_demand) compilation failed
Errors given in file (C:\Users\tcs\op_admin\tmp\cc_err_2340)
----
<<< Recoverable Error >>>
Process model (application_config) compilation failed
Errors given in file (C:\Users\tcs\op_admin\tmp\cc_err_2340)
----
<<< Recoverable Error >>>
Process model (bgp) compilation failed
Errors given in file (C:\Users\tcs\op_admin\tmp\cc_err_2340)
----
<<< Recoverable Error >>>
Process model (bgp_conn) compilation failed
Errors given in file (C:\Users\tcs\op_admin\tmp\cc_err_2340)
----
<<< Recoverable Error >>>
Process model (dhcp_client) compilation failed
Errors given in file (C:\Users\tcs\op_admin\tmp\cc_err_2340)
----
<<< Recoverable Error >>>
Process model (dhcp_mgr) compilation failed
Errors given in file (C:\Users\tcs\op_admin\tmp\cc_err_2340)
----
<<< Recoverable Error >>>
Process model (dhcp_server) compilation failed
Errors given in file (C:\Users\tcs\op_admin\tmp\cc_err_2340)
----
<<< Recoverable Error >>>
Process model (dsr_rte) compilation failed
Errors given in file (C:\Users\tcs\op_admin\tmp\cc_err_2340)
----
<<< Recoverable Error >>>
Process model (eigrp) compilation failed
Errors given in file (C:\Users\tcs\op_admin\tmp\cc_err_2340)
----
<<< Recoverable Error >>>
Process model (eigrp_as) compilation failed
Errors given in file (C:\Users\tcs\op_admin\tmp\cc_err_2340)
Hi,
DeletePlease check the log files for detailed explanations. These errors generally comes when our environment variables are not set properly or if you have not set some property of the router or node. So I suggest check your log files and environment variables variables.
Hello,Nice blog ,please send me some tutorials on opnet in PDF for basic beginner my email is abshirvip@gmail.com
ReplyDeleteHi Vikram,
ReplyDeleteGreetings.
I have a specific problem in OPNET, if its fine may I email you the details vikram.nunia@gmail.com
Thanks
Manpreet
Hi Manpreet,
DeleteSorry for late reply. You can mail me.
Thanks!
Regards,
Vikram
I am working on my dessertation and want to detect wormhole attack in network.........Kindly help me out......
ReplyDeleteHi Dr. Ken,
DeleteWhat kind of help do you need ? You can mail me.
Regards,
Vikram
Hello Vikram,
ReplyDeleteI am working on my Final year project"Routing Protocols and WAN configuration" I will be using ATM to connect the WAN and i will be simulating the OSPF AND EIGRP routing protocols. the application am using are VOIP and video. I need help or guidance with designing the network and simulation of the routing protocols..
Thank you in advance
Hello!! I am working with wimax...please help,,how can i configure a simple network using wimax instead of ethernet,,i m using opnet 14.5....please help me,if any one can..
ReplyDeleteif any body have any document or tutorial regarding it,,please reply me
masbhaiiuc@gmail.com
do u have any idea how to setup blackhole and grayhole attack in manet on opnet
ReplyDeletedo u have any idea how to setup blackhole and grayhole attack in manet on opnet
ReplyDeletesir,
ReplyDeletei need to impliment leach protocol in opnet. is it possible and how?????
hi sir,
ReplyDeletecan you please recommend us how to set up black hole and jelly fish attacks (or either of the one)on manet protocols in opnet.
I am 2nd year M.Tech student and this would be very helpful for me.
good evening sir,
ReplyDeletei am new to OPNET and this site is quiet helpful for me.
i want to simulate Leach protocol in OPNET. kindly suggest me how to preceed?
Thanks
hello sir,
ReplyDeletei want to simulate leach protocol in opnet 14.5. what are the steps required to do it. please guide me...
hello sir,
ReplyDeletei want to simulate black hole attack in MANET using DSR protocol
the i want to measure the performance
please hilp me
plz an one help me plzzzzzzz
ReplyDelete