GNS3
http://forum.gns3.net/

strange counter with Olive
http://forum.gns3.net/topic3993.html
Page 1 of 1

Author:  bachng [ Tue Sep 06, 2011 11:43 am ]
Post subject:  strange counter with Olive

I had a strange problem. My counter always return double the real value
I appreciate any suggestion or explain :-)

2 olive(qemu) is connected directly, running 9.1S, r24(em3) ---(em0)r25
with the below config for an packet counter on em0 of r25, I always get following result:

from r24, ping to loopback0 of r25
r24.as2> ping 10.0.0.5 count 1
PING 10.0.0.5 (10.0.0.5): 56 data bytes
64 bytes from 10.0.0.5: icmp_seq=0 ttl=64 time=11.967 ms

result:
@r25.as2> show firewall counter count_packet filter intf_in

Filter: intf_in
Counters:
Name Bytes Packets
count_packet 168 2 <---- 2 packets !!!!

=================
term sample {
from {
protocol icmp;
icmp-type echo-request;
}
then {
count count_packet;
log;
sample;
accept;
}
}
term other {
then accept;
}
=================
term sample {
from {
protocol icmp;
icmp-type echo-request;
}
then {
count count_packet;
log;
sample;
accept;
}
}
term other {
then accept;
}
=====================

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/