NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: IPv6 on NetBSD 8
Greg Troxel <gdt%lexort.com@localhost> writes:
> * drop ip6mode=autohost from rc.conf, so that the default of host
> applies. On any interface you want a v6 automatic address, run
> dhcpcd. This should just work and you should have useful logs in
> /var/log/messages if not.
>
> So basically those last 4 lines are the migration guide.
I should add:
* In my experience, dhcpcd doing v6 autoconfiguration just works
correctly, with no trouble.
* I have a machine configured
- with a static v6 address in ifconfig.ucmsc0 (just that one line)
- with dhcpcd=YES in rc.conf
- with a DHCP-assigned static address (handed out by DHCP server,
received by dhcpcd))
- with IPv6 autoconfiguration (because I didn't turn it off in dhcpcd)
and this results in the interface having:
- static v4 (from /etc/dhcpd.conf on my router matched from mac addr),
set by dhcpcd
- static v6, setfrom ifconfig.ucmsc0
- stateless privacy v6, set by dhcpcd
- IPv6 default route to my router (which is running rtadvd), set by
dhcpcd
and everything works just fine.
The only problem I have had, not about dhcpcd, is if you are trying to
use bridge(4) to join two ethernets. Then clients on the secondary one
(that rtadvd isn't running on) will end up with the LL addr of the first
one as their route, and ND doesn't work right on the bridge looking for
the mac addr of the LL addr of the other ethernet. I haven't figured
this out, and fudge it with an explicit default route to the LL addr on
the secondary ethernet for a machine or two that use that port. My real
solution is that I am going to just get a switch and not use bridge(4).
Home |
Main Index |
Thread Index |
Old Index