i had modified rc conf a little and last log paste was because of that modification, this is the current log, but still the client behind lan carp loses its packets, first to his gateway with host uncreachable and after few packets its timeout, and then everything starts working okey. Jun 1 15:20:05 node1 savecore: no core dump Jun 1 15:20:07 node1 /bsd: carp0: state transition: INIT -> BACKUP Jun 1 15:20:07 node1 /bsd: carp: carp0 demoted group carp to 2 Jun 1 15:20:07 node1 /bsd: carp: carp0 demoted group egress to 0 Jun 1 15:20:07 node1 /bsd: carp1: state transition: INIT -> BACKUP Jun 1 15:20:07 node1 /bsd: carp: carp1 demoted group carp to 1 Jun 1 15:20:10 node1 /bsd: carp0: state transition: BACKUP -> MASTER Jun 1 15:20:10 node1 /bsd: carp1: state transition: BACKUP -> MASTER Jun 1 15:20:10 node1 /bsd: carp: pfsync0 demoted group carp to 0 Jun 1 15:20:10 node1 /bsd: carp: pfsync0 demoted group pfsync to 0
On E, 2009-06-01 at 13:14 +0200, Stuart Henderson wrote: > On 2009/06/01 12:55, Georg Kahest wrote: > > # $OpenBSD: netstart,v 1.122 2008/07/23 16:05:47 sthen Exp $ > > > > # $OpenBSD: rc,v 1.318 2008/07/09 20:23:47 djm Exp $ > > > > # uname -a > > OpenBSD node1 4.4 GENERIC.MP#1 amd64 > > It's not what I was thinking it might be then (there was a change > to the order of pfsync/pfctl in the startup scripts and I wondered > if it might have been relevant, but you already have that). > > I'm not sure what it might be then.. > > > > > On P, 2009-05-31 at 19:32 +0200, Stuart Henderson wrote: > > > On 2009-05-28, Georg Kahest <ge...@viatel.ee> wrote: > > > > Hello, i have strange problem with my Carp/Pfsync, when i manualy > > > > failover via carpdemote or ifconfig carpX down, then the failover works > > > > okey, it even works okey when one box goes down, but when the prefered > > > > master comes up again and starts to act as carp master, then client who > > > > has carp as its gateway loses some packets on the moment of failover, im > > > > wondering what could cause that, what could i have overlooked, and why > > > > the problem only exists when box comes from reboot, rather then always. > > > > > > Which OpenBSD version, and which versions of /etc/netstart and /etc/rc? -- Georg Kahest <ge...@viatel.ee> ProGroup Holding