From owner-freebsd-hackers@FreeBSD.ORG Fri May 28 19:37:06 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF806106564A; Fri, 28 May 2010 19:37:06 +0000 (UTC) (envelope-from julian@elischer.org) Received: from out-0.mx.aerioconnect.net (outs.internet-mail-service.net [216.240.47.242]) by mx1.freebsd.org (Postfix) with ESMTP id 9EE5D8FC1D; Fri, 28 May 2010 19:37:06 +0000 (UTC) Received: from idiom.com (postfix@mx0.idiom.com [216.240.32.160]) by out-0.mx.aerioconnect.net (8.13.8/8.13.8) with ESMTP id o4SJb4YN024744; Fri, 28 May 2010 12:37:04 -0700 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (h-67-100-89-137.snfccasy.static.covad.net [67.100.89.137]) by idiom.com (Postfix) with ESMTP id AA8F02D6013; Fri, 28 May 2010 12:37:03 -0700 (PDT) Message-ID: <4C001B6A.8070506@elischer.org> Date: Fri, 28 May 2010 12:37:14 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: "Vladislav V. Prodan" References: <4BFF4F8D.7040504@ukr.net> In-Reply-To: <4BFF4F8D.7040504@ukr.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 216.240.47.51 Cc: freebsd-hackers@freebsd.org, net@freebsd.org Subject: Re: setfb not work with ipv6 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2010 19:37:06 -0000 On 5/27/10 10:07 PM, Vladislav V. Prodan wrote: > 9.0-CURRENT #0: Sun Apr 11 23:26:21 EEST 2010 amd64 > 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 > you are correct. IPV6 does not yet support multiple FIBS. the work is straight forward. basically teh same as done in IPV4 but as I have no IPV6 facility or experience I am reticent to start it without an IPV6 'partner'. > # 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 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 > > 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 > > Open PR? > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"