Using GRE tunnel to add 2nd IP to OpenVZ container on Kimsufi? One to one NAT? Thx!
All IP's have been changed to random but consistent values for obvious reasons...
I would like to add a 2nd IP address to my kimsufi server and assign it to an openvz container for testing projects. I've already got it working NAT'ing from internal OpenVZ container IP's to Kimsufi's external IP, but I would like to give the OpenVZ container a dedicated IP!
I've renewed the kimsufi for a long time, so it's not feasible to buy a different server considering the space needed and my budget is low. I've been putting different projects in different containers on my Kimsufi server. My Kimsufi has the main IP 188.8.131.52.
I've got a very cheap KVM VPS in the same datacenter but different provider with 2 IP's available, 184.108.40.206 is the main IP and 220.127.116.11 is the 2nd IP. The 2nd IP is directly routed to my container.
I've setup a GRE tunnel between the Kimsufi (192.168.0.2/16) and KVM VPS (192.168.0.2/16), how can I route the 2nd IP over the GRE tunnel and use it on the OpenVZ container?
I'm not using any control panel to make it more difficult, just vzctl commands.
KVM VPS: http://paste.debian.net/plainh/06c074f7
Thank you for reading and I hope someone here has advice on this!