carp can't delete address

Trond Endrestøl trond.endrestol at ximalas.info
Fri May 24 07:24:42 UTC 2019


On Thu, 23 May 2019 23:04+0200, Stefan Bethke wrote:

> I’ve just set up carp (for the first time) and it seems the virtual address is not being removed on the backup host:
> 
> May 23 20:55:09 xxx kernel: carp: 1 at igb0: INIT -> BACKUP (initialization complete)
> May 23 20:55:12 xxx kernel: carp: 1 at igb0: BACKUP -> MASTER (master timed out)
> May 23 20:56:33 xxx kernel: carp: 1 at igb0: MASTER -> BACKUP (more frequent advertisement received)
> May 23 20:56:33 xxx kernel: igb0: deletion failed: 3
> 
> ifconfig shows the address as active:
> # ifconfig igb0
> igb0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
> 	options=e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
> 	ether ac:1f:6b:12:34:56
> 	inet 212.12.xxx.xxx/24 broadcast 212.12.xxx.xxx 
> 	inet 212.12.xxx.yyy/32 broadcast 212.12.xxx.yyy vhid 1 
> 	inet6 fe80::ae1f:6bff:...%igb0/64 scopeid 0x1 
> 	carp: BACKUP vhid 1 advbase 1 advskew 200
> 	media: Ethernet autoselect (1000baseT <full-duplex>)
> 	status: active
> 	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
> 
> Is there a configuration I can/need to adjust?

It is normal for the common address to be present in all participating 
nodes. Your node above moved to the backup state since another node 
advertise the same (encrypted) vhid at a quicker pace.

-- 
Trond.


More information about the freebsd-stable mailing list