From owner-freebsd-questions@FreeBSD.ORG Thu Jan 7 15:48:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 773381065676 for ; Thu, 7 Jan 2010 15:48:08 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id CCFDF8FC18 for ; Thu, 7 Jan 2010 15:48:07 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.3) with ESMTP id o07FltJP072436; Thu, 7 Jan 2010 15:48:02 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o07FltJP072436 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1262879282; bh=c8FY5IUjem5Fl2cjL051Lu8s6pJo7x8UDBN1V3aqoUA=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B46021F.906@infracaninophile.co.uk>|Date:=20Thu,= 2007=20Jan=202010=2015:47:43=20+0000|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|U ser-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Version: =201.0|To:=20Steve=20Bertrand=20|CC:=20Bogdan=20 Webb=20,=20freebsd-questions@freebsd.org|Subject:=2 0Re:=20FreeBSD=20ipv6=20rc.conf=20settings=20issue|References:=20< c81e6afd1001070059h698fc0d2g629977802276c1b9@mail.gmail.com>=20<4B 45F643.9000809@ibctech.ca>|In-Reply-To:=20<4B45F643.9000809@ibctec h.ca>|X-Enigmail-Version:=200.95.6|Content-Type:=20multipart/signe d=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp- signature"=3B=0D=0A=20boundary=3D"------------enig06EE5238AAF29791 26375BEF"; b=Wve42uFRD2VSGktvQhhy04GjMTeEOM9X1D/ZKSAafj3OmxFCU6QJuOKupdnGG37ki cQsmKBWf4Z0T1wJUZpeA8E5q+z7m70jwvevQHLwbd7iISxZ2nsrl6tI9OdygVYpGVV B1bNiQJfWP7cAOBIYgS3GW751MUNBbe/XK3J9WO8= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B46021F.906@infracaninophile.co.uk> Date: Thu, 07 Jan 2010 15:47:43 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: Steve Bertrand References: <4B45F643.9000809@ibctech.ca> In-Reply-To: <4B45F643.9000809@ibctech.ca> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig06EE5238AAF2979126375BEF" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: Bogdan Webb , freebsd-questions@freebsd.org Subject: Re: FreeBSD ipv6 rc.conf settings issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 15:48:08 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig06EE5238AAF2979126375BEF Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Steve Bertrand wrote: > Bogdan Webb wrote: >> I'm having problems with the /etc/rc.conf setup of a ipv6 tunnel on my= >> FreeBSD 7.2-RELEASE-p6 >> It`s a particular issue on the ipv6_defaultrouter config, it jost does= not >> work... >> Upon network and routing restart ipv6 is enabled the gif interface are= given >> ip's and everything but the defaultrouter does not. >> Researching a bit i found some say that gif1 sould work and tried both= >> ipv6_defaultrouter=3D"-interface gif1" >> and >> ipv6_defaultrouter=3D"2001:0470:1f0a:d40::1" >=20 > This issue is not limited to gif interfaces... >=20 > I've had this exact same problem on ALL of my FreeBSD hosts for, well, > since ever. >=20 > No matter what I've tried, if a box reboots, I must manually enter in > the default IPv6 router. >=20 > Even on IPv6-only hosts, the default gateway does not take upon reboot.= >=20 > I'm up for figuring this issue out today, if nobody else has a solution= > for you. >=20 > Let me know. If you're interested, I'll fire up a couple of hosts that > we can use and just continuously reboot if necessary :) Funny. My IPv6 config works like a charm, on both 7.2-STABLE and 8.0-STABLE. Related config settings look like this: gif_interfaces=3D"gif0" gifconfig_gif0=3D"81.187.76.162 81.187.81.6" ipv6_ifconfig_gif0=3D"2001:08b0:0151:0001::1/64" ipv6_prefix_de0=3D"2001:08b0:0151:0001" ipv6_enable=3D"YES" ipv6_defaultrouter=3D"-interface gif0" ipv6_default_interface=3D"gif0" ipv6_gateway_enable=3D"YES" rtadvd_enable=3D"YES" rtadvd_interfaces=3D"de0" This causes my machine to autoconfigure an IPv6 address on the ethernet i/f, plus provide rtadvd service to anything else wanting IPv6 connectivi= ty on my home LAN. IPv6 traffic from the home LAN is routed via the tunnel = to the IPv6 tunnel handler provided by my ISP, but the only reason I need to= do that is because IPv6 aware consumer broadband routers are kind of hard to= obtain. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig06EE5238AAF2979126375BEF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAktGAisACgkQ8Mjk52CukIxBUACfVGwsb4LPJqHzuytoBfoLhHZX 1JwAn1ygJJh4+d05KGWuLeod8CEywNpV =lA2N -----END PGP SIGNATURE----- --------------enig06EE5238AAF2979126375BEF--