Monday, July 4, 2016

networking - Adding an ipv6 range with dual stack




I have a range of ipv6 addresses available (native) and want to use them. I 've setup the kernel to support ipv6 and installed the necessary tools (iproute2 etc).



I am having a problem understanding how to actually add the range for the server to use it. Do I have to configure each one separately or is it possible to add the whole range?



Also, after I recompile the programs to support ipv6 (Gentoo), is there an expected strategy on which ip they 'll be using for outgoing connections (assuming the other end is ipv6 enabled)? Is it random, is it the first one, is it something entirely different?


Answer



You have to add each IP address you want to use manually. When applications talk over IPv6, by default they use the last address assigned unless bound to a specific port (which is application-specific).


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...