How to use Ping app with Other Network Protocols (Flooding, AdaptiveProbabilisticBroadcast)

268 views
Skip to first unread message

Edgars Pabērzs

unread,
Mar 10, 2019, 9:59:49 AM3/10/19
to OMNeT++ Users
Hi,

I was reading the User's Guide about Other Network Protocols, but never figured out how to use simple Ping app together with these protocols. My network consists of several AdhocHosts, Ipv4NetworkConfigurator, RadioMedium, and I use GlobalARP.

I tried:
  • Added a Flooding submodule for the Ipv4NetworkLayer module and changed the PingApp.networkProtocol to Flooding. This kind a worked and ICMP requests were flooded towards destination, but when destination's Icmp module sent back the replay it used the Ipv4 module instead of Flooding and tried to route back the message. The replay get dropped, because there is no routing. I was hoping to send the replay in the same manner as request (flooding). How to do this?
Selection_011.png
  • On other option I tried to use generic (SimpleNetworkLayer), defined Flooding as network protocol (**.generic.np.typename = "Flooding") and changed the PingApp.networkProtocol, but when running the simulation the PingApp always shows error "Unknown protocol".  
Any help would be appreciated, thanks!

Levente Mészáros

unread,
Mar 11, 2019, 5:28:59 AM3/11/19
to OMNeT++ Discussion List
Take a look at the Flooding config in examples/inet/hierarchical99/networklayer.ini. In this example, one host pings another in a hierarchical network using flooding as the network layer protocol while both IPv4 and IPv6 are disabled.

Regards,
levy

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages