Disable auto_linklocal

Matt Mullins mokomull at gmail.com
Mon Jan 16 19:17:02 UTC 2012


On Sun, Jan 15, 2012 at 7:27 AM, Freek Dijkstra <public at macfreek.nl> wrote:
> The link-local addresses don't really harm, but I found them confusing,
> as the host is running as a router, and rtadv announces the link-local
> address by default.

IPv6-standards-wise, this is the correct thing to do.  Router
advertisements should contain link-local source addresses and
advertise the link-local address as the router; the globally-routable
prefix that is being advertised is a completely different field in
those messages.  I'm not too sure of the reasons behind this, other
than eliminating some need for carp(4): you can have multiple routers
on a subnet and if one goes down, clients will just pick up the
other's router advertisements.

It's atypical that one would want to disable link-local addressing,
since it's one of the core differences from IPv4 that adds some
benefit and flexibility.

References:
http://tools.ietf.org/html/rfc4861#section-4.2
      Source Address
                     MUST be the link-local address assigned to the
                     interface from which this message is sent."
--
Matt Mullins


More information about the freebsd-questions mailing list