From owner-freebsd-questions@FreeBSD.ORG Sat Jan 9 10:56:46 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 054D41065679 for ; Sat, 9 Jan 2010 10:56:46 +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 21ADD8FC28 for ; Sat, 9 Jan 2010 10:56:44 +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 o09AubCa002071; Sat, 9 Jan 2010 10:56:39 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o09AubCa002071 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1263034600; bh=AHIjzJbjm3kA0PzEvX1GFF4FHc+QUXq4f0vfgChq3gA=; 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<4B4860DF.2010904@infracaninophile.co.uk>|Date:=20S at,=2009=20Jan=202010=2010:56:31=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20Gary=20Kline=20|CC:=20Steve=20 Bertrand=20,=20Bogdan=20Webb=20,= 20=0D=0A=20freebsd-questions@freebsd.org|Subject:=20Re:=20FreeBSD= 20ipv6=20rc.conf=20settings=20issue|References:=20=20<4B45F643.9000809@ ibctech.ca>=20<4B46021F.906@infracaninophile.co.uk>=20<4B4604CF.20 40404@ibctech.ca>=20<4B460815.1040306@infracaninophile.co.uk>=20<4 B4614C6.8090601@ibctech.ca>=20<20100109074715.GC83472@thought.org> |In-Reply-To:=20<20100109074715.GC83472@thought.org>|X-Enigmail-Ve rsion:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp -sha256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A =20boundary=3D"------------enig37E1F44CDDD50C13C6135997"; b=euTnAVYOIIzE05QJkIkUJILTLiLON4fuJzHcF8fzousGoEniHogonJ3+6zfy+3C47 6/qj9ES0tPYOy/XedvJW0hnJikRYuDu7fM0VLzWe0CuQ66nbaMKXP0VTxyEP+6gH1Z CuvgisrYzcsnNDm4nfvqwgggGwrhHSjKyab3yyTM= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B4860DF.2010904@infracaninophile.co.uk> Date: Sat, 09 Jan 2010 10:56:31 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: Gary Kline References: <4B45F643.9000809@ibctech.ca> <4B46021F.906@infracaninophile.co.uk> <4B4604CF.2040404@ibctech.ca> <4B460815.1040306@infracaninophile.co.uk> <4B4614C6.8090601@ibctech.ca> <20100109074715.GC83472@thought.org> In-Reply-To: <20100109074715.GC83472@thought.org> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig37E1F44CDDD50C13C6135997" 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.9 required=5.0 tests=AWL,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 , Steve Bertrand , 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: Sat, 09 Jan 2010 10:56:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig37E1F44CDDD50C13C6135997 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Gary Kline wrote: =20 > This caught my interest this morning so I set up a commented-out trial = in > /etc/rc.d for my ipv6 entry; the one I had in my database /etc/namedb/*= files > blew my connection sky-high recently. >=20 > Does this seem plausible: >=20 >=20 > # > ## ipv6 config > # >=20 > # ipv6_enable=3D"YES" > # ipv6_defaultrouter=3D"2002:d1b4:d5d2::" > # ipv6_default_interface=3D"em0" > # ipv6_gateway_enable=3D"YES" >=20 > given that my Adress record is 209.180.213.210 ? >=20 > tia, gents, So you're using 6to4 tunnelling as described in stf(4)? That's a quite different setup to what has been discussed previously in this thread.=20 I think 6to4 is, if not deprecated, certainly not the normal way of getti= ng IPv6 connectivity nowadays. Generally you'ld get an address space alloca= tion from your ISP, or failing that, a tunnel broker like Hurricane Electric[*= ]. Anyhow, as stf(4) says, you need to encode your IPv4 address as hex in th= e 6to4 address -- that looks correct: % perl -e 'map { printf "%x\n", $_ } split( /\./, shift );' 209.180.213.2= 10 d1 b4 d5 d2 However 2002:d1b4:d5d2:: is *your* network address, and having it as the = default router sounds wrong to me. You need to assign addresses from tha= t range to your hosts -- which you can do automatically by enabling rtadvd(= 8) on your gateway machine and rtsold(8) on your clients. Also, to use 6to4= you need to create a 'stf0' interface and make that the ipv6_default_inte= rface. This is all independent of setting up IPv6 related items in your DNS. Ge= t the IPv6 connectivity working first -- use ping6 and traceroute6 with IPv= 6 numbers to confirm connectivity, and then worry about DNS settings. Cheers, Matthew [*] Which is pretty crazy given that the prediction is IPv4 space is going to run out around 2012[+]. All of the major ISPs and NSPs really should be providing IPv6 natively by now. [+] Potential for another IT-feeding-frenzy-panic scenario like the run up to Y2K. Make sure IPv6 is on your CV... --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig37E1F44CDDD50C13C6135997 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 iEYEAREIAAYFAktIYOUACgkQ8Mjk52CukIwgiwCfVHTYcnlZXwHf6uX5q5DOzG2K FIoAn0eIxqoemMxU2sQ4pUBDLR96E713 =sS3F -----END PGP SIGNATURE----- --------------enig37E1F44CDDD50C13C6135997--