From owner-freebsd-bugs@FreeBSD.ORG Sun Jun 14 23:10:01 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 390CB1065674 for ; Sun, 14 Jun 2009 23:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 136B98FC1B for ; Sun, 14 Jun 2009 23:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5ENA0YZ079085 for ; Sun, 14 Jun 2009 23:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5ENA0ID079084; Sun, 14 Jun 2009 23:10:00 GMT (envelope-from gnats) Resent-Date: Sun, 14 Jun 2009 23:10:00 GMT Resent-Message-Id: <200906142310.n5ENA0ID079084@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hiroki Sato Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A84681065670 for ; Sun, 14 Jun 2009 23:07:47 +0000 (UTC) (envelope-from hrs@alph.d.allbsd.org) Received: from alph.d.allbsd.org (p3185-ipbf514funabasi.chiba.ocn.ne.jp [123.225.96.185]) by mx1.freebsd.org (Postfix) with ESMTP id 5DC798FC12 for ; Sun, 14 Jun 2009 23:07:46 +0000 (UTC) (envelope-from hrs@alph.d.allbsd.org) Received: from alph.d.allbsd.org (localhost [127.0.0.1]) by alph.d.allbsd.org (8.14.3/8.14.2) with ESMTP id n5EN7j1r018000 for ; Mon, 15 Jun 2009 08:07:45 +0900 (JST) (envelope-from hrs@alph.d.allbsd.org) Received: (from hrs@localhost) by alph.d.allbsd.org (8.14.3/8.14.2/Submit) id n5EN7jKX017999; Mon, 15 Jun 2009 08:07:45 +0900 (JST) (envelope-from hrs) Message-Id: <200906142307.n5EN7jKX017999@alph.d.allbsd.org> Date: Mon, 15 Jun 2009 08:07:45 +0900 (JST) From: Hiroki Sato To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/135585: [ip6] net.inet6.ip6.accept_rtadv=1 removes a cloning route X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hiroki Sato List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2009 23:10:01 -0000 >Number: 135585 >Category: kern >Synopsis: [ip6] net.inet6.ip6.accept_rtadv=1 removes a cloning route >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 14 23:10:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Hiroki Sato >Release: FreeBSD 7.2-STABLE i386 >Organization: Tokyo University of Science >Environment: System: FreeBSD phaleano.allbsd.org 7.2-STABLE FreeBSD 7.2-STABLE #20: Sun Jun 14 02:30:28 JST 2009 hrs@phaleano.allbsd.org:/usr/obj/usr/src/sys/PHALEANO i386 >Description: Behavior of net.int6.ip6.accept_rtadv=1 is odd on 7.1R and later. The environment 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). Each NIC has a link-local address since $ipv6_enable="YES" 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 the autoconf address and default route 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. >How-To-Repeat: Enable net.inet6.ip6.accept_rtadv=1 on a box with two NICs. 7.0R works fine, but 7.1R and 7.2R remove cloning route of a NIC which did not receive RA unconditionally. >Fix: No idea. >Release-Note: >Audit-Trail: >Unformatted: