From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 21:45:25 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 6E1C1106568D for ; Sun, 10 Jan 2010 21:45:25 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 23FD58FC2F for ; Sun, 10 Jan 2010 21:45:24 +0000 (UTC) Received: from thought.org (ethic.thought.org [10.47.0.230]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o0ALjJbD006891; Sun, 10 Jan 2010 13:45:20 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1001 kline@thought.org; Sun, 10 Jan 2010 13:45:21 -0800 (PST) Date: Sun, 10 Jan 2010 13:45:19 -0800 From: Gary Kline To: Matthew Seaman Message-ID: <20100110214519.GA6305@thought.org> 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> <4B4860DF.2010904@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B4860DF.2010904@infracaninophile.co.uk> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-0.0 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX, J_CHICKENPOX_32, J_CHICKENPOX_38 autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org 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: Sun, 10 Jan 2010 21:45:25 -0000 On Sat, Jan 09, 2010 at 10:56:31AM +0000, Matthew Seaman wrote: > 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. Errp! Matthew, you lost me entirely. I *do* want to use IPv6 eventually. I have it sent up, latenly, in my mail and DNS files. I do understand the need to go to v6 in a few years, but it is probably going to take me that long to get mi mind around the workings of the whole set of issues. [[I'm learning new+exciting things about pfSEnse and networking-in-detail while getting X11 running on my new server....]] Are there any IPv6-for-Dummies around? The man pages are things you read for reference; or at least that's been my experience! > > 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. > I'll google around for some insights of things-v6; but you may know what's best. thanks, gary > 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 > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix