Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 2006 12:13:47 +0100
From:      Henrik Brix Andersen <henrik@brixandersen.dk>
To:        freebsd-stable@freebsd.org
Subject:   Re: gif problems in -STABLE
Message-ID:  <20061230111347.GA48548@tirith.brixandersen.dk>
In-Reply-To: <4595C753.5030502@andric.com>
References:  <4595C753.5030502@andric.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <henrik@brixandersen.dk>

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061230111347.GA48548>