From owner-freebsd-net@FreeBSD.ORG Mon May 4 02:47:35 2009 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 1F3F4106566C; Mon, 4 May 2009 02:47:35 +0000 (UTC) (envelope-from rslaranjo@gmail.com) Received: from mail-qy0-f105.google.com (mail-qy0-f105.google.com [209.85.221.105]) by mx1.freebsd.org (Postfix) with ESMTP id 9C1A88FC08; Mon, 4 May 2009 02:47:34 +0000 (UTC) (envelope-from rslaranjo@gmail.com) Received: by qyk3 with SMTP id 3so6946275qyk.3 for ; Sun, 03 May 2009 19:47:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=5uLrm+zeuviOnzVSuF2cPpgPwr0kxIwMpaq08ydijK4=; b=lepvFbE+7ppXJOt+g/WW1puhk1lpCFUIlqV4Cws48M1/rY5EKMW0kvUqhf28Po8TUL +hCNnuV2SNcpYUDcIuAEt/0YAzjNzTDUxG/WkuLqd0K2xe83zxao1Cr3u18YSWeui9jI Z3RfYmzRu0kVh5B9W84b9dSTcrAyEaJMKUFUw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=WG5zoYpM9VSqAWRyZDPdDrxswYXrcYG6x59XeUpSNwUG1mgT58ZkhoPHspJAaaYPfM VcucBgvvjtN9am1tWAxH9WLNCvI1bnFZd/AbRZlBzp9daqg8wukZbKiGOh7JCrxvu+Jt Uh49DpeRcxKbYt/4tlCyWzdl6Nk8JjVvu7QEI= MIME-Version: 1.0 Received: by 10.220.97.129 with SMTP id l1mr8531595vcn.9.1241405253558; Sun, 03 May 2009 19:47:33 -0700 (PDT) In-Reply-To: <20090504.103743.232652487.hrs@allbsd.org> References: <20090503.081617.15105360.hrs@allbsd.org> <20090504.103743.232652487.hrs@allbsd.org> Date: Mon, 4 May 2009 10:47:33 +0800 Message-ID: From: Rommel Laranjo To: Hiroki Sato Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: Freebsd failed to create routing prefix 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: Mon, 04 May 2009 02:47:35 -0000 Hello Hiroki-san, The box I am using is FreeBSD 7.0-Release: # uname -a FreeBSD freebsd7.example.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 On Mon, May 4, 2009 at 9:37 AM, Hiroki Sato wrote: > Rommel Laranjo wrote > =A0in : > > rs> Yes, my box has two NICs and I have these lines at my rc.conf. > rs> > rs> ipv6_enable=3D"YES" > rs> ipv6_network_interfaces=3D"AUTO" > > =A0Ah, from 7.1R there seems a regression of handling IPv6 link-level > =A0route on a system with multiple NICs and receiving RAs. =A0When one NI= C > =A0received an RA, another NIC's link-level route (i.e. marked as UC > =A0flag in netstat -r) is removed for some reason and it does not work > =A0even if the route is manually added after the removal (btw, you can > =A0add the route by using "route add -inet6 > =A02001:db8:1234:abcd:20c:27ff:fe3d:63dd/64 -interface em0 -cloning > =A0-nostatic"). I tried this, and it add the expected route for the prefix: 2001:db8:1234:abcd::/64 link#1 UC = em0 But when I pinged the router, I still got no success: # ping6 2001:db8:1234:abcd::fff2 PING6(56=3D40+8+8 bytes) 2001:db8:1234:abcd:20c:27ff:fe3d:63dd --> 2001:db8:1234:abcd::fff2 ping6: sendmsg: Invalid argument ping6: wrote 2001:db8:1234:abcd::fff2 16 chars, ret=3D-1 ping6: sendmsg: Invalid argument ping6: wrote 2001:db8:1234:abcd::fff2 16 chars, ret=3D-1 ^C --- 2001:db8:1234:abcd::fff2 ping6 statistics --- 2 packets transmitted, 0 packets received, 100.0% packet loss I also got this logged at the console: nd6_storelladdr: sdl_alen =3D=3D 0 > > =A0Your procedure looks correct to me and it should work on 7.0R, but on > =A0both 7.1R and 7.2R it does not work at least. =A0While I still have no > =A0idea about a workaround to this symptom at this moment, I think it > =A0will be fixed soon in the source tree. Thanks alot, Romskie