Look guys, it's simple.

If you want IPv6 (SLAAC) autoconfiguration, you set "inet6 autoconf"
for that interface.  slaacd(8) will then automatically handle things.

If you want IPv4 (DHCP) autoconfiguration, you set "inet autoconf"
for that interface.  dhcpleased(8) will then automatically handle
things.  If you require special DHCP options that dhcpleased(8)
doesn't include, then you don't enable autoconfigurarion and run
dhclient(8) instead, which can be extensively configured.

Both slaacd(8) and dhcpleased(8) pass nameserver information to
resolvd(8), which adds those nameservers to /etc/resolv.conf unless
unwind(8) is running.  If you don't want that to happen for some
other reason, you turn off resolvd(8).

And that's it.

-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to