From owner-freebsd-stable@FreeBSD.ORG Sat Jan 17 13:12:55 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D844106564A; Sat, 17 Jan 2009 13:12:55 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 12C468FC14; Sat, 17 Jan 2009 13:12:54 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 4F9C741C650; Sat, 17 Jan 2009 13:55:06 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id YZaEfIrl7nAu; Sat, 17 Jan 2009 13:55:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id ADE7041C64C; Sat, 17 Jan 2009 13:55:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 237594448D5; Sat, 17 Jan 2009 12:50:51 +0000 (UTC) Date: Sat, 17 Jan 2009 12:50:50 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Hiroki Sato In-Reply-To: <20090112.042014.205677175.hrs@allbsd.org> Message-ID: <20090117124940.D45399@maildrop.int.zabbadoz.net> References: <20090112.042014.205677175.hrs@allbsd.org> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: stable@FreeBSD.org Subject: Re: IPv6 routing on 7.1R X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jan 2009 13:12:55 -0000 On Mon, 12 Jan 2009, Hiroki Sato wrote: Hi, > I noticed an odd behavior regarding IPv6 after upgrading my 7.0R box > to 7.1R. The situation and symptom are the following: > > 1. The box has two NICs. One has an address 2001:0db8:1::1/64 (NIC > A), and another has 2001:0db8:2::1/64 (NIC B). These addresses > are assigned manually ($ipv6_ifconfig in rc.conf). > > 2. RA is periodically sent to the network 2001:0db8:1::1/64 (NIC A) > by a router on the subnet. The RA includes a source link-layer > address option only. > > When setting net.inet6.ip6.accept_rtadv=1 in this configuration, I > expected the box assigns an autoconf IPv6 address (prefix > 2001:0db8:1::/64 + EUI64) to NIC A and an default route based on > source link-layer address in the RA packet. Actually, these two were > done as expected. However, after addresses are assigned, routes for > NIC B disappeared from the routing table. More specifically, a > cloning route "2001:0db8:2::1/64 -> link#2" was removed for some > reason. > > Is this an expected behavior? I don't think so. Can you file a PR and get it assigned to bz@ and I'll look in two weeks or so once I am fully back. /bz -- Bjoern A. Zeeb The greatest risk is not taking one.