https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229384

            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: b...@freebsd.org
          Reporter: veg...@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, they
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 routers
which at this moment might cause them to go MASTER/MASTER conflict. It would be
really useful to have this behaviour tunable.

I am unsure if the bug happens also on 11.2.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to