From owner-freebsd-stable@FreeBSD.ORG Sat Dec 30 11:36:48 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 51E0916A407 for ; Sat, 30 Dec 2006 11:36:48 +0000 (UTC) (envelope-from henrik@brixandersen.dk) Received: from ns2.pil.dk (ns2.pil.dk [195.41.47.38]) by mx1.freebsd.org (Postfix) with ESMTP id 18ACD13C48F for ; Sat, 30 Dec 2006 11:36:48 +0000 (UTC) (envelope-from henrik@brixandersen.dk) Received: from tirith.brixandersen.dk (osgiliath.brixandersen.dk [87.53.223.189]) by ns2.pil.dk (Postfix) with ESMTP id 01FC27BB115 for ; Sat, 30 Dec 2006 12:13:49 +0100 (CET) Received: by tirith.brixandersen.dk (Postfix, from userid 1001) id 246F7B865; Sat, 30 Dec 2006 12:13:48 +0100 (CET) Date: Sat, 30 Dec 2006 12:13:47 +0100 From: Henrik Brix Andersen To: freebsd-stable@freebsd.org Message-ID: <20061230111347.GA48548@tirith.brixandersen.dk> Mail-Followup-To: freebsd-stable@freebsd.org References: <4595C753.5030502@andric.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline In-Reply-To: <4595C753.5030502@andric.com> X-PGP-Key: http://www.brixandersen.dk/files/HenrikBrixAndersen.asc User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: gif problems in -STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Dec 2006 11:36:48 -0000 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 30, 2006 at 02:56:35AM +0100, Dimitry Andric wrote: > For some reason, the ifconfig command now fails to create the proper > routing table entries. With the 2006-11-03 kernel, if I configure my > gif0 tunnel as follows: >=20 > ifconfig gif0 create > ifconfig gif0 213.154.244.69 193.109.122.244 > ifconfig gif0 inet6 2001:7b8:2ff:146::2 2001:7b8:2ff:146::1 prefixlen 128 > route add -inet6 default 2001:7b8:2ff:146::1 Apart from the two IPv4 endpoint addresses you also assign two IPv6 addresses with prefixlen 128 to the gif0 interface? Looks weird to me... Try this configuration in /etc/rc.conf instead: ipv6_defaultrouter=3D"2001:7b8:2ff:146::1" gif_interfaces=3D"gif0" gifconfig_gif0=3D"213.154.244.69 193.109.122.244" ipv6_ifconfig_gif0=3D"2001:7b8:2ff:146::2 prefixlen 127" This syntax works for my setup (and matches reality - gif0 is a tunnel with two IPv4 endpoints). I have just tested it with RELENG_6 as of today. Regards, Brix --=20 Henrik Brix Andersen --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) Comment: GnuPG signed iD8DBQFFlknrv+Q4flTiePgRAudoAJ9UaoM5wRxIXOxZ6DsyjB8Gzjk/LwCguw/u oCYbrM0/MS2srOFjusyMMro= =pMNv -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2--