On Tue, Dec 06, 2016 at 01:48:27PM +0100, Rafał Błaszczyk wrote:
> One of CARP interfaces stopped responding on ARP requests on CARP IP - it's
> carp1
> 
> running on physical dev vio1 which is also running pfsync on top.

> What I've already checked:
> 
> - ifconfig down and up on carp1 does not help

Does 'ifconfig vio1 down' followed by 'ifconfig vio1 up' restore ARP?

This is likely the CARP/ARP regression recently fixed in -current which
is fixed by the following patch.
See http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/net/route.c
revisions 1.337 and 1.341.

Index: route.c
===================================================================
RCS file: /cvs/src/sys/net/route.c,v
retrieving revision 1.313
diff -u -p -r1.313 route.c
--- route.c     22 Jul 2016 11:03:30 -0000      1.313
+++ route.c     6 Dec 2016 13:04:00 -0000
@@ -1256,7 +1256,7 @@ rt_ifa_add(struct ifaddr *ifa, int flags
                prio = RTP_LOCAL;
 
        if (flags & RTF_CONNECTED)
-               prio = RTP_CONNECTED;
+               prio = ifp->if_priority + RTP_CONNECTED;
 
        error = rtrequest(RTM_ADD, &info, prio, &rt, rtableid);
        if (error == 0) {
@@ -1316,7 +1316,7 @@ rt_ifa_del(struct ifaddr *ifa, int flags
                prio = RTP_LOCAL;
 
        if (flags & RTF_CONNECTED)
-               prio = RTP_CONNECTED;
+               prio = ifp->if_priority + RTP_CONNECTED;
 
        error = rtrequest_delete(&info, prio, ifp, &rt, rtableid);
        if (error == 0) {

Reply via email to