IPv6 static gateway IP problem

Filip Lax <[email protected]>
Newsgroups gmane.os.openbsd.misc
Message-ID <AM6PR09MB33346F9755C96DA7B631CAE0FD1E2@AM6PR09MB3334.eurprd09.prod.outlook.com>
Hi I have a VPS with provider that give static IP6 without DHCP. I don't understand how should set it up, nothing I try work, The provider show this info:

IP address:   2a03:118e:202:55::
Subnet:       2a03:118e:202::/64
Gateway:      2a03:118e:202::1

(I alter some numbers +/- just for anonmity but format is still correct)

I don't know how to set this Gateway because OpenBSD say "Network is unreachable":

# ifconfig vio0 inet6 2a03:118e:202:55:: prefixlen 64
# route add -inet6 default 2a03:118e:202::1
add net default: gateway 2a03:118e:202::1: Network is unreachable

I test also autoconf6 and see slaacd get RA, And it put fe80:etc:etc%vio0 route as default. I have disabled PF to be sure, and also tried with single rule: "pass all". Still no IP6 traffic in or out.

So I install Linux to the VPS to test IP6 there - it's normal and works good. It has static setup with "netplan". Here is "ip -6 a" and "ip -6 route show" from Linux:

    inet6 2a03:118e:202:55::/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::6e21:94ff:fe7a:c358/64 scope link proto kernel_ll 
       valid_lft forever preferred_lft forever

2a03:118e:202:55::/64 dev eth0 proto kernel metric 256 pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
default via 2a03:118e:202::1: dev eth0 proto static metric 1024 onlink pref medium
default nhid 1211265837 via fe80::5:73ff:fea0:72 dev eth0 proto ra metric 1024 expires 1685sec pref medium

Sorry for linux copy/paste. How can I replicate this for OpenBSD so my IP6 will work?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.