Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/ipconfig-ipv6-gateway/readme
When specifying a gateway (-g), add a route appropriate to the address family of the destination.