From owner-freebsd-stable@FreeBSD.ORG Tue Aug 28 01:23:27 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 26520106566B; Tue, 28 Aug 2012 01:23:27 +0000 (UTC) (envelope-from marka@isc.org) Received: from mx.pao1.isc.org (mx.pao1.isc.org [IPv6:2001:4f8:0:2::2b]) by mx1.freebsd.org (Postfix) with ESMTP id EF68B8FC0A; Tue, 28 Aug 2012 01:23:26 +0000 (UTC) Received: from bikeshed.isc.org (bikeshed.isc.org [IPv6:2001:4f8:3:d::19]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mail.isc.org", Issuer "RapidSSL CA" (not verified)) by mx.pao1.isc.org (Postfix) with ESMTPS id 14F47C9508; Tue, 28 Aug 2012 01:23:25 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (unknown [IPv6:2001:470:1f00:820:6cc7:25d4:d972:8f06]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bikeshed.isc.org (Postfix) with ESMTPSA id C5625216C6B; Tue, 28 Aug 2012 01:23:24 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (Postfix) with ESMTP id 8EBFE24416C4; Tue, 28 Aug 2012 11:23:22 +1000 (EST) To: Doug Barton From: Mark Andrews References: <503BA51E.4030103@libeljournal.com> <503BB721.9000108@borderworlds.dk> <503BC497.3060206@libeljournal.com> <503BCA0A.1020904@borderworlds.dk> <503BCB0A.6000702@FreeBSD.org> In-reply-to: Your message of "Mon, 27 Aug 2012 12:31:22 MST." <503BCB0A.6000702@FreeBSD.org> Date: Tue, 28 Aug 2012 11:23:22 +1000 Message-Id: <20120828012322.8EBFE24416C4@drugs.dv.isc.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mx.pao1.isc.org Cc: freebsd-stable@freebsd.org, Christian Laursen Subject: Re: IPv6 default route. Can't see the wood for the trees. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Aug 2012 01:23:27 -0000 In message <503BCB0A.6000702@FreeBSD.org>, Doug Barton writes: > On 8/27/2012 12:27 PM, Christian Laursen wrote: > > On 08/27/12 21:03, John Hawkes-Reed wrote: > >> On 27/08/2012 19:06, Christian Laursen wrote: > >>> On 08/27/12 18:49, John Hawkes-Reed wrote: > >>>> rc.conf: > >>>> > >>>> (I'm not convinced that obfuscating the addresses is worth the > >>>> confusion) > >>>> > >>>> ipv6_gateway_enable="YES" > >>>> ip6addrctl_verbose="YES" > >>>> rtadvd_enable="YES" > >>>> rtadvd_interfaces="rl0" > >>>> ipv6_cpe_wanif="pcn0" > >>>> ipv6_defaultrouter="2001:470:1f0a:b5a::1" > >>>> gif_interfaces="gif0" > >>>> gifconfig_gif0="192.168.1.100 216.66.80.30" > >>>> ifconfig_gif0_ipv6="inet6 2001:470:1f0a:b5a::2 2001:470:1f0a:b5a::1 > >>>> prefixlen 128" > >>>> ifconfig_pcn0_ipv6="inet6 2001:470:1f0b:b5a::4 prefixlen 64" > >>>> ifconfig_rl0_ipv6="inet6 2001:470:1f0b:b5a::3 prefixlen 64 > >>>> -accept_rtadv" > >>> > >>> It looks like you are trying to use the /64 used for your tunnel on the > >>> inside network. That's probably what causes the problem. > >>> > >>> You should use the "Routed /64" on the inside. If you need more than one > >>> /64, you can request a /48. > >> > >> I think I am. The endpoints are ...:1f0A: and the /64 is ...:1f0B: > > > > Sorry, my bad. > > > > Are pcn0 and rl0 both connected to internal networks? > > > > Having the same /64 configured on both is probably bad. > > Why would it be? Unless you bridge the two interface, yes. Which interface do you start ND on? For the OP, here is my ipv6 configuration. tx0 is the internal net and is running with ULA as well as the /64 from HE. sis0 is the external cable connection. gif0 is the tunneled connection back to HE. sft0 sends 6to4 reply traffic directly it is out bound only. % ifconfig -a inet6 tx0: flags=28943 mtu 1500 inet6 fe80::2e0:29ff:fe19:c02d%tx0 prefixlen 64 scopeid 0x1 inet6 2001:470:1f00:820:2e0:29ff:fe19:c02d prefixlen 64 inet6 2001:470:1f00:820:: prefixlen 64 anycast inet6 fd92:7065:b8e:0:2e0:29ff:fe19:c02d prefixlen 64 inet6 fd92:7065:b8e:: prefixlen 64 anycast sis0: flags=8843 mtu 1500 inet6 fe80::209:5bff:fe1e:e13e%sis0 prefixlen 64 scopeid 0x2 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 gif0: flags=8051 mtu 1280 tunnel inet 211.30.172.21 --> 64.71.128.82 inet6 fe80::2e0:29ff:fe19:c02d%gif0 prefixlen 64 scopeid 0x8 inet6 2001:470:1f00:ffff::5a1 --> 2001:470:1f00:ffff::5a0 prefixlen 128 stf0: flags=1001 mtu 1280 inet6 2002:d31e:ac15:: prefixlen 16 anycast % -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: marka@isc.org