Date: Sat, 09 Jan 2010 10:56:31 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Gary Kline <kline@thought.org> Cc: Bogdan Webb <bogdan@pgn.ro>, Steve Bertrand <steve@ibctech.ca>, freebsd-questions@freebsd.org Subject: Re: FreeBSD ipv6 rc.conf settings issue Message-ID: <4B4860DF.2010904@infracaninophile.co.uk> In-Reply-To: <20100109074715.GC83472@thought.org> References: <c81e6afd1001070059h698fc0d2g629977802276c1b9@mail.gmail.com> <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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Gary Kline wrote:
> 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.
>
> Does this seem plausible:
>
>
> #
> ## ipv6 config
> #
>
> # ipv6_enable="YES"
> # ipv6_defaultrouter="2002:d1b4:d5d2::"
> # ipv6_default_interface="em0"
> # ipv6_gateway_enable="YES"
>
> given that my Adress record is 209.180.213.210 ?
>
> 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.
I think 6to4 is, if not deprecated, certainly not the normal way of getting
IPv6 connectivity nowadays. Generally you'ld get an address space allocation
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 the
6to4 address -- that looks correct:
% perl -e 'map { printf "%x\n", $_ } split( /\./, shift );' 209.180.213.210
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 that
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_interface.
This is all independent of setting up IPv6 related items in your DNS. Get
the IPv6 connectivity working first -- use ping6 and traceroute6 with IPv6
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...
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAktIYOUACgkQ8Mjk52CukIwgiwCfVHTYcnlZXwHf6uX5q5DOzG2K
FIoAn0eIxqoemMxU2sQ4pUBDLR96E713
=sS3F
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B4860DF.2010904>
