From owner-freebsd-net@FreeBSD.ORG Wed Oct 20 10:58:31 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C1311065693 for ; Wed, 20 Oct 2010 10:58:31 +0000 (UTC) (envelope-from nr1c0re@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 1201E8FC18 for ; Wed, 20 Oct 2010 10:58:30 +0000 (UTC) Received: by qyk10 with SMTP id 10so1248704qyk.13 for ; Wed, 20 Oct 2010 03:58:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=ImYRfAc5PCTUcvLC9OPrBzsVBI6pvdDo8W/T8hyh0qo=; b=k8Vi8bP6K38pWWpbjg6sx/XZlxxxP9m19K3g9qKLgFv/2nKUG2yeRP3mNyG6CKmZRL fVPystrDIlHR1uFq1spGyM0o5sWVha/gBpIVTyb8BFZEB+EqAZSHBkKSnF1M/ZY8AD8P fbhO1a1HBfR1NpQLFMqTHJ+GCsaPlyG8F5QcU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=EaVSrz7icORmXEdXLFRMbOqO3kMrlscvqxfsAGeIcmeMEZFTK17oXnbjhwe+agMd02 5zMBQxdm89ShLMAMl/JmiXTwuijDypUk0r6ZIFk4vw+4N4Ckb607yv/SfjXt6QFq9QV4 UbW9j3d/bAQ0KUgCcPxIrksTwpbc3MaYY761U= MIME-Version: 1.0 Received: by 10.229.95.73 with SMTP id c9mr6321794qcn.111.1287572309829; Wed, 20 Oct 2010 03:58:29 -0700 (PDT) Received: by 10.229.238.82 with HTTP; Wed, 20 Oct 2010 03:58:29 -0700 (PDT) Date: Wed, 20 Oct 2010 14:58:29 +0400 Message-ID: From: c0re To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: carp and arp_rtrequest: bad gateway 1.1.1.5 (!AF_LINK) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2010 10:58:31 -0000 I got 2 servers with CARP enabled. One is MASTER, second - BACKUP. CARP is for HA of running some service on that servers. All works fine, but today I've got interesting case: Service was not responding for 5 minutes. Can't tell more details because it was said by not IT guy. Okay, I went to check logs on master and backup servers. All was fine except dmesg and messages: Master server has no recored in messages for about 1 hour. But on slave server I saw that: Oct 20 12:15:00 carp-backup kernel: arp_rtrequest: bad gateway 1.1.1.5 (!AF_LINK) Oct 20 12:15:00 carp-backup kernel: arp_rtrequest: bad gateway 1.1.1.6 (!AF_LINK) Oct 20 12:15:00 carp-backup kernel: arp_rtrequest: bad gateway 1.1.1.9 (!AF_LINK) .................. Oct 20 12:49:58 carp-backup kernel: arp_rtrequest: bad gateway 1.1.1.5 (!AF_LINK) Oct 20 12:49:58 carp-backup kernel: arp_rtrequest: bad gateway 1.1.1.6 (!AF_LINK) Oct 20 12:49:58 carp-backup kernel: arp_rtrequest: bad gateway 1.1.1.9 (!AF_LINK) Total about 300 records. Can anyone comment something about it? What was that? Backup server was loosing connectivity with Master server? In sysctl.conf I've got only net.inet.carp.preempt=1.Now I tuned log to net.inet.carp.log=2. This should log carp info messages. Am I right about loosing connectivity between master-backup servers or there can be another reason?