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>:

> 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
        };
};

Then create an rc.d(8) script at /etc/rc.d/dhcp6c like this:

#!/bin/sh

daemon="/usr/local/sbin/dhcp6c"

. /etc/rc.d/rc.subr

rc_reload=NO

rc_cmd $1

I hope that was helpful.

Reply via email to