Date: Sun, 17 Oct 2010 13:11:29 -0500 From: Chris Ruiz <yr.retarded@gmail.com> To: Mark Murray <markm@freebsd.org> Cc: FreeBSD current mailing list <current@freebsd.org> Subject: Re: Setting up IPv6 in /etc/rc.conf Message-ID: <AANLkTi=SEP%2BkzffXLW5T=oF81_ZJ%2BG%2BvRT_W3Uv=OztM@mail.gmail.com> In-Reply-To: <E1P71vA-0001rI-Tv@groundzero.grondar.org> References: <E1P6oe7-0000lL-JV@groundzero.grondar.org> <20101015191802.GA55182@wep4035.physik.uni-wuerzburg.de> <E1P6qp8-0000zW-AE@groundzero.grondar.org> <20101015204947.N10185@maildrop.int.zabbadoz.net> <E1P71vA-0001rI-Tv@groundzero.grondar.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 16, 2010 at 3:15 AM, Mark Murray <markm@freebsd.org> wrote: > "Bjoern A. Zeeb" writes: >> On Fri, 15 Oct 2010, Mark Murray wrote: >> >> > Alexey Shuvaev writes: >> >>> gifconfig_gif0_ipv6=3D"2001:1111:2222:3333::2 2001:1111:2222:3333::1= prefixlen 128" >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ^^^^ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0^^^^ >> >> I suppose you should prefix it with "inet6" keyword. >> >> There are 2 examples in rc.conf (search for "Sample IPv6"). >> > >> > Aaaaah! >> > >> > It didn't occur to me that I might need TWO inet6's! I'll give that a = go when >> > I play with this again tomorrow. >> >> It's just one inet6; put there what you would pass to ifconfig on the >> command line. =A0The fact that ifconfig defaults to "inet" is the >> problem leading to more confusion. > > In which case, I'm back to square one. What should work doesn't. > > I have the necessary commands in /etc/rc.local to bring up IPv6. > >> I think the samples in defaults/rc.conf will be more clear soon. > > Cool! Thanks. You have a few syntax errors in your rc.conf, try these adjustments and everything "should" work (as it works for me on a recent CURRENT.) gif_interfaces=3D"gif0" gifconfig_gif0=3D"192.168.0.2 11.22.33.44" ifconfig_gif0_ipv6=3D"inet6 2001:1111:2222:3333::2 2001:1111:2222:3333::1 prefixlen 128" ipv6_defaultrouter=3D"2001:1111:2222:3333::1" -- Chris ----------------------------------------- http://twitter.com/chrisattack http://chrisattack.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=SEP%2BkzffXLW5T=oF81_ZJ%2BG%2BvRT_W3Uv=OztM>