error in arp-cache.cc

46 views
Skip to first unread message

K' Dash

unread,
Sep 13, 2014, 2:07:03 PM9/13/14
to ns-3-...@googlegroups.com
hello guys.


can any one tell me that what does this error mean?

assert failed. cond="m_state == ALIVE", file=../src/internet/model/arp-cache.cc, line=352
terminate called without an active exception


thanx

Tommaso Pecorella

unread,
Sep 14, 2014, 3:15:33 PM9/14/14
to ns-3-...@googlegroups.com
The function is intended to be called only for addresses with an ALIVE status (i.e., valid ARP cached addresses).

T.

K' Dash

unread,
Sep 14, 2014, 3:27:20 PM9/14/14
to ns-3-...@googlegroups.com
dear Tom thanks for replying

Can you tell me how can I see the specific node ARP table?
I know there is no function to see the ARP table in NS3, as you told me before. but is there any way to check or see the table manually, i mean without built in function? if yes then please help me 



--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/rOqO8-mQuAc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.



--
Regards,
ADNAN RASHID


Tommaso Pecorella

unread,
Sep 14, 2014, 5:55:48 PM9/14/14
to ns-3-...@googlegroups.com

K' Dash

unread,
Sep 15, 2014, 7:37:28 AM9/15/14
to ns-3-...@googlegroups.com
What does this "IPv4 neighbor table" mean???

Tommaso Pecorella

unread,
Sep 15, 2014, 9:57:53 AM9/15/14
to ns-3-...@googlegroups.com
It's another name for the ARP cache...

K' Dash

unread,
Sep 15, 2014, 2:18:27 PM9/15/14
to ns-3-...@googlegroups.com
 you work on that file. is it working now?
 how can I follow your code? please tell me the procedure.
thanx

K' Dash

unread,
Sep 15, 2014, 4:49:25 PM9/15/14
to ns-3-...@googlegroups.com
Tom you know what............You are awesome genius. thanx a lot. I did it. I have few Question regarding this patch.

In below table tell me about numbers which are red and bold.

1. I know 600 sec =10 min but my simulation time is 600 seconds then why it shows in 10 minutes?
2. It prints the table one time during simulation. Is it possible that it prints the table after 1 minute interval? if yes then how?
3. what these number telling in third column? (after dev)
4. Just for information, is every node stores its own entry in its ARP cache as well?



ARP Cache of node 0 at time 10
10.1.3.1 dev 1 lladdr 02-06-00:00:00:00:00:03 REACHABLE
10.1.3.2 dev 1 lladdr 02-06-00:00:00:00:00:04 REACHABLE
10.1.3.3 dev 1 lladdr 02-06-00:00:00:00:00:05 REACHABLE
12.1.3.1 dev 1 lladdr 02-06-00:00:00:00:00:01 REACHABLE
12.1.3.2 dev 1 lladdr 02-06-00:00:00:00:00:02 REACHABLE
ARP Cache of node 1 at time 10
ARP Cache of node 2 at time 10
10.1.3.1 dev 0 lladdr 00-06-00:00:00:00:00:03 REACHABLE
ARP Cache of node 3 at time 10
10.1.3.1 dev 0 lladdr 00-06-00:00:00:00:00:03 REACHABLE

--
Regards,
ADNAN RASHID


Tommaso Pecorella

unread,
Sep 15, 2014, 5:08:54 PM9/15/14
to ns-3-...@googlegroups.com
Not a genius, just someone with a bit of experience. Thanks anyway.

On Monday, September 15, 2014 10:49:25 PM UTC+2, K' Dash wrote:
Tom you know what............You are awesome genius. thanx a lot. I did it. I have few Question regarding this patch.

In below table tell me about numbers which are red and bold.

1. I know 600 sec =10 min but my simulation time is 600 seconds then why it shows in 10 minutes?

Perhaps you forgot to change the code...
rh4.PrintNeighborCacheAllAt (Seconds (10), routingStream);
This will print the routing table at second 10...
The "at time" should be read "at time 10 seconds".
 
2. It prints the table one time during simulation. Is it possible that it prints the table after 1 minute interval? if yes then how?

rh4.PrintNeighborCacheAllEvery (Seconds (60), routingStream);
- Second (60) to print each minute.

3. what these number telling in third column? (after dev)

It's the NetDevice index. It seems that you have some nodes with two NetDevices (if there's a "1", there's a "0" too)
 
4. Just for information, is every node stores its own entry in its ARP cache as well?

They shouldn't. It could happen if a node has two interfaces on the same cannel. Something that is usually to avoid.

Cheers,

T.

K' Dash

unread,
Sep 15, 2014, 6:12:25 PM9/15/14
to ns-3-...@googlegroups.com
1. Yeah I saw but after reply I found. :) thanx.  

2. yes you are right. I changed the time. well I was asking to see the ARP table of 1 minute intervals not interval. (It was typo mistake).

3. Got it. you mean if there is 1 then it means two interfaces,  if 0 then it means single/one interface. right?
  
4. Thanx

--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/rOqO8-mQuAc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.



--
Regards,
ADNAN RASHID


Reply all
Reply to author
Forward
0 new messages