Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2012 17:14:04 +0000
From:      Ben Morrow <ben@morrow.me.uk>
To:        lukasz@wasikowski.net
Cc:        freebsd-stable@freebsd.org
Subject:   Re: ipv6_addrs_IF aliases in rc.conf(5)
Message-ID:  <20121222171400.GA2399@anubis.morrow.me.uk>
In-Reply-To: <50D5C2F4.1070104@wasikowski.net>
References:  <50D1C553.9060100@wasikowski.net> <CA%2B7WWSewg%2BQqcn1L508tAiBY1zLQfne6AC6w7oAco3y=efcX9w@mail.gmail.com> <CA%2B7WWSeibFGNSwtjUeK-U6irj6axGftAHJC2eYU3tQoeM0JRpA@mail.gmail.com> <20121220132750.GB99616@stack.nl> <CA%2B7WWSdqjkZq1y0dyxV9LiycNA0V%2BCyEKt9x0d%2BWJaaWC4SXSg@mail.gmail.com> <CA%2B7WWSc-VwdmYBEtZwO03x-p2o7-eUr9bWrhMhjBCUSah_0v_A@mail.gmail.com> <50D4F2E4.7020600@wasikowski.net> <CA%2B7WWSc9sR74RT=oMT8uSBmNYrK-80t7Y8KKZx9JxuVE4drXBA@mail.gmail.com> <CA%2B7WWSdM=45i5knYHUa_Nq=2dta4ek8Q%2Bp3g_Bf697d7_i__QA@mail.gmail.com> <CA%2B7WWSc9ORJQnvaVA0QVnwf4i=wEJ-%2BcYiOqQK3wDUDzL=TGTA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoth =?UTF-8?B?xYF1a2FzeiBXxIVzaWtvd3NraQ==?= <lukasz@wasikowski.net>:
> W dniu 2012-12-22 04:41, Kimmo Paasiala pisze:
> 
> > Yeah, this is problem in network.subr. An interface is not recognized
> > as IPv6 capable if the interface is not in "ipv6_network_interfaces"
> > and there's no "ifconfig_IF_ipv6" in rc.conf(5), bummer. For IPv4 it
> > "just works" because the interface is always assumed to be IPv4
> > capable.
> 
> Ok, I used ifconfig_em0_ipv6="up" and it worked. So it looks like this:

The documented way to do this is to just set the link-local address in
ifconfig_IF_ipv6, since an interface is required to have a link-local
address. Either configure an fe80:: address explicitly or set

    ifconfig_em0_ipv6="inet6 auto_linklocal"

Alternatively, if you set ipv6_activate_all_interfaces all interfaces
will be considered IPv6-capable.

Ben




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