Re: carp master - backup problem

2009-10-29 Thread Georg Kahest
Hello i noticed that my netstat -s -p carp shows 1068 discarded for bad authentication My carp works okey otherwise, but should i worry about it ? how to debug it ? Bryan Irvine wrote: VVV 372 discarded for unknown vhid I know someone else already pointed it

carp master - backup problem

2009-10-28 Thread Scott
I must be missing something in my config, and I'd appreciate it if my blunder could be pointed out to me. I have two web servers behind a firewall (all machines are running 4.6-stable, generic kernel). The firewall has rdr pass rules to both web servers, with one commented out at a time. I

Re: carp master - backup problem

2009-10-28 Thread Scott
Marco Pfatschbacher wrote: Hi, I actually didn't read your entire mail.. but: Having 192.168.0.9 on both the physical and the carp interface cannot really work. Thanks for trying! Unfortunately, I tried that as well (and double checked it again after your reply) where the carp IP is

Re: carp master - backup problem

2009-10-28 Thread Bryan Irvine
On Tue, Oct 27, 2009 at 10:55 PM, Scott sc...@erratic.ca wrote: I must be missing something in my config, and I'd appreciate it if my blunder could be pointed out to me. I have two web servers behind a firewall (all machines are running 4.6-stable, generic kernel). The firewall has rdr pass

Re: carp master - backup problem

2009-10-28 Thread Michiel van Baak
On 01:55, Wed 28 Oct 09, Scott wrote: I must be missing something in my config, and I'd appreciate it if my blunder could be pointed out to me. [snip] Do you have pf enabled ? If so, make sure you allow carp traffic on the physical interface that runs carp. -- Michiel van Baak

Re: carp master - backup problem

2009-10-28 Thread Peter Hessler
On 2009 Oct 28 (Wed) at 01:55:40 -0400 (-0400), Scott wrote: :$ cat /etc/hostname.carp0: :inet 192.168.0.9 255.255.255.0 192.168.0.255 vhid 1 carpdev fxp0 -snip- :$ cat /etc/hostname.carp0 :inet 192.168.0.9 255.255.255.0 192.168.0.255 vhid 2 advbase 1 advskew :100 carpdev xl0 The vhids need to be

Re: carp master - backup problem

2009-10-28 Thread Scott McEachern
Peter Hessler wrote: On 2009 Oct 28 (Wed) at 01:55:40 -0400 (-0400), Scott wrote: :$ cat /etc/hostname.carp0: :inet 192.168.0.9 255.255.255.0 192.168.0.255 vhid 1 carpdev fxp0 -snip- :$ cat /etc/hostname.carp0 :inet 192.168.0.9 255.255.255.0 192.168.0.255 vhid 2 advbase 1 advskew :100 carpdev

Re: carp master - backup problem

2009-10-28 Thread Scott McEachern
Bryan Irvine wrote: I do believe preempt should be 1 on both servers. Let the advskew handle which one is primary. What do you see for output of 'netstat -s -p carp' and 'netstat -s -p pfsync' -B I tried it with both servers set to preempt=1, with the same results, but to double check I

Re: carp master - backup problem

2009-10-28 Thread Bryan Irvine
VVV 372 discarded for unknown vhid I know someone else already pointed it out but this is worth drawing your attention to as well. -B