From owner-freebsd-net@FreeBSD.ORG Wed Mar 18 20:25:22 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2ECC7761 for ; Wed, 18 Mar 2015 20:25:22 +0000 (UTC) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A62ED66D for ; Wed, 18 Mar 2015 20:25:20 +0000 (UTC) Received: by lbcgn8 with SMTP id gn8so38366530lbc.2 for ; Wed, 18 Mar 2015 13:25:18 -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:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=OEgpZDk9T0x+6QsWSzwvQDo91U8Ee5VYGERlEK8BdiY=; b=RrSNU9zPJjmK6Yq8ntPskvasIsQYT8UD3VGXRNujpRrktXGbKxvu4j85ePRbjzrHf/ Fnqv0uxOkcfOqKWuNwfTvkMfHXv7M4YmJKIBgrQWszKk/2VMmuBPMDqWvOPMtN5qz95u DB+xiAl3jNOA0Zw047qbikSC0VPPTrJ+JKJXzCwkbXecp4+6NzOVZ7PBEQ3mzRcdeUcE RknZ9Y9rRFPTwXbm78qV4jiIDqRWJHHcTS/b+k7NfRUg67lV1orrjrGJfoIOxD7RiE6w IWtsGR8DE3D/IVPFGgyrZzTYMuEjnneGyuqia+vDUncNvMrH8y94Ia272ctzGPi0XaPi e95A== X-Gm-Message-State: ALoCoQnda5rmW1r1ZLuO1LMTnjmWZ4+8oKwLQ0KL3ldv7qYHc1UGfnbcTWKu6+y9fnjCvVgC6swK X-Received: by 10.152.179.42 with SMTP id dd10mr35274701lac.122.1426710318103; Wed, 18 Mar 2015 13:25:18 -0700 (PDT) Received: from kde4.my.domain (pppoe.178-66-76-72.dynamic.avangarddsl.ru. [178.66.76.72]) by mx.google.com with ESMTPSA id ci4sm3576794lad.16.2015.03.18.13.25.16 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Mar 2015 13:25:17 -0700 (PDT) From: Oleg Ginzburg To: Gleb Smirnoff Subject: Re: SIOCSVH, SIOCGVH ioctl(2) and virtio ethernet driver Date: Wed, 18 Mar 2015 23:26:06 +0300 Message-ID: <1500988.Vk4IEs63Dt@kde4.my.domain> User-Agent: KMail/4.14.2 (FreeBSD/11.0-CURRENT; KDE/4.14.2; amd64; ; ) In-Reply-To: <20150317122509.GR17947@glebius.int.ru> References: <36413168.TE9MLvZCzL@kde4.my.domain> <3860521.yJlCc0OyhB@kde4.my.domain> <20150317122509.GR17947@glebius.int.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: Bryan Venteicher , freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 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, 18 Mar 2015 20:25:22 -0000 On Tuesday 17 March 2015 15:25:09 Gleb Smirnoff wrote: > On Mon, Mar 16, 2015 at 02:49:58AM +0300, Oleg Ginzburg wrote: > O> b) On FreeBSD-current r276500M CARP IP is established for some seconds, then vanishes: > In my case on r280167, all works okay, despite the carp_alloc_if warning: > > #/sbin/ifconfig vtnet0 vhid 1 advskew 100 pass navuhodonosor > 192.168.1.210/24 state master alias #dmesg | tail -n 3 > carp_alloc_if: ifpromisc(vtnet0) failed: 45 > carp: 1@vtnet0: INIT -> BACKUP (initialization complete) > carp: 1@vtnet0: BACKUP -> MASTER (master timed out) Yes. On FreeBSD HEAD everything is good now (except carp_alloc_if warning message). Carp removal after seconds in my case was retated toh devd subsystem.