On 2015-09-29, Delan Azabani <[email protected]> wrote:
> According to hostname.if(5), you can write a line in /etc/hostname.em0
> containing exactly "rtsol" without the quotes to initiate SLAAC.
>
> Please note that SLAAC on a host with IPv6 forwarding turned on will
> not work until OpenBSD 5.8 as per <http://www.openbsd.org/plus58.html>:
It's broken in 5.8 as well, enabling SLAAC on one interface removes manually
configured v6 addresses on other interfaces. Fixed in -current.
>> With a per interface IPv6 stateless adress auto configuration flag it
>> is possible to allow IPv6 forwarding and SLAAC at the same time. This
>> is needed for RFC 7084.
>
> To acquire your delegated /48 prefix, install wide-dhcpv6 from packages
> or ports, then add something like this to /etc/dhcp6c.conf:
>
> interface pppoe0 {
> send ia-pd 0;
> send domain-name-servers;
> send rapid-commit;
> };
>
> id-assoc pd {
> prefix-interface vether0 {
> sla-id 0;
> sla-len 16; # put (64 - prefix size) here
> };
> };
Alternatively you can use dhcpcd. The pkg-readme in -current gives an
example of config for this.