Setting up IPv6 in /etc/rc.conf

Mark Murray markm at FreeBSD.org
Sat Oct 16 08:20:09 UTC 2010


"Bjoern A. Zeeb" writes:
> On Fri, 15 Oct 2010, Mark Murray wrote:
> 
> > Alexey Shuvaev writes:
> >>> gifconfig_gif0_ipv6="2001:1111:2222:3333::2 2001:1111:2222:3333::1 prefixlen 128"
> >> 		     ^^^^		   ^^^^
> >> 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.  The 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.

M
--
Mark R V Murray
Cert APS(Open) Dip Phys(Open) BSc Open(Open) BSc(Hons)(Open)
Pi: 132511160



More information about the freebsd-current mailing list