Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jan 2012 16:27:07 +0100
From:      Freek Dijkstra <>
Subject:   Disable auto_linklocal
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help

I like to disable linklocal IPv6 addresses on my host, running FreeBSD

I already set net.inet6.ip6.auto_linklocal in /etc/sysctl.conf.

# sysctl net.inet6.ip6.auto_linklocal
net.inet6.ip6.auto_linklocal: 0

Even after a reboot, this does not seem to have any effect. Here is the
config on one interface:

% ifconfig em3
em3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:00:24:ce:69:ef
        inet netmask 0xffffff00 broadcast
        inet6 fe80::200:24ff:fece:69ef%em3 prefixlen 64 scopeid 0xc
        inet6 2001:610:xxxx:xxxx::1 prefixlen 64
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active

Did I overlook something? Is there perhaps a per-interface option I need
to configure in /etc/rc.conf?

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.

Thanks for any help,

Want to link to this message? Use this URL: <>