Omnet ++:Ad Hoc网络 [英] Omnet++ : Ad Hoc Network

查看:131
本文介绍了Omnet ++:Ad Hoc网络的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Omnet ++的新手.尽管我已经尝试了一些基本示例,例如Tic-Toc和Source-Sink,但我仍无法弄清楚如何实现更复杂的网络.

I am new to Omnet++. Although I have tried some basic examples such as Tic-Toc and Source-Sink, I cannot figure out how to implement more sophisticated networks.

问题:我想实施Ad Hoc网络.我已经尝试过在INET中给出的示例,但它们只能互相ping并回复.他们不交换实际消息.我希望我的网络以消息的形式获取实际信息,然后通过ad hoc网络将这些消息传递到不同的节点.请帮忙!!

Problem : I want to implement Ad Hoc Network. I have tried examples given in INET but they only ping each other and reply. They do not exchange actual messages. I want my network to have actual information in form of messages and then communicate these messages through ad hoc network to different nodes. Please help!!

推荐答案

您应该对inet/examples/adhoc/ieee80211和inet/examples/manetrouting中的示例满意.

You should be fine with the examples in inet/examples/adhoc/ieee80211 and inet/examples/manetrouting.

真实"流量.您可以随意在主机中配置任何流量类型.平只是一个例子.查看inet/examples/inet/udpburst,了解如何配置burting UDP流量.

As for 'real' traffic. You are free to configure any traffic type you wish in the hosts. Pinging is just an example. Take a look at inet/examples/inet/udpburst to see how burting UDP traffic is configured.

由主机内部的应用程序生成的流量完全独立于它们的通信方式(就像在现实生活中一样).我可以同时通过无线和有线连接ping并运行浏览器.

Traffic generated by the applications inside a hosts are totally independent of how they are communicating (just as in real life). I can ping and run a browser equally with both a wireless and a wired connection.

即您可以结合不同的示例.

i.e. you CAN combine the different examples.

这篇关于Omnet ++:Ad Hoc网络的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆