Date: Fri, 14 May 2010 14:03:42 -0700 From: Pyun YongHyeon <pyunyh@gmail.com> To: list@cykotix.com Cc: freebsd-net@freebsd.org Subject: Re: Packet Loss on FW1 but not FW2 (CARP + PF on FBSD8) Message-ID: <20100514210342.GD24686@michelle.cdnetworks.com> In-Reply-To: <20100514155638.21116k5xymc7cb8c@webmail.lahni.com> References: <20100514145612.14566x4tj40yhyos@webmail.lahni.com> <20100514192239.GC24686@michelle.cdnetworks.com> <20100514155638.21116k5xymc7cb8c@webmail.lahni.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 14, 2010 at 03:56:38PM -0400, list@cykotix.com wrote: > Quoting Pyun YongHyeon <pyunyh@gmail.com>: > > >On Fri, May 14, 2010 at 02:56:12PM -0400, list@cykotix.com wrote: > >>Hello, > >> > >>I recently just purchased 2 Soekris5501 with identical 120gb 2.5" WD > >>Scorpio HDDs. I'm using them for network failover, using CARP, PF and > >>pfSync on FreeBSD 8-STABLE. > >> > >>The short version of my problem: > >> > >>I setup FW2 first, imaged its hard drive to FW1. I changed the > >>necessary configs to update the IPs and ensure FW1 was carp MASTER. > >>Using a known working port on the switch, I continue to get 70% packet > >>loss on FW1 on vr0 (vr0 - extif, vr1 - intif, vr2 - pfsync). If I > >>flip FW1 and FW2, the packet loss follows FW1. I took FW1 home, > >>plugged it into my home network on vr0 and it works fine with 0% > >>packet loss so the interface seems fine. I also took the IP bound to > >>vr0 on FW1 and bound it to vr0 on FW2 and the ISP isn't the problem. > >> > > > >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 > - - - > 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 > - - - > > > Let me know if you need any other information! Thanks! > > Patrick
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100514210342.GD24686>