carp ssh setup

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

carp ssh setup

jungle Boogie
Hi All,

I have a very simple carp setup - basically I want ssh access if the
master goes offline.
In theory, this are functioning correctly. In practice, it seems the
backup is taking over way too often - the backup takes over way too
often, even when I'm ssh'd to the master device.

master:
inet 192.168.0.99 255.255.255.0 192.168.0.255 vhid 1 carpdev dwxe0
state master advskew 1 pass pass

backup:
inet 192.168.0.99 255.255.255.0 192.168.0.255 vhid 1 carpdev cnmac0
state backup advskew 10 pass pass

Both are running openBSD snapshots of the latest for their platform
(master is arm64; backup is octeon).

I see there is a sysctl I can tweak regarding logging, but I don't
know if that's what I need to do in order to find out what's
happening.

Crude drawing: https://imgur.com/a/zcoU5


Is anyone else running carp in this simplistic of a manner that could
tell me of an issue?

--
-------
inum: 883510009027723
sip: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: carp ssh setup

Kapetanakis Giannis
On 17/04/18 02:06, jungle Boogie wrote:

> Hi All,
>
> I have a very simple carp setup - basically I want ssh access if the
> master goes offline.
> In theory, this are functioning correctly. In practice, it seems the
> backup is taking over way too often - the backup takes over way too
> often, even when I'm ssh'd to the master device.
>
> master:
> inet 192.168.0.99 255.255.255.0 192.168.0.255 vhid 1 carpdev dwxe0
> state master advskew 1 pass pass
>
> backup:
> inet 192.168.0.99 255.255.255.0 192.168.0.255 vhid 1 carpdev dwxe0
> state backup advskew 10 pass pass

Do you have IP addresses on the physical interfaces dwxe0?

Use netmask 255.255.255.255 on carp devices.
and then use the IP address off the physical interface (dwxe0) to access each firewall.

ifconfig -A
would be useful for more help

G