From owner-freebsd-stable Sat Aug 3 3:35: 8 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4095237B400 for ; Sat, 3 Aug 2002 03:35:02 -0700 (PDT) Received: from mail.droso.net (koala.droso.net [193.162.142.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8AC543E42 for ; Sat, 3 Aug 2002 03:35:01 -0700 (PDT) (envelope-from erwin@mail.droso.net) Received: from localhost (localhost [127.0.0.1]) by mail.droso.net (Postfix) with ESMTP id 15C3B5B8B for ; Sat, 3 Aug 2002 12:34:59 +0200 (CEST) Received: by mail.droso.net (Postfix, from userid 1001) id 52DA75B85; Sat, 3 Aug 2002 12:34:56 +0200 (CEST) Date: Sat, 3 Aug 2002 12:34:56 +0200 From: Erwin Lansing To: freebsd-stable@freebsd.org Subject: Re: rc.conf hooks for IPv6 and gif0 IPv6 tunnel interfaces? Message-ID: <20020803123456.E3782@droso.net> Mail-Followup-To: freebsd-stable@freebsd.org References: <20020803122546.L1015-100000@phoenix.vh.laserfence.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020803122546.L1015-100000@phoenix.vh.laserfence.net>; from will@highveldcs.com on Sat, Aug 03, 2002 at 12:29:18PM +0200 X-Operating-System: FreeBSD/i386 4.6-STABLE X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 03, 2002 at 12:29:18PM +0200, Willie Viljoen wrote: > Hi, >=20 > I recently managed to find a fairly nice tunnel broker and get my machine > IPv6 enabled. Everything works fine, except that I'm still setting up > everything the wrong way (with a script called > /usr/local/etc/rc.d/00ipv6.sh) >=20 > This works -reasonably- well, except that some services start up before > /usr/local/etc/rc.d/*.sh is processed, meaning these services don't yet > see the IPv6 interface 2001:470:1F00:386::1 and thus don't listen on it. >=20 > Can anybody give me any indication how I'd configure the tunnel directly > from rc.conf? >=20 > I already have most of the commands I need to enable IPv6, set the default > gateway, have it process rc.firewall6 (or atleast have it find my rules in > /etc/ip6fw.conf) etc etc, but nothing to set up the actual tunnel. >=20 > Any ideas? >=20 ipv6_enable=3D"YES" # Set to YES to set up for IPv6 gifconfig_gif0=3D"62.79.90.66 62.242.0.222" ipv6_ifconfig_gif0=3D"2001:6c8:9:1::6 2001:6c8:9:1::5 prefixlen 128" ipv6_defaultrouter=3D"2001:6c8:9:1::5" is just for my tunnel. You can browser /etc/defaults/rc.conf for all other options. Cheers, -erwin --=20 Erwin Lansing -- http://droso.org --+QahgC5+KEYLbs62 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9S7HQqy9aWxUlaZARAhIZAKC3xo86kte0yPK+3ffkzQYopLD73ACgu/dw tca5vtw6Qw3OqeTDQXBpxEc= =8q8y -----END PGP SIGNATURE----- --+QahgC5+KEYLbs62-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message