Ovh6

From IRC-nERDs
Jump to navigation Jump to search

OVH IPv6 Simple Setup Instructions for Debian 10 (Buster)

Alright so go to your OVH VPS's Control Panel page for specific VPS information.
From said page, you will need your IPv6 address and the Gateway, its on the right hand side of your VPS details page. For OVH, netmask is: 128
In /etc/networking/interfaces.d/ Create a random file, you can name it anything you want, for example ipv6.cfg

Now in ipv6.cfg, you're gonna want to add this then adjust it

auto eth0
iface eth0 inet6 static
mtu 1500
address 2001:41d0:701:1100::2bf4 netmask 128 post-up /sbin/ip -6 route add 2001:41d0:701:1100::1 dev eth0 post-up /sbin/ip -6 route add default via 2001:41d0:701:1100::1 dev eth0 pre-down /sbin/ip -6 route del default via 2001:41d0:701:1100::1 dev eth0 pre-down /sbin/ip -6 route del 2001:41d0:701:1100::1 dev eth0


Now above, You will replace the "address" with your assigned ipv6 address, the last 4 lines are just the ipv6 Gateway, so replace the ones above with yours (Yes, you have to replace all 4 with the new ones).
Now simply do:

sudo systemctl restart networking


All done, your ipv6 should be visible in the command: ip addr
To test the IPv6 connection works, do:

ping6 www.google.com

If you get a response, you're all set to go.
If it doesnt respond, and you cant get it to work you can visit us and ask for help. #nerds on irc.irc-nerds.net