Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 May 2010 17:27:25 -0400
From:      list@cykotix.com
To:        freebsd-net@freebsd.org
Subject:   Re: Packet Loss on FW1 but not FW2 (CARP + PF on FBSD8)
Message-ID:  <20100514172725.1937468ajpjekhog@webmail.lahni.com>
In-Reply-To: <20100514210342.GD24686@michelle.cdnetworks.com>
References:  <20100514145612.14566x4tj40yhyos@webmail.lahni.com> <20100514192239.GC24686@michelle.cdnetworks.com> <20100514155638.21116k5xymc7cb8c@webmail.lahni.com> <20100514210342.GD24686@michelle.cdnetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Pyun YongHyeon <pyunyh@gmail.com>:
>> >Show me the output of "sysctl dev.vr.0.stats=1" and "netstat -ndI vr0".
>>
>> soekris1# sysctl dev.vr.0.stats=1
>> dev.vr.0.stats: -1 -> -1
>>
>
> Please check the output of console. It would have printed some MAC
> counters maintained in driver.

>> soekris1# netstat -ndI vr0
>> Name    Mtu Network       Address              Ipkts Ierrs    Opkts
>> Oerrs  Coll Drop
>> vr0    1500 <Link#1>      00:00:24:cc:cb:94    17491     0    14993
>>  0     0    0
>> vr0    1500 98.xxx.xxx.56 98.xxx.xxx.59          992     -     9374
>>  -     -    -
>>

FW1:
vr0 statistics:
Outbound good frames : 14992
Inbound good frames : 17486
Outbound errors : 0
Inbound errors : 0
Inbound no buffers : 0
Inbound no mbuf clusters: 0
Inbound FIFO overflows : 0
Inbound CRC errors : 0
Inbound frame alignment errors : 0
Inbound giant frames : 0
Inbound runt frames : 0
Outbound aborted with excessive collisions : 0
Outbound collisions : 0
Outbound late collisions : 0
Outbound underrun : 0
PCI bus errors : 0
driver restarted due to Rx/Tx shutdown failure : 0


> No Ierrs, so MAC counters would be more helpful here.

>> soekris2# sysctl dev.vr.0.stats=1
>> dev.vr.0.stats: -1 -> -1
>>
>> soekris2# netstat -ndI vr0
>> Name    Mtu Network       Address              Ipkts Ierrs    Opkts
>> Oerrs  Coll Drop
>> vr0    1500 <Link#1>      00:00:24:ca:40:60   575909     0   588703
>>  0     0    0
>> vr0    1500 98.xxx.xxx.56 98.xxx.xxx.60        10029     -    53106
>>  -     -    -

FW2:
vr0 statistics:
Outbound good frames : 588054
Inbound good frames : 575353
Outbound errors : 0
Inbound errors : 0
Inbound no buffers : 0
Inbound no mbuf clusters: 0
Inbound FIFO overflows : 0
Inbound CRC errors : 0
Inbound frame alignment errors : 0
Inbound giant frames : 0
Inbound runt frames : 0
Outbound aborted with excessive collisions : 0
Outbound collisions : 0
Outbound late collisions : 0
Outbound underrun : 0
PCI bus errors : 0
driver restarted due to Rx/Tx shutdown failure : 0

Patrick

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100514172725.1937468ajpjekhog>