Assign Entire IPV6 /64 Subnet to Network Interface [duplicate]

So i just purchased a linux (centos) server with /64 IPV6 subnet. I want to use these IP’s for outgoing requests especially.

How on earth can we add that many IP addresses to the network interface? Are there any workarounds for this?

Answer

Assigning those IP-addresses is easy, you can do it with something like:

ip addr add 2001:4860:4860:abcd::/64 dev eth0

However, choosing which one will be used for outgoing connection is another problem, which doesn’t have that simple solution, tough i’d try that nice loader first

Attribution
Source : Link , Question Author : user3284667 , Answer Author : Community

Leave a Comment