Re: OpenBSD 7.2 on VPS, routing via IPv6 gateway outside of interface prefix

2022-11-08 Thread Michal Šmucr
po 7. 11. 2022 v 13:38 odesílatel Eric JACQUOT napsal: > Hi, > > Could you try with this inet6 conf in your /etc/hostname.vio0 : > > inet6 [yourvpsipv6] 121 > !route add -inet6 -net 2001:db8:efef::1/128 -cloning -link -iface vio0 > !route add -inet6 default 2001:db8:efef::1 > Hi Eric, That was

Re: OpenBSD 7.2 on VPS, routing via IPv6 gateway outside of interface prefix

2022-11-08 Thread Kirill Miazine
• Michal Šmucr [2022-11-08 01:30]: > > > > I'm sorry, I wasn't thinking very well. > > > > Have you tried using fe80::1%vio0 as the default IPv6 gateway? > > > > No need to be sorry, I am grateful for any ideas :) Maybe you will find some further ideas in dmesg or /var/log/messages?

Re: OpenBSD 7.2 on VPS, routing via IPv6 gateway outside of interface prefix

2022-11-07 Thread Michal Šmucr
> > I'm sorry, I wasn't thinking very well. > > Have you tried using fe80::1%vio0 as the default IPv6 gateway? > No need to be sorry, I am grateful for any ideas :) And yes, I've also tried fe80::1%vio0 AFAIK that's a bit of a special case and a way how Hetzner (known German cloud provider)

Re: OpenBSD 7.2 on VPS, routing via IPv6 gateway outside of interface prefix

2022-11-07 Thread Kirill Miazine
• Michal Šmucr [2022-11-08 00:09]: > Thank you very much for the reply, Kirill. > > > > try with > > > > > > route add -inet6 2001:db8:efef::1 -llinfo -link -static -iface vio0 > > > > ... that is, try the above before you try to add 2001:db8:efef::1 as > > default gateway. > > I already

Re: OpenBSD 7.2 on VPS, routing via IPv6 gateway outside of interface prefix

2022-11-07 Thread Michal Šmucr
Thank you very much for the reply, Kirill. > > try with > > > > route add -inet6 2001:db8:efef::1 -llinfo -link -static -iface vio0 > > ... that is, try the above before you try to add 2001:db8:efef::1 as > default gateway. I already tested something similar in my previous attempts with

Re: OpenBSD 7.2 on VPS, routing via IPv6 gateway outside of interface prefix

2022-11-07 Thread Kirill Miazine
• Kirill Miazine [2022-11-07 13:36]: [...] > > $ ifconfig vio0 inet6 2001:db8:efef::d9e:18d2:b761:0/121 > > $ route add -inet6 default 2001:db8:efef::1 > > add net default: gateway 2001:db8:efef::1: Network is unreachable > > try with > > route add -inet6 2001:db8:efef::1 -llinfo -link

Re: OpenBSD 7.2 on VPS, routing via IPv6 gateway outside of interface prefix

2022-11-07 Thread Kirill Miazine
• Michal Šmucr [2022-11-07 13:02]: [...] > Hello to all, > > I'm looking for possible opinions or advice regarding IPv6 setup at new VPS. > Probably the most common approach is a VPS provider gives you /64 > prefix length with gateway within the subnet. > Works everywhere, it's also the smallest

Re: OpenBSD 7.2 on VPS, routing via IPv6 gateway outside of interface prefix

2022-11-07 Thread Eric JACQUOT
> De: Michal Šmucr > Envoyé: lundi 7th novembre 2022 13:03 > À: misc@openbsd.org > Sujet: OpenBSD 7.2 on VPS, routing via IPv6 gateway outside of interface > prefix > > Hello to all, > > I'm looking for possible opinions or advice regarding IPv6 setup at new VPS.

OpenBSD 7.2 on VPS, routing via IPv6 gateway outside of interface prefix

2022-11-07 Thread Michal Šmucr
Hello to all, I'm looking for possible opinions or advice regarding IPv6 setup at new VPS. Probably the most common approach is a VPS provider gives you /64 prefix length with gateway within the subnet. Works everywhere, it's also the smallest usable prefix length for use with SLAAC. However in