Re: ifstated with carp0

2009-10-01 Thread Steven Surdock
-Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Pascal Lalonde Sent: Wednesday, September 30, 2009 11:37 PM To: Laurent CARON Cc: Steven Surdock; misc@openbsd.org Subject: Re: ifstated with carp0 On Mon, Sep 28, 2009 at 08:06:36AM +0200

Re: ifstated with carp0

2009-10-01 Thread Steven Surdock
-Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Pascal Lalonde Sent: Wednesday, September 30, 2009 11:37 PM To: Laurent CARON Cc: Steven Surdock; misc@openbsd.org Subject: Re: ifstated with carp0 On Mon, Sep 28, 2009 at 08:06:36AM +0200

Re: ifstated with carp0

2009-09-30 Thread Steven Surdock
-Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Stuart Henderson Sent: Tuesday, September 29, 2009 5:05 PM To: Laurent CARON Cc: OpenBSD Subject: Re: ifstated with carp0 ... yep, using ifconfig like that isn't really very clean - does

Re: ifstated with carp0

2009-09-30 Thread Aaron Mason
- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Stuart Henderson Sent: Tuesday, September 29, 2009 5:05 PM To: Laurent CARON Cc: OpenBSD Subject: Re: ifstated with carp0 ... yep, using ifconfig like that isn't really very clean - does this help at all? Index

Re: ifstated with carp0

2009-09-30 Thread Pascal Lalonde
On Mon, Sep 28, 2009 at 08:06:36AM +0200, Laurent CARON wrote: On 28/09/2009 04:28, Steven Surdock wrote: ... HERE IS IFSTATED DETECTING THE FAILOVER, WHICH SHOULD HAVE HAPPENED ON SEP 25, BUT DIDN'T Sep 26 14:19:03 fw2 ifstated[16189]: changing state to normal Sep 26 14:19:03 fw2

Re: ifstated with carp0

2009-09-29 Thread Laurent CARON
On 29/09/2009 00:33, Stuart Henderson wrote: The only change to ifstated between 4.4 and 4.5 was a minor change to the config parser. (there was another change after 4.5, so if 4.5 works for someone but -current doesn't, they can try reverting it). Hi, Here is what i temporarily did in the

Re: ifstated with carp0

2009-09-29 Thread Stuart Henderson
On 2009/09/29 22:38, Laurent CARON wrote: On 29/09/2009 00:33, Stuart Henderson wrote: The only change to ifstated between 4.4 and 4.5 was a minor change to the config parser. (there was another change after 4.5, so if 4.5 works for someone but -current doesn't, they can try reverting it).

Re: ifstated with carp0

2009-09-29 Thread Laurent CARON
On 29/09/2009 23:05, Stuart Henderson wrote: yep, using ifconfig like that isn't really very clean - does this help at all? I did try to revert this change to no avail. :$

Re: ifstated with carp0

2009-09-29 Thread Stuart Henderson
On 2009/09/29 23:12, Laurent CARON wrote: On 29/09/2009 23:05, Stuart Henderson wrote: yep, using ifconfig like that isn't really very clean - does this help at all? I did try to revert this change to no avail. :$ no, that's something different.

Re: ifstated with carp0

2009-09-28 Thread Laurent CARON
On 28/09/2009 04:28, Steven Surdock wrote: Hmmm... I just upgraded a pair from 4.4 to 4.5 and I think I am having the same problem you are seeing. Interestingly, I had a problem with the upgrade a couple days ago and left ifstated running. It transitioned, but not when I expected. FORCE

Re: ifstated with carp0

2009-09-28 Thread Steven Surdock
-Original Message- From: Laurent CARON [mailto:lca...@unix-scripts.info] Sent: Monday, September 28, 2009 2:07 AM To: Steven Surdock Cc: misc@openbsd.org Subject: Re: ifstated with carp0 On 28/09/2009 04:28, Steven Surdock wrote: Hmmm... I just upgraded a pair from 4.4 to 4.5

Re: ifstated with carp0

2009-09-28 Thread Laurent CARON
On 28/09/2009 12:27, Steven Surdock wrote: -Original Message- From: Laurent CARON [mailto:lca...@unix-scripts.info] Sent: Monday, September 28, 2009 2:07 AM To: Steven Surdock Cc: misc@openbsd.org Subject: Re: ifstated with carp0 On 28/09/2009 04:28, Steven Surdock wrote: Hmmm... I

Re: ifstated with carp0

2009-09-28 Thread Stuart Henderson
On 2009-09-28, Laurent CARON lca...@unix-scripts.info wrote: On 28/09/2009 12:27, Steven Surdock wrote: -Original Message- From: Laurent CARON [mailto:lca...@unix-scripts.info] Sent: Monday, September 28, 2009 2:07 AM To: Steven Surdock Cc: misc@openbsd.org Subject: Re: ifstated

Re: ifstated with carp0

2009-09-27 Thread Steven Surdock
... On 25/09/2009 18:12, Steven Surdock wrote: -Original Message- From: Laurent CARON [mailto:lca...@unix-scripts.info] Sent: Friday, September 25, 2009 11:59 AM To: misc@openbsd.org Cc: Steven Surdock Subject: Re: ifstated with carp0 On 25/09/2009 15:02, Steven Surdock

Re: ifstated with carp0

2009-09-27 Thread Steven Surdock
-Original Message- From: Steven Surdock Sent: Sunday, September 27, 2009 7:33 PM To: Laurent CARON Subject: RE: ifstated with carp0 -Original Message- From: Laurent CARON [mailto:lca...@unix-scripts.info] Sent: Sunday, September 27, 2009 2:53 PM To: Steven Surdock

Re: ifstated with carp0

2009-09-25 Thread Steven Surdock
-Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Laurent CARON Sent: Thursday, September 24, 2009 5:54 PM To: misc@openbsd.org Subject: ifstated with carp0 I'm trying to setup ifstated to execute some scripts on state change on carp0

Re: ifstated with carp0

2009-09-25 Thread Laurent CARON
On 25/09/2009 15:02, Steven Surdock wrote: I set net.inet.carp.preempt=1 on the primary ONLY for this reason. It is the same if i disable net.inet.carp.preempt on the secondary, the secondary 'thinks' he's the master carp device :(

Re: ifstated with carp0

2009-09-25 Thread Steven Surdock
-Original Message- From: Laurent CARON [mailto:lca...@unix-scripts.info] Sent: Friday, September 25, 2009 11:59 AM To: misc@openbsd.org Cc: Steven Surdock Subject: Re: ifstated with carp0 On 25/09/2009 15:02, Steven Surdock wrote: I set net.inet.carp.preempt=1 on the primary ONLY

Re: ifstated with carp0

2009-09-25 Thread Laurent CARON
On 25/09/2009 18:12, Steven Surdock wrote: Odd, it works for me. Try a tcpdump and make sure both nodes are seeing the carp announcements. Also verify advbase and advskew in the announcements. Make sure both FW's are passing carp traffic. -Steve S. I guess both are seeing carp traffic

ifstated with carp0

2009-09-24 Thread Laurent CARON
Hi, I'm trying to setup ifstated to execute some scripts on state change on carp0. Here is my config file on both machines * init-state auto carp_up = carp0.link.up carp_down = carp0.link.down state auto { if $carp_up {