Routing protocol is always assigned in wireless or wired network creation code.

For example, if we are using OLSR routing protocol, we may define it like following code

set val(adhocRouting) OLSR

if we are using AODV routing protocol, we may define it like following code

set val(adhocRouting) AODV

if we are using LEACH as routing protocol, we may define it like following code

set val(adhocRouting) LEACH

 

Leave a Comment