From owner-freebsd-bugs Mon Oct 21 12:10: 5 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E304737B401 for ; Mon, 21 Oct 2002 12:10:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25D2643E6A for ; Mon, 21 Oct 2002 12:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9LJA1x3082836 for ; Mon, 21 Oct 2002 12:10:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9LJA1WV082834; Mon, 21 Oct 2002 12:10:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FB6F37B49D for ; Mon, 21 Oct 2002 12:01:25 -0700 (PDT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id B613B43E6A for ; Mon, 21 Oct 2002 12:01:24 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g9LJ1O7R006868 for ; Mon, 21 Oct 2002 12:01:24 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.6/8.12.6/Submit) id g9LJ1ObS006867; Mon, 21 Oct 2002 12:01:24 -0700 (PDT) Message-Id: <200210211901.g9LJ1ObS006867@www.freebsd.org> Date: Mon, 21 Oct 2002 12:01:24 -0700 (PDT) From: "Dmitry Y. Bordakov" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/44355: After deletion of an IPv6 alias, the route to the whole subnet is removed too. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 44355 >Category: kern >Synopsis: After deletion of an IPv6 alias, the route to the whole subnet is removed too. >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 21 12:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Dmitry Y. Bordakov >Release: 4.4-RELEASE >Organization: Agilent Technologies, Inc. >Environment: FreeBSD qar1 4.4-RELEASE FreeBSD 4.4-RELEASE #14: Fri Oct 11 19:55:37 GMT 2002 root@qar1:/usr/src/sys/compile/QAR44GENERIC.znb i386 >Description: You configured several IPv6 aliases in one subnet (with the same prefix) on one network interface, for example, 3ffe::1, 3ffe::2, 3ffe::3, etc, all on fxp0. During the first alias configuration, the network stack automatically configured an appropriate route to the network, in our example, 3ffe::/64 -> link#1 . Deletion of one of the aliases causes deletion of the route and, therefore, unreachability of the remote addresses in the same subnet, for example, ping6 3ffe::123 returns "No route to host". >How-To-Repeat: ifconfig lo0 inet6 add 3ffe::1 ifconfig lo0 inet6 add 3ffe::2 netstat -nr | grep lo0 ... 3ffe::/64 fe80::1%lo0 Uc lo0 3ffe::1 link#2 UHL lo0 3ffe::2 link#2 UHL lo0 ... ifconfig lo0 inet6 delete 3ffe::1 netstat -nr | grep lo0 ... 3ffe::2 link#2 UHL lo0 ... >Fix: begin 644 in6.c.diff M+2TM(&EN-BYC+BXP;W)I9VEN86P)5V5D($]C="`@.2`R,3HT,SHS-"`R,#`R M#0HK*RL@:6XV+F,)5&AU($]C="`Q,"`R,3HU,#HQ-B`R,#`R#0I`0"`M-CDS M+#8@*S8Y,RPX($!`#0H@"0D)"0D)("`@(&4I.PT*(`D)"0D)?0T*(`D)"0E] M#0HK"0D)?65L&QI"X-"B`)"2`J M+PT*+0D):68@*"AP'!I%]L M;V]K=7`H)G!R,"DI("$]($Y53$P@*7L-"BL-"BL)"0EI9B@@*"AI82T^:6$V M7V9L86=S("8@24XV7TE&1E]!551/0T].1BD@/3T@,"D@)B8-"BL)"0D@("`@ M*'!R+3YN9'!R7W)E9F-N="`^(#`I("D@+2UP'!I"H@<'([ M#0H@"6EN="!I+"!E"!I%]L;V]K=7`H M)G!R,"DI(#T]($Y53$P@*7L-"BL)"6EF("@H97)R;W(@/2!N9#9?<')E;&ES M=%]A9&0H)G!R,"P@3E5,3"P@)G!R*2D@(3T@,"D-"B`)"0ER971URelease-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message