from Part III - Modeling and Modifying Standard Networks and Protocols
Published online by Cambridge University Press: 05 February 2012
In this chapter, we will demonstrate how to modify standard models. To follow this chapter, you should understand the modeling concepts and know how to create custom models in OPNET Modeler, as demonstrated in Chapter 5.
Introduction
In practice, one often needs to design a node or a protocol that functions mostly like a standard node or protocol, but with some special features that a standard node or protocol does not provide. To model this scenario in OPNET Modeler, you can modify the standard model to suit these needs instead of creating the whole model from scratch. All OPNET standard models can be modified, such as node model, process model, link model, packet format model, etc. To modify a model, you need to analyze what you want to modify: simply extend the model's functionality or change the model significantly. You can modify a standard node model by adding a custom module to interact with existing modules in that node. You can modify a standard process model by adding your own code. However, the modification should not influence the correct execution of other code.
Case study
In this case, you can design a node that functions like a standard PPP (Point to Point Protocol) workstation, which is capable of modifying the IP datagram header's destination address to allow the IP datagram to be routed to a different server from the initially scheduled server.
To save this book to your Kindle, first ensure no-reply@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
Find out more about the Kindle Personal Document Service.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.