From owner-freebsd-net@FreeBSD.ORG Tue Jun 5 16:23:04 2012 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 03CBE106564A for ; Tue, 5 Jun 2012 16:23:04 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 874DA8FC0A for ; Tue, 5 Jun 2012 16:23:03 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id AEC11E643B for ; Tue, 5 Jun 2012 17:23:43 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=message-id :date:from:mime-version:to:subject:content-type :content-transfer-encoding; s=mail; bh=Y+AqajqzCLeH06bXkegan+G7S b8=; b=K0bjRweOULgzcab+Bedjn3l4kpBHN19zD27fGBbCe40VEldHpEZs5F9h1 P6cmZ25s0346doDuCTVMHG/MaqfEr08OTivZxoFq5xOmaxBKnFAfnruIExHLb/bV qHqLrQ7QeTJKBlnw3XpqIT+i5iUpBqGCGz96/dpOS3Yt6LmfH8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=message-id :date:from:mime-version:to:subject:content-type :content-transfer-encoding; q=dns; s=mail; b=ISKje7l8S3vKFzW04rh KlL91oht0U0Cj4gfsYsSsy7fa5MdEEXN7XrAk9bPSqCiz1YRJdrsgFN55jBHOgz7 H/ao0VMJZa4Pd4/snP55QR0Gdw8IafQt+MaS8n+28aEPThq+iqn2HXyP68JyMAr8 SNe7GyoAaux5hhzxgMKrxPjI= Received: from [192.168.2.11] (unknown [93.89.81.205]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 954ADE643A for ; Tue, 5 Jun 2012 17:23:43 +0100 (BST) Message-ID: <4FCE3265.9080804@cran.org.uk> Date: Tue, 05 Jun 2012 17:23:01 +0100 From: Bruce Cran User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Configuration problem with IPv6 router ("cannot forward src") 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, 05 Jun 2012 16:23:04 -0000 I'm trying to set up a IPv6 router (running -current) on my home network. My ISP gives me a /128 via PPP and I have a /48 allocation, which I use to give em0 and tun0 public addresses in different subnets (tun0 is assigned the address via ppp.linkup). I've added all the IPv6 settings to rc.conf (ipv6_gateway_enable, ipv6_network_interfaces, rtadvd_enable etc.) and I can ping IPv6 sites from the router. The problem is that rtadvd continues advertising the default gateway as tun0's link-local address - and pinging from a machine on the network results in "cannot forward src" messages on the router (strangely, despite hisaddr being fe80::205:... in ppp.log, the kernel logs the address as fe80:f::205:...). Is there some extra configuration I've likely missed that's needed when using IPv6 via PPP? -- Bruce Cran