The sysctl for carp.preempt controls if they should all fail at the same time. Den 6 jul 2014 10:12 skrev "Adam Thompson" <athom...@athompso.net>:
> On July 6, 2014 2:51:03 AM CDT, Mxher <o...@mxher.fr> wrote: > >Le 06/07/2014 04:34, Giancarlo Razzolini a écrit : > >> Em 05-07-2014 16:20, Mxher escreveu: > >>> 1) Can I group multiple virtuals ips to make them switch all at the > >same > >>> time using CARP ? > >> AFAIK, no. But you can use ifstated. > >I have to admit that I didn't knew about ifstated; I will test it. > > > >>> 2) About modems interfaces, I can't have them UP on both firewalls > >at > >>> the same time. > >>> How would you managed that? > >> You're dialing to your modems using pppoe? If so, them no, you > >probably > >> can't have both them up, even with carp. If you could change your > >> configuration for routing instead, you could use carp on your > >external > >> interface to talk with your modems. > >Yes, unfortunately I have to use pppoe on two (of the five) modems. > > > >> > >> Cheers, > >> > > > >Thanks for your answer! > > I recall someone pointing out that interface groups of carp interfaces > will all transition simultaneously. I find ifconfig(8) inconclusive; run > your own tests and if that works, you have a built-in solution for keeping > all the carp interfaces in sync. > Then, use ifstated to manage the pppoe interfaces depending on ifstate of > the relevant wan interface? You could set up a carp interface with no IP > address bound, set it into the common if group and it would go up/down with > the other carp ifs. > Maybe. I haven't tried anything like that myself. > -Adam > -- > Sent from my Android device with K-9 Mail. Please excuse my brevity.