Project

General

Profile

Actions

Bug #12227

closed

Changing VHID on CARP VIP does not update VHID of related IP Alias VIPs

Added by Viktor Gurov over 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
CARP
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.01
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

192.168.88.44 - CARP VIP (VHID: 1)
192.168.88.45 - IP Alias on CARP VIP:

[2.6.0-DEVELOPMENT][root@pf100.home.arpa]/root: ifconfig vtnet0
vtnet0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
    description: LAN
    options=800b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,LINKSTATE>
    ether ce:44:5c:c1:e6:8c
    inet6 fe80::cc44:5cff:fec1:e68c%vtnet0 prefixlen 64 scopeid 0x1
    inet6 fc00:88::100 prefixlen 64
    inet 192.168.88.100 netmask 0xffffff00 broadcast 192.168.88.255
    inet 192.168.88.45 netmask 0xffffffff broadcast 192.168.88.45 vhid 1
    inet 192.168.88.44 netmask 0xffffff00 broadcast 192.168.88.255 vhid 1
    carp: MASTER vhid 1 advbase 1 advskew 0
    media: Ethernet 10Gbase-T <full-duplex>
    status: active
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

After changing CARP VIP VHID to 2, the IP alias remains on the old VHID 1:

[2.6.0-DEVELOPMENT][root@pf100.home.arpa]/root: ifconfig vtnet0
vtnet0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
    description: LAN
    options=800b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,LINKSTATE>
    ether ce:44:5c:c1:e6:8c
    inet6 fe80::cc44:5cff:fec1:e68c%vtnet0 prefixlen 64 scopeid 0x1
    inet6 fc00:88::100 prefixlen 64
    inet 192.168.88.100 netmask 0xffffff00 broadcast 192.168.88.255
    inet 192.168.88.45 netmask 0xffffffff broadcast 192.168.88.45 vhid 1
    inet 192.168.88.44 netmask 0xffffff00 broadcast 192.168.88.255 vhid 2
    carp: MASTER vhid 1 advbase 1 advskew 0
    carp: MASTER vhid 2 advbase 1 advskew 0
    media: Ethernet 10Gbase-T <full-duplex>
    status: active
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>


Related issues

Related to Regression #12961: CARP event storm when leaving persistent CARP maintenance modeResolvedViktor Gurov

Actions
Actions #1

Updated by Viktor Gurov over 2 years ago

  • Related to Bug #12202: When a CARP VIP VHID change is synchronized to a secondary node, the CARP VIP is removed from the interface and the old VHIDs remain active added
Actions #3

Updated by Jim Pingle over 2 years ago

  • Status changed from New to Pull Request Review
  • Target version set to 2.6.0
  • Plus Target Version set to 21.09
Actions #4

Updated by Viktor Gurov over 2 years ago

  • Related to deleted (Bug #12202: When a CARP VIP VHID change is synchronized to a secondary node, the CARP VIP is removed from the interface and the old VHIDs remain active)
Actions #5

Updated by Viktor Gurov over 2 years ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100
Actions #6

Updated by Viktor Gurov over 2 years ago

  • Assignee set to Viktor Gurov
Actions #7

Updated by Jim Pingle over 2 years ago

  • Subject changed from IP Alias on CARP VIP does not update VHID to Changing VHID on CARP VIP does not update VHID of related IP Alias VIPs

Updating subject for release notes.

Actions #8

Updated by Danilo Zrenjanin over 2 years ago

  • Status changed from Feedback to Resolved

Tested on the:

2.6.0-DEVELOPMENT (amd64)
built on Thu Sep 23 01:11:47 EDT 2021
FreeBSD 12.2-STABLE

It works as expected. Ticket resolved.

Actions #9

Updated by Jim Pingle over 2 years ago

  • Plus Target Version changed from 21.09 to 22.01
Actions #10

Updated by Florian Apolloner about 2 years ago

Cross-linking https://redmine.pfsense.org/issues/12961 -- this fix causes multiple carp interface changes resulting in a carp event storm on failover etc.

Actions #11

Updated by Viktor Gurov about 2 years ago

  • Related to Regression #12961: CARP event storm when leaving persistent CARP maintenance mode added
Actions

Also available in: Atom PDF