Assigning IPv6 to Debian VPS ... How?
Not quite sure what I'm doing wrong here, but after two failed attempts and bricking the fucking network on my box and reinstalling I'm coming here for help.
Got a BuyVM KVM box.
- Enabled IPv6 in the control panel.
- Added a random IPV6 from my subnet to my VPS, and enabled it.
I then build a VM.
Okay, no IPV6 connectivity on this box.
Read the docs, see: https://wiki.buyvm.net/doku.php/networking
So I update my /etc/network/interfaces to look like this, which I guess I'm supposed to do based on the wiki page? Not entirely sure. Previously was using a Ubuntu box and Netplan made me want to fucking drag my computer behind a truck and gun it down a gravel road.
So, this is what my /etc/network/interfaces looks like in an attempt to get one IPV6 address to work and IPV6, just in general.
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet dhcp # Below is what I add for Luxembourg BuyVM iface eth0 inet6 static address THE_IP_I_GENERATED_IN_STALLION/48 netmask 48 gateway 2605:6400:3:fed5::1
And when I restart via systemctl restart networking.service, it just locks up. I can't SSH into the box anymore and as far as I'm concerned it's just easier to start fresh.
I don't want to be frustrated for a third time. What in the hell am I doing wrong? I've read multiple guides on adding IPV6 to a Debian VPS and nothing is standing out as clear to me.
EDIT: So I reinstalled it. I haven't touched /etc/network/interfaces or anything yet.
Out of the box, with IPV6 all enabled in Stallion BEFORE the rebuild, I have no out-of-the-box IPV6 connectivity from the box. Should I?
ip -6 route show | grep default
traceroute -6 dns.google.com traceroute to dns.google.com (2001:4860:4860::8844), 30 hops max, 80 byte packets connect: Network is unreachable
lsmod | grep ipv6
Network unreachable. And it should work, that's Sprint's network. They just happen to have a really short IPV6 address. But even OpenDNS doesn't work, for good measure checked it too.