Page MenuHomeDevCentral

CARP setup (IP allocation, vhid, advskew / priorité (master / backup), shared secret)
Closed, ResolvedPublic

Description

Steps :

  • Define CARP VIPs, VHIDs, priorities and the shared secret for internal and public networks.
  • Add the CARP configurations in NetBox.
  • Generate a new pillar with the script : utils/netbox/pillarize.py (D2790).
  • Compare pillar/nodes/nodes.sls with the newly generated pillar and apply necessary improvements in NetBox, in nodes.sls or in the script python (D3974 et D2790).
  • Add new functions in utils/netbox/pillarize.py to get the carp configurations on NetBox (D2790).
  • Put the shared secrets for VHID 1 and VHID 2 in VALT

Event Timeline

dereckson triaged this task as Normal priority.Feb 11 2026, 19:53
dereckson renamed this task from Define IP range to Define IP range to use with CARP.Feb 16 2026, 01:32
yousra updated the task description. (Show Details)

A new bloc IPV4 was added in NetBox : The 172.27.27.0/28 subnet was fully allocated and currently used by VMs on Hyper-1, so I expand it to a larger prefix by combining 172.27.27.0/28 and 172.27.27.16/28 into a single 172.27.27.0/27 subnet to allow better address utilization in the future.

19:21 < Yousra> Dereckson router-003: IP= 178.32.70.111/30, en fait .111 c'est la broadcast

Indeed, strico sensu, in a /30 block, the last one is the broadcast.
But here, each IP is actually used as /32: the server will have inet 178.32.70.111 netmask 255.255.255.255.
That strategy allows to avoid waste of blocks in a situation of exhaustion of available IPv4.

So for OVH IPFO (fail-over IPs):

  • we receive a range of IP, we can use every IP in that range
  • we treat everything as /32
yousra renamed this task from Define IP range to use with CARP to CARP setup (IP allocation, vhid, advskew / priorité (master / backup)).Sun, Feb 22, 13:25
yousra updated the task description. (Show Details)
yousra renamed this task from CARP setup (IP allocation, vhid, advskew / priorité (master / backup)) to CARP setup (IP allocation, vhid, advskew / priorité (master / backup), secret shared).Sun, Feb 22, 13:40
yousra renamed this task from CARP setup (IP allocation, vhid, advskew / priorité (master / backup), secret shared) to CARP setup (IP allocation, vhid, advskew / priorité (master / backup), shared secret).Sun, Feb 22, 13:42
yousra updated the task description. (Show Details)
yousra updated the task description. (Show Details)
yousra updated the task description. (Show Details)
yousra moved this task from Working on to Done on the Secure HA tunnels board.