IPv6 accept_rtadv + bfe0
Hiroki Sato
hrs at FreeBSD.org
Sun Oct 23 07:49:39 UTC 2011
John Hay <jhay at meraka.org.za> wrote
in <20111022193418.GA53988 at zibbi.meraka.csir.co.za>:
jh> I can maybe just say, I have now upgraded various machines from 7.x or
jh> 8.x to 9 and even though I have read the rc.conf manual I keep tripping
jh> on the new IPv6 rc stuff. Various being client, server and router /
jh> firewall. It looks like ipv6_prefix_IF now needs an ifconfig_IF_ipv6 =
jh> "inet6 auto_linklocal" otherwise it is ignored.
This is intentional because $ifconfig_IF_ipv6 is designed as
per-interface version of the old $ipv6_enable. I added an explicit
description about this to rc.conf(5).
jh> In the rc.conf man page, in the ifconfig_<interface>_ipv6 section, it is
jh> suggested to use ifconfig_<interface>_alias<n> for aliases, but somewhere
jh> else it says that that _alias<n> is deprecated. What would be nice is
jh> something like the ipv4_addrs_IF= variable.
$ipv6_prefix_IF is the counterpart of $ipv4_addrs_IF. It is limited
to /64 prefixes, though.
I didn't notice it said ifconfig_IF_aliasN was deprecated. Although
the man page explains the depreciation is due to a difficult behavior
of _aliasN, if it is the reason, it is easy to support multiple lines
in the variable like this:
ifconfig_em0_aliases="
inet 192.168.0.1/32
inet 192.168.0.2/32
inet 192.168.0.3/32
"
jh> The last paragraph in ifconfig_<interface>_ipv6, about "inet6 accept_rtadv"
jh> should probably be closer to the begining, with some added sentence to
jh> make it clear that it is probably what the normal client machine needs.
Moved it to just after a normal GUA configuration example in rc.conf(5).
-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20111023/aa92b31b/attachment.pgp
More information about the freebsd-current
mailing list