Hi,
I recently thought to try a VPS from OVH in their Beauharnois datacenter.
They had no stock when I checked a while back and I went with Hetzner instead. The exchange rate from EUR to CAD is brutal
At the time of writing of this post, OVH has VPS systems in stock: https://www.ovhcloud.com/en-ca/vps/
Their documentation doesn't specify FreeBSD-related configuration for IPv6. If you raise a ticket, they do not do any FreeBSD-specific testing (they instruct to reboot into the Linux Rescue environment instead) or directly provide configuration for FreeBSD.
Here is how I got it working:
(with a huge THANK YOU to Professor Hiroki Sato for the document at https://freebsdfoundation.org/wp-content/uploads/2022/08/sato_IPv6.pdf)
Take note of the address that the response is received from, i.e.
Then edit
Save the file and reboot. The
Functional IPv6:
Thanks.
Take care
I recently thought to try a VPS from OVH in their Beauharnois datacenter.
They had no stock when I checked a while back and I went with Hetzner instead. The exchange rate from EUR to CAD is brutal
At the time of writing of this post, OVH has VPS systems in stock: https://www.ovhcloud.com/en-ca/vps/
Their documentation doesn't specify FreeBSD-related configuration for IPv6. If you raise a ticket, they do not do any FreeBSD-specific testing (they instruct to reboot into the Linux Rescue environment instead) or directly provide configuration for FreeBSD.
Here is how I got it working:
(with a huge THANK YOU to Professor Hiroki Sato for the document at https://freebsdfoundation.org/wp-content/uploads/2022/08/sato_IPv6.pdf)
Bash:
# Ping this address and observe the response (ff02::2 is the all-routers multicast address, vtnet0 is the network interface)
% ping6 ping6 ff02::2%vtnet0
16 bytes from fe80::[GATEWAY_ADDR]%vtnet0, icmp_seq=0 hlim=64 time=0.702 ms
...
Take note of the address that the response is received from, i.e.
fe80::[GATEWAY_ADDR]%vtnet0Then edit
/etc/rc.conf to add the lines:
Code:
ifconfig_vtnet0="up"
ifconfig_vtnet0_ipv6="inet6 [VPS_IPV6_ADDR] prefixlen 64"
ipv6_defaultrouter="fe80::[GATEWAY_ADDR]%vtnet0"
Save the file and reboot. The
service netif restart and service routing restart commands do not work, as far as I can tell, due to the way that the VPS has been configured by OVH (nuageinit etc.).Functional IPv6:
Bash:
$ ping6 freebsd.org
PING(56=40+8+8 bytes) [VPS_IPV6_ADDR] --> 2610:1c1:1:606c::50:15
16 bytes from 2610:1c1:1:606c::50:15, icmp_seq=0 hlim=44 time=18.828 ms
16 bytes from 2610:1c1:1:606c::50:15, icmp_seq=1 hlim=44 time=10.778 ms
16 bytes from 2610:1c1:1:606c::50:15, icmp_seq=2 hlim=44 time=10.801 ms
16 bytes from 2610:1c1:1:606c::50:15, icmp_seq=3 hlim=44 time=10.876 ms
16 bytes from 2610:1c1:1:606c::50:15, icmp_seq=4 hlim=44 time=10.857 ms
^C
--- freebsd.org ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 10.778/12.428/18.828/3.200 ms
Thanks.
Take care