From owner-freebsd-net@FreeBSD.ORG Tue Mar 22 17:25:23 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 482A7106564A for ; Tue, 22 Mar 2011 17:25:23 +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 0149D8FC08 for ; Tue, 22 Mar 2011 17:25:22 +0000 (UTC) Received: by vxc34 with SMTP id 34so6564839vxc.13 for ; Tue, 22 Mar 2011 10:25:22 -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:cc:content-type :content-transfer-encoding; bh=KbPX5lUGtAtjkSIarNabFkhdYRYO3fc9b5Ehft0QiXg=; b=PUU5+wmyhpVQaVkBq8EIStriA+LwlH8YCNnE/IVoibwK6KLyVhWC2XS3xWqoJbdx7H 5LBMf9ace/vMYCs/RZRM+72yL9UXAW2dzL8WeZgdqLvVyH/WLs8DF2dkvnKvM6piRyhv yq2rupGiHfm2W5gbCxPx0nKdunNQLuFKury4Q= 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 :cc:content-type:content-transfer-encoding; b=BxG933SkP5S9qYVsBzSXtUups2eahfuIWOpBVaGtds/F46fWVHxIJUGa4oFnYtGuzq yN6dGGWT2OzWFbClGhRnx8DSF9aO4R9FqS/veJewgb3n83s/NtwcZzjEfKStH7ms3OtF B9V2UD78N30+O+3og7akActC0DrdqSIxsDvWQ= MIME-Version: 1.0 Received: by 10.52.177.233 with SMTP id ct9mr4413879vdc.110.1300814722059; Tue, 22 Mar 2011 10:25:22 -0700 (PDT) Received: by 10.220.81.71 with HTTP; Tue, 22 Mar 2011 10:25:21 -0700 (PDT) In-Reply-To: References: Date: Tue, 22 Mar 2011 17:25:21 +0000 Message-ID: From: Matt Smith To: Hajimu UMEMOTO Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org 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, 22 Mar 2011 17:25:23 -0000 On 22 March 2011 17:16, Hajimu UMEMOTO wrote: > It's Rule 3 of RFC 3484 which avoids deprecated addresses. > If this solves your problem, you can do it by the following command: > > =A0 =A0 =A0 =A0ifconfig gif0 inet6 deprecated > > Please note that you don't need to set net.inet6.ip6.use_deprecated to > 0 for this purpose. root@tao[~]# ifconfig gif0 inet6 2a01:348:6:45c::2 deprecated root@tao[~]# ping6 ipv6.google.com PING6(56=3D40+8+8 bytes) 2a01:348:294::1 --> 2a00:1450:8002::93 Perfect! That does exactly what I wanted. Traffic is sourced from the other IP address now. Thank you for this. I was about to try and apply the patch that you posted but this does the trick. Regards, Matt.