On 2022-06-28, Christer Solskogen <christer.solsko...@gmail.com> wrote: > On Tue, Jun 28, 2022 at 12:18 PM Łukasz Moskała <l...@lukaszmoskala.pl> wrote: > >> You wanted to set the CARP IP as default gateway on both master and >> backup, right? >> >> > No, the master is the gateway. So what would not make sense as all. > I would like to have the CARP IP as default gateway on the backup. (And > vice-versa, when the now-master becomes backup)
So for this you would need to monitor the interface status and change the default route, you couldn't rely on /etc/mygate. But, if you do that anyway, you can just use the standard non-carp address on the backup, and the proper upstream router on the active machine