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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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: > > 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="2001:7b8:2ff:146::1" gif_interfaces="gif0" gifconfig_gif0="213.154.244.69 193.109.122.244" ipv6_ifconfig_gif0="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 -- Henrik Brix Andersen <henrik@brixandersen.dk> [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) Comment: GnuPG signed iD8DBQFFlknrv+Q4flTiePgRAudoAJ9UaoM5wRxIXOxZ6DsyjB8Gzjk/LwCguw/u oCYbrM0/MS2srOFjusyMMro= =pMNv -----END PGP SIGNATURE-----help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061230111347.GA48548>
