Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2018 10:07:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 229384] Can't remove address from carp
Message-ID:  <bug-229384-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229384

            Bug ID: 229384
           Summary: Can't remove address from carp
           Product: Base System
           Version: 11.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: vegeta@tuxpowered.net

I have systems running FreeBSD 11.1 where I noticed that carp goes MASTER on
both routers. Those systems get their carp addresses changed very often, th=
ey
are Load Balancers used in testing environment where multiple changes happen
every minute or so.

A few times I've seen both routers on MASTER state with same IP addresses
configured, or at least shown in ifconfig. Today I've seen ifconfig clearly
showing different IP addresses. Router 2 shows more of them than Router 1. =
When
trying to add missing IP addresses to Rotuer 1 I got this error:

# sudo ifconfig internal4021 inet6 2a00:X::1407/128 alias vhid 211
ifconfig: ioctl (SIOCAIFADDR): File exists

Let's try to remove it then:
# sudo ifconfig internal4021 inet6 2a00:X::1407/128 -alias vhid 211
ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address

I'm also wondering if we really need carps to compare configured addresses.=
 In
scenarios where routers are reconfigured often by some external tool there =
is a
chance for a short period of config being different on master and slave rou=
ters
which at this moment might cause them to go MASTER/MASTER conflict. It woul=
d be
really useful to have this behaviour tunable.

I am unsure if the bug happens also on 11.2.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229384-227>