send message is limited to number of nodes?

72 views
Skip to first unread message

Gisane Michelon

unread,
May 2, 2014, 10:37:54 AM5/2/14
to omn...@googlegroups.com
I am trying send msg (using OLSR  in inetmanet) to all nodes of the routing table, but  when has more that 12 nodes only send to first twelve. Has a limit of number of nodes that can be message?

for (int i=0; i< rota->getNumRoutes()-1 ;i++)
  {   IPv4Route *e1 = rota->getRoute(i);
      InterfaceEntry *interfacePtr = e1->getInterface();
      Origem =hostIndexByAddress(interfacePtr->ipv4Data()->getIPAddress());
       IPvXAddress *destino =addressByHostIndex(destino1);
     requestData1(*destAddress, *destino, dataPart);
   }

void UDPBasicBurst::requestData1(IPvXAddress origem, IPvXAddress destino, string dataPart)
{   int noOrigem= hostIndexByAddress(origem);
    stringstream ss1;
    ss1 << noOrigem;
    string str1 = ss1.str();
    char *msgName = (char*)("data_request"+dataPart + str1 ).c_str();
    cPacket *pk3 = new cPacket(msgName);
    socket.sendTo(pk3,destino, appPort);
}

example routing table OLSR
-- Routing table --
Destination      Netmask          Gateway          Iface               Metric
145.236.0.4      255.255.255.255  145.236.0.17     wlan0 (145.236.0.40) 4
145.236.0.6      255.255.255.255  145.236.0.17     wlan0 (145.236.0.40) 3
145.236.0.7      255.255.255.255  145.236.0.17     wlan0 (145.236.0.40) 3
145.236.0.8      255.255.255.255  145.236.0.8      wlan0 (145.236.0.40) 1 ..........etc

Alfonso Ariza Quintana

unread,
May 4, 2014, 7:19:11 AM5/4/14
to omn...@googlegroups.com
no, there isn't a limit
it is possible that the nodes could be out of the coverage area.
In the case that the nodes are in coverage area, exist also the possibility that the routing tables hasn't been completely built, OLSR needs some time to construct the routes.


Date: Fri, 2 May 2014 07:37:54 -0700
From: gisa...@gmail.com
To: omn...@googlegroups.com
Subject: [Omnetpp-l] send message is limited to number of nodes?
--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Gisane Michelon

unread,
May 5, 2014, 9:24:39 AM5/5/14
to omn...@googlegroups.com
thanks Alfonso, but the table OLSR is full and the nodes are coverage area.
I did tests and realized that the node send the message to all nodes, but only first twelve nodes receive.
In the table below,  the node 145.236.0.7 send message to all nodes of your table, but only nodes to node 20 receive and the table is full and the nodes are coverage area.

-- Routing table --
Destination      Netmask          Gateway          Iface                  Metric
145.236.0.4      255.255.255.255  145.236.0.4      wlan0 (145.236.0.7) 1
145.236.0.6      255.255.255.255  145.236.0.36     wlan0 (145.236.0.7) 2
145.236.0.8      255.255.255.255  145.236.0.24     wlan0 (145.236.0.7) 4
145.236.0.9      255.255.255.255  145.236.0.24     wlan0 (145.236.0.7) 6
145.236.0.10     255.255.255.255  145.236.0.24     wlan0 (145.236.0.7) 6
145.236.0.11     255.255.255.255  145.236.0.36     wlan0 (145.236.0.7) 3
145.236.0.13     255.255.255.255  145.236.0.24     wlan0 (145.236.0.7) 4
145.236.0.14     255.255.255.255  145.236.0.24     wlan0 (145.236.0.7) 2
145.236.0.17     255.255.255.255  145.236.0.36     wlan0 (145.236.0.7) 2
145.236.0.18     255.255.255.255  145.236.0.24     wlan0 (145.236.0.7) 5
145.236.0.19     255.255.255.255  145.236.0.36     wlan0 (145.236.0.7) 2
145.236.0.20     255.255.255.255  145.236.0.36     wlan0 (145.236.0.7) 3
145.236.0.22     255.255.255.255  145.236.0.36     wlan0 (145.236.0.7) 2
145.236.0.23     255.255.255.255  145.236.0.24     wlan0 (145.236.0.7) 3
145.236.0.24     255.255.255.255  145.236.0.24     wlan0 (145.236.0.7) 1
145.236.0.25     255.255.255.255  145.236.0.24     wlan0 (145.236.0.7) 2
145.236.0.28     255.255.255.255  145.236.0.36     wlan0 (145.236.0.7) 3
145.236.0.31     255.255.255.255  145.236.0.31     wlan0 (145.236.0.7) 1
145.236.0.32     255.255.255.255  145.236.0.36     wlan0 (145.236.0.7) 4
145.236.0.35     255.255.255.255  145.236.0.36     wlan0 (145.236.0.7) 2
145.236.0.36     255.255.255.255  145.236.0.36     wlan0 (145.236.0.7) 1
145.236.0.37     255.255.255.255  145.236.0.36     wlan0 (145.236.0.7) 3
145.236.0.39     255.255.255.255  145.236.0.24     wlan0 (145.236.0.7) 5
145.236.0.40     255.255.255.255  145.236.0.36     wlan0 (145.236.0.7) 3


--
You received this message because you are subscribed to a topic in the Google Groups "omnetpp" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/TAn0fsflCVI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Gisane

Alfonso Ariza Quintana

unread,
May 5, 2014, 10:32:30 AM5/5/14
to omn...@googlegroups.com

Does Olsr never build the whole table?

 

OLSR takes some time to construct the tables

Gisane Michelon

unread,
May 5, 2014, 10:41:02 AM5/5/14
to omn...@googlegroups.com
but according with the table node 145.236.0.7 that I posted in the last e-mail, OLSR is build  the whole table, but only  the first nodes that receive the message sent by node 145.236.0.7, and this always occurs (not only node 145.236.0.7)

Alfonso Ariza Quintana

unread,
May 5, 2014, 11:02:20 AM5/5/14
to omn...@googlegroups.com

You can see that there are nodes that aren’t in the table

OLSR needs some time to find the paths to all nodes

Gisane Michelon

unread,
May 13, 2014, 12:41:25 PM5/13/14
to omn...@googlegroups.com
I found the error, I increased frameCapacity and maxQueueSize and work.
thanks 













Adriana V R

unread,
Nov 24, 2016, 4:47:04 PM11/24/16
to OMNeT++ Users
I have the same problem. Where did change the frameCapacity and maxQueueSize? 

Gisane Michelon

unread,
Nov 24, 2016, 6:48:45 PM11/24/16
to omn...@googlegroups.com

File
omnet.ini


You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and all its topics, send an email to omnetpp+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/omnetpp.

Adriana V R

unread,
Nov 24, 2016, 7:30:36 PM11/24/16
to OMNeT++ Users
Thanks, it's working now!

**.accessPoint.eth[*].queueType = "DropTailQueue"
**.accessPoint.eth[*].queue.**.frameCapacity = 100


**.mac.maxQueueSize = 100

File
omnet.ini


To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.

Wian Virgi

unread,
Jan 7, 2017, 10:58:23 AM1/7/17
to omn...@googlegroups.com
hai..
could you help me too for used olsr.. I have simulation with olsr I change configuration from AODV to OLSR in omnetpp.ini haven't trouble but I thinks still have trouble when I running simulition i think that packet can found destination..
could you help me please very need for my last project in campus
Thank you before..

--
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+unsubscribe@googlegroups.com.
Screenshot from 2017-01-07 22:40:18.png
Screenshot from 2017-01-07 22:40:31.png
Screenshot from 2017-01-07 22:41:37.png
Screenshot from 2017-01-07 22:41:49.png

MourKa

unread,
Jan 17, 2017, 8:39:54 AM1/17/17
to omn...@googlegroups.com
a hint I found that is really handy to know all options that omnet++ can give you in the configuration file press on ctrl+space

nameofsimulation.(ctrl+space)

and so on till you know all the possible options

also to open the .cc or .h file of any module that is used in .Ned or in ini just (press ctrl and click on it)
Reply all
Reply to author
Forward
0 new messages