Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    CARP not failing over all interfaces

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    1 Posts 1 Posters 326 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      PacketMaster
      last edited by

      Hi All,

      unfortunatelly i have a probelm with CARP failover configuration.

      Everything is setup like discribed in the how-to ans also works very well when i do a manual failover or a shutdown / reboot of the primary device.
      But when i pull a cable out of the primary box, the second box only fails over this interface and the others stay active on the other box.

      • For synchronizing i use a dedicated network port with crossover cable.
      • Port 1 is WAN
      • port 2 is LAN with VLAN tagged interfaces on it

      In the logs you can see that at first the device does a failover for all interfaces by adding an +240 for priority but then suddenly removes this added prioroty value and takes back the not failed interfaces.

      Here are the logs:

      Feb 3 09:34:16 	php-fpm 	353 	/rc.carpmaster: HA cluster member "(172.29.242.254@igb1.910): (VLAN910_ADMIN)" has resumed CARP state "MASTER" for vhid 2
      Feb 3 09:34:16 	php-fpm 	38807 	/rc.carpmaster: HA cluster member "(172.29.255.254@igb1): (LAN_VLAN1)" has resumed CARP state "MASTER" for vhid 1
      Feb 3 09:34:15 	check_reload_status 		Carp master event
      Feb 3 09:34:15 	check_reload_status 		Carp master event
      Feb 3 09:34:15 	kernel 		carp: 2@igb1.910: BACKUP -> MASTER (preempting a slower master)
      Feb 3 09:34:15 	kernel 		carp: 1@igb1: BACKUP -> MASTER (preempting a slower master)
      Feb 3 09:34:14 	kernel 		carp: demoted by -240 to 0 (vhid removed)
      Feb 3 09:34:13 	php-fpm 	353 	/rc.carpbackup: HA cluster member "(172.29.255.254@igb1): (LAN_VLAN1)" has resumed CARP state "BACKUP" for vhid 1
      Feb 3 09:34:13 	php-fpm 	38807 	/rc.carpbackup: HA cluster member "(172.29.242.254@igb1.910): (VLAN910_ADMIN)" has resumed CARP state "BACKUP" for vhid 2
      Feb 3 09:34:13 	php-fpm 	353 	/rc.carpbackup: HA cluster member "(192.168.188.254@igb0): (WAN)" has resumed CARP state "BACKUP" for vhid 3
      Feb 3 09:34:12 	check_reload_status 		Carp backup event
      Feb 3 09:34:12 	check_reload_status 		Carp backup event
      Feb 3 09:34:12 	check_reload_status 		Carp backup event
      Feb 3 09:34:12 	kernel 		carp: 1@igb1: MASTER -> BACKUP (more frequent advertisement received)
      Feb 3 09:34:12 	kernel 		carp: 2@igb1.910: MASTER -> BACKUP (more frequent advertisement received)
      Feb 3 09:34:12 	kernel 		carp: demoted by 240 to 240 (interface down)
      Feb 3 09:34:12 	kernel 		carp: 3@igb0: MASTER -> INIT (hardware interface down)
      

      I´ve also disabled IGMP Snooping on the LAN faced switch. The WAN-faced switch between PF and DSL-Modem is blackbox.

      Couldnt find anything related via search / google

      Any help here appreciated ☺

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.