IPv6 configuration missunderstanding

Hiroki Sato hrs at FreeBSD.org
Thu May 9 19:20:02 UTC 2013


Florent Peterschmitt <florent at peterschmitt.fr> wrote
  in <518A6D5C.3030804 at peterschmitt.fr>:

fl> Hi,
fl>
fl> I want to configure IPv6 in FreeBSD 9.1-RELEASE like this :
fl>
fl> ipv6_enable=yes
fl> ipv6_activate_all_interfaces=yes
fl> ifconfig_em0_ipv6="inet6 2001:41D0:8:B81f:: prefixlen 64"
fl> -interface em0"
fl> ipv6_defaultrouter="2001:41D0:8:B8ff:ff:ff:ff:ff"

 Why the default router is not in 2001:41d0:8:b81f::/64?

fl> But at boot I have :
fl>
fl> default    fe80::264:40ff:fe3a:fac0%em0  UG          em0

 I guess this is provided by the router via Router Advertisement
 messages.

fl> And if ipv6_enable=yes is not here (although it's depreciated), no IPv6
fl> at all.

 Please remove ipv6_enable=yes and ipv6_activate_all_interfaces=yes
 unless you understand you really need them.

 I think only the following line is sufficient for your environment:

 ifconfig_em0_ipv6="inet6 2001:41d0:8:b81f::1 prefixlen 64 accept_rtadv"

-- 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-net/attachments/20130510/ae7d03dd/attachment.sig>


More information about the freebsd-net mailing list