fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


hosting:ovh:vps

Virtual Private Server (VPS)

IPv6 einrichten

IP-Adresse und Gateway an OVH API abfragen:

/vps                                # List available services
/vps/{serviceName}                  # Get this object properties
/vps/{serviceName}/ips              # Ips associated to this virtual server
/vps/{serviceName}/ips/{ipAddress}  # Get this object properties

/etc/network/interfaces.d/51-cloud-init erstellen:

auto ens3
iface ens3 inet6 static
mtu 1500
address 2001:1337:6969:1100::123
netmask 64
 
# routing
post-up /sbin/ip -6 route add 2001:1337:6969:1100::1 dev ens3
post-up /sbin/ip -6 route add default via 2001:1337:6969:1100::1 dev ens3
pre-down /sbin/ip -6 route del default via 2001:1337:6969:1100::1 dev ens3
pre-down /sbin/ip -6 route del 2001:1337:6969:1100::1 dev ens3

Netzwerkdienst neu starten. Ggf. Server neustarten.

sudo systemctl restart networking.service
sudo reboot
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.  More information about cookies 
hosting/ovh/vps.txt · Last modified: 2024/02/17 19:03 by 127.0.0.1