From owner-freebsd-bugs@FreeBSD.ORG Fri May 28 05:30:02 2010 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 9A6F31065678 for ; Fri, 28 May 2010 05:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5D57C8FC18 for ; Fri, 28 May 2010 05:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4S5U29L098870 for ; Fri, 28 May 2010 05:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4S5U2NP098869; Fri, 28 May 2010 05:30:02 GMT (envelope-from gnats) Resent-Date: Fri, 28 May 2010 05:30:02 GMT Resent-Message-Id: <201005280530.o4S5U2NP098869@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, "Vladislav V. Prodan" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BE231065675 for ; Fri, 28 May 2010 05:24:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 5B6058FC1B for ; Fri, 28 May 2010 05:24:03 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o4S5O2Xj077161 for ; Fri, 28 May 2010 05:24:02 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o4S5O2qH077154; Fri, 28 May 2010 05:24:02 GMT (envelope-from nobody) Message-Id: <201005280524.o4S5O2qH077154@www.freebsd.org> Date: Fri, 28 May 2010 05:24:02 GMT From: "Vladislav V. Prodan" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/147155: setfb not work with ipv6 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2010 05:30:02 -0000 >Number: 147155 >Category: kern >Synopsis: setfb not work with ipv6 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 28 05:30:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Vladislav V. Prodan >Release: 9.0-CURRENT amd64 >Organization: >Environment: FreeBSD mary-teresa.XXX.XXX.XXX 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Sun Apr 11 23:26:21 EEST 2010 vlad11@mary-teresa.XXX.XXX.XXX:/usr/obj/usr/src/sys/mary-teresa.22 amd64 >Description: net.my_fibnum: 0 net.add_addr_allfibs: 1 net.fibs: 3 # netstat -rn | grep default default XXX.XXX.XXX.254 UGS 0 37594940 tun1 default 2001:5c0:1400:b::27e8 UGS gif0 # setfib 1 netstat -rn | grep default default 2001:5c0:1400:b::27e8 UGS gif0 # setfib 2 netstat -rn | grep default default 2001:5c0:1400:b::27e8 UGS gif0 # setfib 2 route -n add -inet6 default 2001:470:27:140::1 route: writing to routing socket: File exists add net default: gateway 2001:470:27:140::1: route already in table # setfib 2 route -n change -inet6 default 2001:470:27:140::1 route: writing to routing socket: Address family not supported by protocol family change net default: gateway 2001:470:27:140::1: Address family not supported by protocol family Change routes without setfib # route -n change -inet6 default 2001:470:27:140::1 change net default: gateway 2001:470:27:140::1 # route -n change -inet6 default 2001:5c0:1400:b::27e8 change net default: gateway 2001:5c0:1400:b::27e8 >How-To-Repeat: setfib 2 route -n change -inet6 default >Fix: >Release-Note: >Audit-Trail: >Unformatted: