From owner-freebsd-net@FreeBSD.ORG Wed Oct 31 10:43:47 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 28E822B5; Wed, 31 Oct 2012 10:43:47 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7EC778FC0A; Wed, 31 Oct 2012 10:43:46 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so604751bkc.13 for ; Wed, 31 Oct 2012 03:43:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=EPRCO4c9dM0aPCxF9hNj2CHEF2QWA1PW9SOE8XscW7k=; b=Lm+5MrFIGf8xcwokwBpT3KR5tYk2gaPekc5peCw69lJsGfOwVf0x/XS+O01hGeaow8 W34xtesVLhEY2SmKl5LJay9/wn6VCjMx8QtReD/QNNaK4GoT32DVJDQ51N/Du3NnGREh WWzXb66kdy+fT548t8pKF3vwAUFAZlqwDnuHRqJhoKOviWjbB3AjL/jpACKztXcMQKTI njal8bS8SrI9pMQ/y6T4HSFyEDwizmsKehtFjG/XsM7vFf+DtdEQhWz6WXZUzqB0GHAu o13EJoonw6qtnZWWPcL347WfAWrpIV/E5lCBs4x8Qb/YEEsAJOe2Ha+2ioJLWE3uVDyX 9oTA== MIME-Version: 1.0 Received: by 10.205.127.146 with SMTP id ha18mr11396597bkc.130.1351680225454; Wed, 31 Oct 2012 03:43:45 -0700 (PDT) Sender: ermal.luci@gmail.com Received: by 10.204.143.148 with HTTP; Wed, 31 Oct 2012 03:43:45 -0700 (PDT) In-Reply-To: <20121031095642.GN70741@FreeBSD.org> References: <5090E884.4090901@itmh.ru> <20121031095642.GN70741@FreeBSD.org> Date: Wed, 31 Oct 2012 11:43:45 +0100 X-Google-Sender-Auth: LDCa7SMG8e8MNVw0YD_tqpA3ky4 Message-ID: Subject: Re: IPv6 aliases don't work on carp interface From: =?ISO-8859-1?Q?Ermal_Lu=E7i?= To: Gleb Smirnoff Content-Type: text/plain; charset=ISO-8859-1 Cc: "tsaregorodtsev.denis@itmh.ru" , freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 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, 31 Oct 2012 10:43:47 -0000 On Wed, Oct 31, 2012 at 10:56 AM, Gleb Smirnoff wrote: > Denis, > > On Wed, Oct 31, 2012 at 02:59:48PM +0600, tsaregorodtsev.denis@itmh.ru wrote: > t> I've run into a problem while adding IPv6 aliases on carp interface on FreeBSD 8.1. > t> All IPv6 aliases on carp interface are unreachable from other devices but the first IPv6 on carp interface works well. > t> > t> # ifconfig > t> em0: flags=8943 metric 0 mtu 1500 > t> options=9b > t> ether 00:50:56:ad:00:5f > t> inet 172.16.249 netmask 0xffffff00 broadcast 255.255.255.224 > t> inet6 2001:db8:af:ff01:1:be60:80:700 prefixlen 64 > t> nd6 options=3 > t> media: Ethernet autoselect (1000baseT ) > t> status: active > t> ipfw0: flags=8801 metric 0 mtu 65536 > t> lo0: flags=8049 metric 0 mtu 16384 > t> options=3 > t> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > t> inet6 ::1 prefixlen 128 > t> inet 127.0.0.1 netmask 0xff000000 > t> nd6 options=3 > t> carp0: flags=49 metric 0 mtu 1500 > t> inet6 2001:db8:af:ff01:1:be60:80:70f prefixlen 128 > t> inet6 2001:db8:af:ff01:1:be60:80:70e prefixlen 128 > t> nd6 options=3 > t> carp: MASTER vhid 250 advbase 1 advskew 0 > t> > t> # ping6 2001:db8:af:ff01:1:be60:80:70f > t> PING 2001:db8:af:ff01:1:be60:80:70f(2001:db8:af:ff01:1:be60:80:70f) 56 data bytes > t> 64 bytes from 2001:db8:af:ff01:1:be60:80:70f: icmp_seq=1 ttl=59 time=0.793 ms > t> 64 bytes from 2001:db8:af:ff01:1:be60:80:70f: icmp_seq=2 ttl=59 time=0.837 ms > t> > t> # ping6 2001:db8:af:ff01:1:be60:80:70e > t> PING 2001:db8:af:ff01:1:be60:80:70e(2001:db8:af:ff01:1:be60:80:70e) 56 data bytes From 2001:db8:af:ff00::1 icmp_seq=1 Destination unreachable: Address unreachable From 2001:db8:af:ff00::1 icmp_seq=4 Destination unreachable: Address unreachable > t> > t> If I delete both IPs and add inet6 2001:db8:af:ff01:1:be60:80:70e before inet6 2001:db8:af:ff01:1:be60:80:70f then 2001:db8:af:ff01:1:be60:80:70e does work and 2001:db8:af:ff01:1:be60:80:70f does not. > t> > t> I googled this issue and found a patchhttp://lists.freebsd.org/pipermail/freebsd-net/2011-August/029619.html > t> I've tried to apply it but the problem still exists. I've tested this issue on FreeBSD9.1 RC2 as well and there was the same problem. > > This should work on 10-CURRENT, where the carp(4) had been significantly rewritten. > Just to correct the marketing! You have change the interface of carp(4) with the operation system interaction but not re-written carp(4). To me these are different things. > -- > Totus tuus, Glebius. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -- Ermal