On Sun, Dec 26, 2021 at 12:38:15PM -0500, John Holland wrote:
> I added
>
> "inet6 autoconf"
>
> to the /etc/hostname.trunk0 and issued
>
>
> pfctl -d
>
> ifconfig trunk0 destroy
Why are you using trunk? What are you trying to do exactly?
You haven't given much detail about your network setup, so I'm assuming that
it's just a simple home network with various devices connected to a hub or
switch rather than something more complex.
> This gives trunk0 an IP6 address, and I can ping that address. when I try to
> ping one of the other computers though I get "Network is unreachable".
In, (very), simple terms, the link-local addresses that you are using are only
for point to point communications. Such an address is known as a 'locally
scoped' address, and cannot be routed.
If you're using automatic configuration such as slaac, one or more globally
scoped addresses will be assigned to the network adaptor, and these can be
routed.
Alternatively, you can assign static IPv6 addresses with global scope, which
will also be routable.
If your devices are connected to a router that is configured for IPv6 and
advertising routes, you should be able to simply set inet6 autoconf on the
interface on the OpenBSD machine, and a globally scoped address will be
assigned to it automatically by slaacd.
If your devices are just connected together via a dumb hub, you can assign
private addresses in, for example, the fd00:: range to each connected machine,
and they should be able to communicate with each other using those addresses.