Saturday, February 21, 2015

Assign /112 IPv6 range to OpenVZ VPS



I have a /48 IPv6 and would like to chop these up into /112's that I can assign to my VPSes.
I know how to assign them manually, e.g.




vzctl set 1 --ipadd ipv6IP --save


But how could I assign, for example, a full /112 at once?


Answer



Use veth. In VE:



/sbin/ip -6 addr add IPv6_ADDR/112 dev eth0


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...