Score:0

How to setup IPv6 on a Debian 11 VPS?

in flag

I have a test instance on Linode and have asked their technical support to provide me with with an IPv6 range. This is the range I obtained.

2600:3c03:e001:441::/64

How can I expose 200 global IPv6 addresses based on this range, instead of using local addresses like fd42:42:42::1, fd42:42:42::2 etc?

I did some research, but I'm not entirely sure if this is the right approach.

Am I correct to believe that they should be set up like this: 2600:3c03:e001:441::1, 2600:3c03:e001:441::2 etc?

I have edited /etc/network/interfaces. And have removed iface eth0 inet6 auto

and then added:

iface eth0 inet6 static
   address 2600:3c03:e001:441::1/64
   gateway fe80::1

After a reboot, I can SSH into the instance with the new IPv6 IP address, which seems correctly exposed to outside.

But how do I define the remaining 199 IPs? I have tried to add a second one like this:

iface eth0 inet6 static
  address 2600:3c03:e001:441::1/64
  gateway fe80::1
iface eth0 inet6 static
  address 2600:3c03:e001:441::2/64
  gateway fe80::1

But then the system hangs.

Score:0
za flag
iface eth0 inet6 static
  address 2600:3c03:e001:441::1/64  
  address 2600:3c03:e001:441::2/64  
  address 2600:3c03:e001:441::3/64    
  address 2600:3c03:e001:441::4/64  
  gateway fe80::1 

and so on....

djdomi avatar
za flag
Address can be used as often as you want
djdomi avatar
za flag
@hourman It would be very nice if you could accept my offered answer
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.