From owner-freebsd-net@FreeBSD.ORG Tue Mar 15 15:34:56 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41445106564A for ; Tue, 15 Mar 2011 15:34:56 +0000 (UTC) (envelope-from matt.xtaz@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 01A5C8FC18 for ; Tue, 15 Mar 2011 15:34:55 +0000 (UTC) Received: by vxc34 with SMTP id 34so740519vxc.13 for ; Tue, 15 Mar 2011 08:34:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=hFJtkrdcIDqVcu4RNKqqE9sSkQT87owRY/2CF3SqFt8=; b=fGAP57dUs3HgaHO1dI7q4OfOHJH4ObmZ5weGtRRBfKtt4tqpUU+wOBNbFGP+NOQP0R aKYiCMDEiVEBU+zebQm05D+cZqSEP2+bxKsUOeTkdSj1Fgn9jgVZWVCVYX6nNtu/2gMF 3nTfy9YdwKgPGX9VEouJBpXS6km8m7DDFfRyk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=tnrxrMbRD9iObz2VNBBFcWwu6E+ZhVxH7O4i6VMYzqFBrWXVNhpNnbGxPOIUmLQqVI ROhEP3cGusJHCpfBiS/ErT5EtFqYb5d/Qu/ByxteYn7cQodc+Wj4QeVxpUJF9ZXGM1bE 4gtTBic3kHIB3sy2OcNF+wVQM0Coq66rlnNtM= MIME-Version: 1.0 Received: by 10.220.102.134 with SMTP id g6mr3826956vco.25.1300199840061; Tue, 15 Mar 2011 07:37:20 -0700 (PDT) Received: by 10.220.81.71 with HTTP; Tue, 15 Mar 2011 07:37:20 -0700 (PDT) In-Reply-To: References: Date: Tue, 15 Mar 2011 14:37:20 +0000 Message-ID: From: Matt Smith To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: IPv6 policy based source routing X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Mar 2011 15:34:56 -0000 On 15 March 2011 11:39, Matt Smith wrote: > > Hi, I have a question about source routing I hope you can help me with. I have been doing some more research into this and it appears the proper way to accomplish what I want is to set net.inet6.ip6.use_deprecated to 0 and then deprecate the IPv6 address on the gif0 interface by setting the preferred lifetime to zero. This apparently makes the source address selection algorithm choose the alternative address on vr0. I can do the first part but I can't figure out how to do the second part. Any ideas surrounding this? The windows command to do this is: "netsh interface ipv6 set address IP6Tunnel preferredlifetime=0s" so I need a FreeBSD equivalent of this command. Does such a thing exist? I've had a quick search through the ifconfig man page etc but nothing jumps out at me. Regards, Matt.