Hi Piotr,

-----Message initial-----
> De: Piotr Isajew <pisa...@yahoo.com>
> Envoyé: vendredi 9 avril 2021 22:59
> À: misc@openbsd.org
> Sujet: static IPv6 config on OVH dedicated server
> 
> Hi, 
> 
> I'm struggling to configure IPv6 for my fresh OpenBSD 6.8
> installation running on OVH (soyoustart.com) dedicated server.
> 
> What I get from the ISP is the /64 address pool.
> OVH requires static configuration with gateway outside of the
> assigned subnet. According to their docummentation:
> 
>  The default gateway for your IPv6 block (IPv6_GATEWAY) is always
>  xxxx.xxxx.xxxx.xxFF:FF:FF:FF:FF.
> 
>  For example:
> 
>  The IPv6 address of the server is 2607:5300:60:62ac::/64. The
>  IPv6_GATEWAY will therefore be 2607:5300:60:62FF:FF:FF:FF:FF.


A decade ago, I tried to configure OVH ipv6 and give up after an headhache to 
use an ugly /56.
I never try again to deal with a /64 and an outside gateway since your mail.
Then I tried again with a fucking headache. But thanks to you. I solved my 
misconfigured problem.

Before you test, stay with your /56 and try to list the mac address of your 
default gateway with :

# ndp -a

You will see the MAC address you will need for your /etc/hostname.if (this is 
an example for the ip6 part)

...
inet6 2607:5300:60:62ac:: 64 
!route add -inet6 2607:5300:60:62ff:ff:ff:ff:ff/128 -link -static -iface ix0
!route add -inet6 default 2607:5300:60:62ff:ff:ff:ff:ff
#replace XX:XX:XX:XX:XX:XX with the gw mac address :
!ndp -s 2607:5300:60:62ff:ff:ff:ff:ff XX:XX:XX:XX:XX:XX proxy
#EOF


This will work as expected. 


Cheers,

Reply via email to