From owner-freebsd-net@FreeBSD.ORG Mon Mar 31 18:43:11 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5A06E7FE for ; Mon, 31 Mar 2014 18:43:11 +0000 (UTC) Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E68BB692 for ; Mon, 31 Mar 2014 18:43:09 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id q5so3864131wiv.16 for ; Mon, 31 Mar 2014 11:43:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:content-transfer-encoding :subject:message-id:date:to:mime-version; bh=ZNGmr3JSCNbV3VWCnWAHz0/IvR4J6wiYDWkUCvxAWZc=; b=dOLk9peqB/fEje6DbZb4BmX0jnOUy4xYtKS19Tnpx+Yht2LdFvEugsJpz4SsMAvtZo xGGB9DNmrMNl8s6oNkGSG1TUlEyTEp47lAGPdFM4JCX6QMJwAmcjEi7FkwKZZIRY/oJj xR6S0u3cr1zKV2DM17Ufi5KBSPCTigrV1vmElDPCmTaIvcXSnTHbWZKnMx5NaEJsJMXa iz6aQzYkxfdD1gPj3TDHbh1MB7i4TE4ZThGeUGiVeepHFpRItD+2BPhZY8HMHDTpvd5H dRW55x6CxkDt8d6EG/KG6FUe1GCDWd4n1vGFA002kZTxGeYXupAj2AZuS8s1bGRSFhn2 iXCQ== X-Gm-Message-State: ALoCoQlyscGA4JbiQ4jsTFaC/m7maTO9lr69d/4EqoRKFSxiX4h59DgRIkYhs6fd79ueB7sCKpBV X-Received: by 10.180.101.134 with SMTP id fg6mr14422795wib.6.1396291388171; Mon, 31 Mar 2014 11:43:08 -0700 (PDT) Received: from grey.home.unixconn.com (h-74-23.a183.priv.bahnhof.se. [46.59.74.23]) by mx.google.com with ESMTPSA id a42sm34858454ees.10.2014.03.31.11.43.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 31 Mar 2014 11:43:07 -0700 (PDT) From: mxb Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: FreeBSD 10-STABLE and CARP states Message-Id: Date: Mon, 31 Mar 2014 20:42:39 +0200 To: freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) X-Mailer: Apple Mail (2.1874) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2014 18:43:11 -0000 Hi list, hopefully this is the right place to have my question regarding CARP on = 10-STABLE. I have two nodes with following setup(node1): lagg0: flags=3D8943 = metric 0 mtu 9000 = options=3D8407bb ether 00:25:90:e3:71:f2 inet 172.16.0.234 netmask 0xfffff800 broadcast 172.16.7.255 inet6 fe80::225:90ff:fee3:71f2%lagg0 prefixlen 64 scopeid 0x5 inet 172.16.0.231 netmask 0xfffff800 broadcast 172.16.7.255 vhid = 201 inet 172.16.0.233 netmask 0xfffff800 broadcast 172.16.7.255 vhid = 202 nd6 options=3D29 media: Ethernet autoselect status: active carp: BACKUP vhid 201 advbase 1 advskew 1 carp: BACKUP vhid 202 advbase 5 advskew 100 laggproto lacp lagghash l2,l3,l4 laggport: ix1 flags=3D1c laggport: ix0 flags=3D1c net.inet.carp.preempt=3D1 on both nodes. as well as PSYNC as this: pfsync0: flags=3D41 metric 0 mtu 1500 pfsync: syncdev: vlan22 syncpeer: 10.22.22.2 maxupd: 128 defer: = off The problem is (if it is not clear from the ifconfig-output for the = lagg0) the state of VHID 201. Node2 with advskew of 100 is currently MASTER, but it SHOULD NOT as of = setup. Am I hitting a bug or doing something wrong? I also have noted that after the pfsync bulk update the demotion counter = never setts to 0, but stays on 480, thus preventing node1 become a MASTER 201(?). Or is this a normal = behavior? Regards, mxb