Re: CARP forcing failover

2017-02-28 Thread Aristedes Maniatis
My experience is that it doesn't cause them all the failover, even though an interface going down does cause them all to failover with the pre-emption feature enabled. Ari On 1/3/17 2:31pm, Freddie Cash wrote: > Doesn't "ifconfig vhid XX state master" do what you want? It forces that vhid >

Re: CARP forcing failover

2017-02-28 Thread Freddie Cash
Doesn't "ifconfig vhid XX state master" do what you want? It forces that vhid over to master, which should preempt the other interfaces to switch as well. One command. On Feb 28, 2017 5:10 PM, "Aristedes Maniatis" wrote: > Yes, the automatic failover is great and works

Re: CARP forcing failover

2017-02-28 Thread Brandon Allbery
On Tue, Feb 28, 2017 at 7:58 PM, Aristedes Maniatis wrote: > Now, what command can I type that I could run remotely (SSH over the em0 > link) The first thing you might want to look at is screen / tmux. -- brandon s allbery kf8nh sine nomine

Re: CARP forcing failover

2017-02-28 Thread Aristedes Maniatis
Yes, the automatic failover is great and works perfectly to bring all interfaces over at once. But to manually force a failover I need to change the advskew one interface at a time with ifconfig. Ari On 1/3/17 12:04pm, Freddie Cash wrote: > Do you have the preemption sysctl enabled? That will

Re: CARP forcing failover

2017-02-28 Thread Freddie Cash
Do you have the preemption sysctl enabled? That will fail-over all carp interfaces when any one fails. "sysctl -a | grep carp" I'm pretty sure there's also an ifconfig command to force the state as either master or backup. Check the man page. On Feb 28, 2017 5:01 PM, "Aristedes Maniatis"

CARP forcing failover

2017-02-28 Thread Aristedes Maniatis
I have a pair network gateway boxes running FreeBSD 11 and pf. Upstream runs VRRP to provide redundant links, one to each gateway. Internally I'm using CARP for failover. All works well, but I find that manually failing over the link is a bit complicated. In short I have this: em0: